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