| Index: src/wasm/wasm-module.h
|
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
|
| index 4092958367b76a641c888fcdc02ed95b07cfc68c..6fe5f18a656e1e5c675476f3b24e18b2e89858c3 100644
|
| --- a/src/wasm/wasm-module.h
|
| +++ b/src/wasm/wasm-module.h
|
| @@ -36,6 +36,11 @@ const uint32_t kWasmVersion = 0x0d;
|
| const uint8_t kWasmFunctionTypeForm = 0x60;
|
| const uint8_t kWasmAnyFunctionTypeForm = 0x70;
|
|
|
| +const uint64_t kWasmMaxHeapOffset =
|
| + static_cast<uint64_t>(
|
| + std::numeric_limits<uint32_t>::max()) // maximum base value
|
| + + std::numeric_limits<uint32_t>::max(); // maximum index value
|
| +
|
| enum WasmSectionCode {
|
| kUnknownSectionCode = 0, // code for unknown sections
|
| kTypeSectionCode = 1, // Function signature declarations
|
| @@ -561,6 +566,9 @@ int32_t GetInstanceMemorySize(Isolate* isolate, Handle<JSObject> instance);
|
| int32_t GrowInstanceMemory(Isolate* isolate, Handle<JSObject> instance,
|
| uint32_t pages);
|
|
|
| +Handle<JSArrayBuffer> NewArrayBuffer(Isolate* isolate, size_t size,
|
| + bool enable_guard_regions);
|
| +
|
| void UpdateDispatchTables(Isolate* isolate, Handle<FixedArray> dispatch_tables,
|
| int index, Handle<JSFunction> js_function);
|
|
|
|
|