| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index cd2cd81a70d8ad871314334a380ef5f29853fa1b..61505f5fdc2e5bafcf4a67bdcb5deda101a28231 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2904,6 +2904,12 @@ void WasmGraphBuilder::SetSourcePosition(Node* node,
|
| source_position_table_->SetSourcePosition(node, pos);
|
| }
|
|
|
| +Node* WasmGraphBuilder::DefaultS128Value() {
|
| + return graph()->NewNode(jsgraph()->machine()->CreateInt32x4(),
|
| + Int32Constant(0), Int32Constant(0), Int32Constant(0),
|
| + Int32Constant(0));
|
| +}
|
| +
|
| Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode,
|
| const NodeVector& inputs) {
|
| switch (opcode) {
|
| @@ -2911,8 +2917,8 @@ Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode,
|
| return graph()->NewNode(jsgraph()->machine()->Int32x4ExtractLane(),
|
| inputs[0], inputs[1]);
|
| case wasm::kExprI32x4Splat:
|
| - return graph()->NewNode(jsgraph()->machine()->Int32x4ExtractLane(),
|
| - inputs[0], inputs[0], inputs[0], inputs[0]);
|
| + return graph()->NewNode(jsgraph()->machine()->CreateInt32x4(), inputs[0],
|
| + inputs[0], inputs[0], inputs[0]);
|
| default:
|
| return graph()->NewNode(UnsupportedOpcode(opcode), nullptr);
|
| }
|
|
|