aboutsummaryrefslogtreecommitdiff
path: root/clang/include
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2019-01-14 18:28:10 +0000
committerDan Gohman <dan433584@gmail.com>2019-01-14 18:28:10 +0000
commit51532a524edc9ab54475c122166fbfd30b7c792d (patch)
tree821463e77ad4085f4ef9fbe2c0f8cff476e75e55 /clang/include
parentff0368a35967771e6aacbbb1a822d8dff894caec (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.def8
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")