[WebAssembly] Remove the "const" attribute from __builtin_wasm_memory_size.

llvm-svn: 253146
This commit is contained in:
Dan Gohman 2015-11-14 22:57:34 +00:00
parent 03220309e1
commit ce70b42bce
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@
// The format of this database matches clang/Basic/Builtins.def.
BUILTIN(__builtin_wasm_memory_size, "z", "nc")
// Note that memory_size 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_grow_memory, "vz", "n")
#undef BUILTIN