| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 7330c0448faa9d47028039ae809b2ce46accb7f8..59c9990e7d7e7e2a6837faf086e4e700bc384d13 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2785,16 +2785,8 @@ void WasmGraphBuilder::BuildWasmToJSWrapper(Handle<JSReceiver> target,
|
| FromJS(call, HeapConstant(isolate->native_context()),
|
| sig->return_count() == 0 ? wasm::kAstStmt : sig->GetReturn());
|
| Node* pop_size = jsgraph()->Int32Constant(0);
|
| - if (jsgraph()->machine()->Is32() && sig->return_count() > 0 &&
|
| - sig->GetReturn() == wasm::kAstI64) {
|
| - ret = graph()->NewNode(jsgraph()->common()->Return(), pop_size, val,
|
| - graph()->NewNode(jsgraph()->machine()->Word32Sar(),
|
| - val, jsgraph()->Int32Constant(31)),
|
| - call, start);
|
| - } else {
|
| ret = graph()->NewNode(jsgraph()->common()->Return(), pop_size, val, call,
|
| start);
|
| - }
|
|
|
| MergeControlToEnd(jsgraph(), ret);
|
| }
|
|
|