summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/BuiltinsWebAssembly.def
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2016-05-02 17:26:19 +0000
committerDerek Schuff <dschuff@google.com>2016-05-02 17:26:19 +0000
commit4f7d65a7a24a26018f39f4e1143ead64d95559fc (patch)
treef912927e6bbee743da5368703cba0bb3a173d884 /include/clang/Basic/BuiltinsWebAssembly.def
parenta10fe99ac8f5f63a9ec2227c9c20b6a28de9785e (diff)
[WebAssembly] Rename memory_size intrinsic to current_memory
This follows the recent change in the wasm spec. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsWebAssembly.def')
-rw-r--r--include/clang/Basic/BuiltinsWebAssembly.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/BuiltinsWebAssembly.def b/include/clang/Basic/BuiltinsWebAssembly.def
index 975433523a..97b59a1fd8 100644
--- a/include/clang/Basic/BuiltinsWebAssembly.def
+++ b/include/clang/Basic/BuiltinsWebAssembly.def
@@ -16,9 +16,9 @@
// The format of this database matches clang/Basic/Builtins.def.
-// Note that memory_size is not "c" (readnone) because it must be sequenced with
+// Note that current_memory is not "c" (readnone) because it must be sequenced with
// respect to grow_memory calls.
-BUILTIN(__builtin_wasm_memory_size, "z", "n")
+BUILTIN(__builtin_wasm_current_memory, "z", "n")
BUILTIN(__builtin_wasm_grow_memory, "vz", "n")
#undef BUILTIN