diff options
author | Derek Schuff <dschuff@google.com> | 2016-05-02 17:26:19 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2016-05-02 17:26:19 +0000 |
commit | dbd24b45933be18b2bc933bea7714695030a6644 (patch) | |
tree | d4b7009882e98c067c3d152927d2d91527f31e8e /clang/include | |
parent | 31680dd832ebfd8baf017fd77db49d8fde13d366 (diff) | |
download | bcm5719-llvm-dbd24b45933be18b2bc933bea7714695030a6644.tar.gz bcm5719-llvm-dbd24b45933be18b2bc933bea7714695030a6644.zip |
[WebAssembly] Rename memory_size intrinsic to current_memory
This follows the recent change in the wasm spec.
llvm-svn: 268256
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/Basic/BuiltinsWebAssembly.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/BuiltinsWebAssembly.def b/clang/include/clang/Basic/BuiltinsWebAssembly.def index 975433523ad..97b59a1fd86 100644 --- a/clang/include/clang/Basic/BuiltinsWebAssembly.def +++ b/clang/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 |