Index: src/wasm/wasm-objects.cc |
diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc |
index 55882f34a93526b7a160ff4e546e9ad6648e207f..42c2a27ffa6264c65f64dc092a4b228010347a22 100644 |
--- a/src/wasm/wasm-objects.cc |
+++ b/src/wasm/wasm-objects.cc |
@@ -186,6 +186,13 @@ WasmTableObject* WasmTableObject::cast(Object* object) { |
return reinterpret_cast<WasmTableObject*>(object); |
} |
+void WasmTableObject::Grow(Isolate* isolate, Handle<WasmTableObject> table, |
+ uint32_t count) { |
+ Handle<FixedArray> dispatch_tables(table->dispatch_tables()); |
+ wasm::GrowDispatchTables(isolate, dispatch_tables, |
+ table->functions()->length(), count); |
+} |
+ |
Handle<WasmMemoryObject> WasmMemoryObject::New(Isolate* isolate, |
Handle<JSArrayBuffer> buffer, |
int maximum) { |