| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 2e7dcfe9e34a1ac0dace836a6025a2d4d3d105e7..716e17b34f304bb53bbe5cdeac55350b14e8005e 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2451,8 +2451,6 @@
|
| Node* result = graph()->NewNode(jsgraph()->common()->Call(desc), stub_code,
|
| node, context, *effect_, *control_);
|
|
|
| - SetSourcePosition(result, 1);
|
| -
|
| *effect_ = result;
|
|
|
| return result;
|
| @@ -2852,7 +2850,6 @@
|
| }
|
|
|
| *effect_ = call;
|
| - SetSourcePosition(call, 0);
|
|
|
| // Convert the return value back.
|
| Node* i32_zero = jsgraph()->Int32Constant(0);
|
| @@ -3327,8 +3324,7 @@
|
| Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, Handle<JSReceiver> target,
|
| wasm::FunctionSig* sig, uint32_t index,
|
| Handle<String> module_name,
|
| - MaybeHandle<String> import_name,
|
| - wasm::ModuleOrigin origin) {
|
| + MaybeHandle<String> import_name) {
|
| //----------------------------------------------------------------------------
|
| // Create the Graph
|
| //----------------------------------------------------------------------------
|
| @@ -3341,11 +3337,7 @@
|
| Node* control = nullptr;
|
| Node* effect = nullptr;
|
|
|
| - SourcePositionTable* source_position_table =
|
| - origin == wasm::kAsmJsOrigin ? new (&zone) SourcePositionTable(&graph)
|
| - : nullptr;
|
| -
|
| - WasmGraphBuilder builder(&zone, &jsgraph, sig, source_position_table);
|
| + WasmGraphBuilder builder(&zone, &jsgraph, sig);
|
| builder.set_control_ptr(&control);
|
| builder.set_effect_ptr(&effect);
|
| builder.BuildWasmToJSWrapper(target, sig);
|
| @@ -3381,8 +3373,7 @@
|
| }
|
|
|
| CompilationInfo info(func_name, isolate, &zone, flags);
|
| - code = Pipeline::GenerateCodeForTesting(&info, incoming, &graph, nullptr,
|
| - source_position_table);
|
| + code = Pipeline::GenerateCodeForTesting(&info, incoming, &graph, nullptr);
|
| #ifdef ENABLE_DISASSEMBLER
|
| if (FLAG_print_opt_code && !code.is_null()) {
|
| OFStream os(stdout);
|
|
|