forked from OSchip/llvm-project
[WebAssembly] Remove the "const" attribute from __builtin_wasm_memory_size.
llvm-svn: 253146
This commit is contained in:
parent
03220309e1
commit
ce70b42bce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue