| Index: src/wasm/wasm-module.cc
|
| diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc
|
| index 28fdb105dc834cd7a0caf8f26657fa4c5970692d..9ec439d4b5192229dea9573907e2236830cc3135 100644
|
| --- a/src/wasm/wasm-module.cc
|
| +++ b/src/wasm/wasm-module.cc
|
| @@ -84,7 +84,6 @@ std::ostream& operator<<(std::ostream& os, const WasmModule& module) {
|
| return os;
|
| }
|
|
|
| -
|
| std::ostream& operator<<(std::ostream& os, const WasmFunction& function) {
|
| os << "WASM function with signature " << *function.sig;
|
|
|
| @@ -221,7 +220,6 @@ size_t AllocateGlobalsOffsets(std::vector<WasmGlobal>& globals) {
|
| return offset;
|
| }
|
|
|
| -
|
| void LoadDataSegments(WasmModule* module, byte* mem_addr, size_t mem_size) {
|
| for (const WasmDataSegment& segment : module->data_segments) {
|
| if (!segment.init) continue;
|
| @@ -235,7 +233,6 @@ void LoadDataSegments(WasmModule* module, byte* mem_addr, size_t mem_size) {
|
| }
|
| }
|
|
|
| -
|
| Handle<FixedArray> BuildFunctionTable(Isolate* isolate, WasmModule* module) {
|
| if (module->function_table.size() == 0) {
|
| return Handle<FixedArray>::null();
|
| @@ -680,7 +677,6 @@ MaybeHandle<JSObject> WasmModule::Instantiate(Isolate* isolate,
|
| return instance.js_object;
|
| }
|
|
|
| -
|
| Handle<Code> ModuleEnv::GetFunctionCode(uint32_t index) {
|
| DCHECK(IsValidFunction(index));
|
| if (linker) return linker->GetFunctionCode(index);
|
| @@ -701,7 +697,6 @@ compiler::CallDescriptor* ModuleEnv::GetCallDescriptor(Zone* zone,
|
| return GetWasmCallDescriptor(zone, function->sig);
|
| }
|
|
|
| -
|
| int32_t CompileAndRunWasmModule(Isolate* isolate, const byte* module_start,
|
| const byte* module_end, bool asm_js) {
|
| HandleScope scope(isolate);
|
| @@ -727,7 +722,6 @@ int32_t CompileAndRunWasmModule(Isolate* isolate, const byte* module_start,
|
| return retval;
|
| }
|
|
|
| -
|
| int32_t CompileAndRunWasmModule(Isolate* isolate, WasmModule* module) {
|
| ErrorThrower thrower(isolate, "CompileAndRunWasmModule");
|
| WasmModuleInstance instance(module);
|
|
|