Index: src/wasm/wasm-js.cc |
diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc |
index 2717461175f219e8c56ce2c6736bbd8eda7f5231..3bfe160581c6b431a14f40cbff6f2fe8b7ab7c2c 100644 |
--- a/src/wasm/wasm-js.cc |
+++ b/src/wasm/wasm-js.cc |
@@ -609,8 +609,7 @@ void WebAssemblyTableGrow(const v8::FunctionCallbackInfo<v8::Value>& args) { |
} |
int new_size = static_cast<int>(new_size64); |
- i::WasmTableObject::Grow(i_isolate, receiver, |
- static_cast<uint32_t>(new_size - old_size)); |
+ receiver->grow(i_isolate, static_cast<uint32_t>(new_size - old_size)); |
if (new_size != old_size) { |
i::Handle<i::FixedArray> new_array = |