Index: src/runtime/runtime-wasm.cc |
diff --git a/src/runtime/runtime-wasm.cc b/src/runtime/runtime-wasm.cc |
index ab69046c457255e8f44974fa4798370b5b31cefd..1881fbfb7fd1776c3c3b85a22f47de5956747270 100644 |
--- a/src/runtime/runtime-wasm.cc |
+++ b/src/runtime/runtime-wasm.cc |
@@ -57,7 +57,7 @@ RUNTIME_FUNCTION(Runtime_WasmGrowMemory) { |
module_instance = handle(JSObject::cast(owning_instance), isolate); |
} |
return *isolate->factory()->NewNumberFromInt( |
- wasm::GrowInstanceMemory(isolate, module_instance, delta_pages)); |
+ wasm::GrowMemory(isolate, module_instance, delta_pages)); |
} |
RUNTIME_FUNCTION(Runtime_WasmThrowTypeError) { |