summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/BuiltinsWebAssembly.def
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
commit5a6ef118f66512bd7b137f5a9cf7409627477642 (patch)
tree4d6aa9ba2ea86a735285893cf0eae7802fe859a5 /include/clang/Basic/BuiltinsWebAssembly.def
parentc6a5263b387d46d6fe58dade2d3325de951b094a (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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsWebAssembly.def')
-rw-r--r--include/clang/Basic/BuiltinsWebAssembly.def8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/clang/Basic/BuiltinsWebAssembly.def b/include/clang/Basic/BuiltinsWebAssembly.def
index 7b201dbf0e..55931edc5c 100644
--- a/include/clang/Basic/BuiltinsWebAssembly.def
+++ b/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")