summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/BuiltinsWebAssembly.def
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-11-05 20:16:37 +0000
committerDan Gohman <dan433584@gmail.com>2015-11-05 20:16:37 +0000
commitf8c49657e44ac6b04664fca5e3192c2227ad537a (patch)
tree7099a790569ed32a1b06cc817a76a93e64326e1c /include/clang/Basic/BuiltinsWebAssembly.def
parent57c6d436f03e0e49b073bdd42ef271d8ff027113 (diff)
[WebAssembly] Update wasm builtin functions to match spec changes.
The page_size operator has been removed from the spec, and the resize_memory operator has been changed to grow_memory. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252201 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsWebAssembly.def')
-rw-r--r--include/clang/Basic/BuiltinsWebAssembly.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/BuiltinsWebAssembly.def b/include/clang/Basic/BuiltinsWebAssembly.def
index 2f48d5d2b1..58171c8067 100644
--- a/include/clang/Basic/BuiltinsWebAssembly.def
+++ b/include/clang/Basic/BuiltinsWebAssembly.def
@@ -16,8 +16,7 @@
// The format of this database matches clang/Basic/Builtins.def.
-BUILTIN(__builtin_wasm_page_size, "z", "nc")
BUILTIN(__builtin_wasm_memory_size, "z", "nc")
-BUILTIN(__builtin_wasm_resize_memory, "vz", "n")
+BUILTIN(__builtin_wasm_grow_memory, "vz", "n")
#undef BUILTIN