diff options
author | Dan Gohman <dan433584@gmail.com> | 2019-01-14 18:28:10 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2019-01-14 18:28:10 +0000 |
commit | 51532a524edc9ab54475c122166fbfd30b7c792d (patch) | |
tree | 821463e77ad4085f4ef9fbe2c0f8cff476e75e55 /clang/include | |
parent | ff0368a35967771e6aacbbb1a822d8dff894caec (diff) |
[WebAssembly] Remove old builtins
This removes the old grow_memory and mem.grow-style builtins, leaving just
the memory.grow-style builtins.
Differential Revision: https://reviews.llvm.org/D56645
llvm-svn: 351089
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/Basic/BuiltinsWebAssembly.def | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/include/clang/Basic/BuiltinsWebAssembly.def b/clang/include/clang/Basic/BuiltinsWebAssembly.def index 7b201dbf0ec2..55931edc5ca3 100644 --- a/clang/include/clang/Basic/BuiltinsWebAssembly.def +++ b/clang/include/clang/Basic/BuiltinsWebAssembly.def @@ -26,14 +26,6 @@ BUILTIN(__builtin_wasm_memory_size, "zIi", "n") BUILTIN(__builtin_wasm_memory_grow, "zIiz", "n") -// These are the old names. -BUILTIN(__builtin_wasm_mem_size, "zIi", "n") -BUILTIN(__builtin_wasm_mem_grow, "zIiz", "n") - -// These are the old old names. They also lack the immediate field. -BUILTIN(__builtin_wasm_current_memory, "z", "n") -BUILTIN(__builtin_wasm_grow_memory, "zz", "n") - // Floating point min/max BUILTIN(__builtin_wasm_min_f32, "fff", "nc") BUILTIN(__builtin_wasm_max_f32, "fff", "nc") |