Index: test/unittests/compiler/bytecode-graph-builder-unittest.cc |
diff --git a/test/unittests/compiler/bytecode-graph-builder-unittest.cc b/test/unittests/compiler/bytecode-graph-builder-unittest.cc |
index 22b9b893e85fce619e26c998c842b3f69c89fa29..2db178724d2d0d25c4429c98cddd7a9dd0a25feb 100644 |
--- a/test/unittests/compiler/bytecode-graph-builder-unittest.cc |
+++ b/test/unittests/compiler/bytecode-graph-builder-unittest.cc |
@@ -207,7 +207,8 @@ TEST_F(BytecodeGraphBuilderTest, SimpleExpressionWithParameters) { |
array_builder()->set_parameter_count(3); |
array_builder() |
->LoadAccumulatorWithRegister(array_builder()->Parameter(1)) |
- .BinaryOperation(Token::Value::ADD, array_builder()->Parameter(2)) |
+ .BinaryOperation(Token::Value::ADD, array_builder()->Parameter(2), |
+ Strength::WEAK) |
.StoreAccumulatorInRegister(interpreter::Register(0)) |
.Return(); |
@@ -231,7 +232,8 @@ TEST_F(BytecodeGraphBuilderTest, SimpleExpressionWithRegister) { |
->LoadLiteral(Smi::FromInt(kLeft)) |
.StoreAccumulatorInRegister(interpreter::Register(0)) |
.LoadLiteral(Smi::FromInt(kRight)) |
- .BinaryOperation(Token::Value::ADD, interpreter::Register(0)) |
+ .BinaryOperation(Token::Value::ADD, interpreter::Register(0), |
+ Strength::WEAK) |
.Return(); |
Graph* graph = GetCompletedGraph(); |