]> granicus.if.org Git - clang/commit
[WebAssembly] Update to the new names for the memory builtin functions.
authorDan Gohman <dan433584@gmail.com>
Fri, 1 Jun 2018 00:05:51 +0000 (00:05 +0000)
committerDan Gohman <dan433584@gmail.com>
Fri, 1 Jun 2018 00:05:51 +0000 (00:05 +0000)
commit8c75735104dd7047ad60ee93559d40485d94156a
treeab0ef53da7e964d13f41da6c6198e0edc5f6b9e6
parentd8cadd200135a319ef1a7ec2b7cabe210cfb3343
[WebAssembly] Update to the new names for the memory builtin functions.

The WebAssembly committee has decided on the names `memory.size` and
`memory.grow` for the memory intrinsics, so update the clang builtin
functions to follow those names, keeping both sets of old names in place
for compatibility.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333712 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsWebAssembly.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-wasm.c