Index: src/runtime/runtime-wasm.cc |
diff --git a/src/runtime/runtime-wasm.cc b/src/runtime/runtime-wasm.cc |
index 310e98a28c27b029bfc8fd11f2e3bf77deaeabf6..0a0b3eff70f8c26544852e8bf085dfe7ea8f52f2 100644 |
--- a/src/runtime/runtime-wasm.cc |
+++ b/src/runtime/runtime-wasm.cc |
@@ -58,7 +58,7 @@ RUNTIME_FUNCTION(Runtime_WasmGrowMemory) { |
instance = handle(owning_instance, isolate); |
} |
return *isolate->factory()->NewNumberFromInt( |
- wasm::GrowInstanceMemory(isolate, instance, delta_pages)); |
+ wasm::GrowMemory(isolate, instance, delta_pages)); |
} |
RUNTIME_FUNCTION(Runtime_WasmThrowTypeError) { |