Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
index 8557d759603f65244dcbbb9c644c162827724798..9db136cfdd99f8cba56f5acb79fa324cfe1ff045 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -394,7 +394,8 @@ TEST_F(BytecodeArrayBuilderTest, Constants) { |
.LoadLiteral(large_smi) |
.LoadLiteral(heap_num_1) |
.LoadLiteral(heap_num_1) |
- .LoadLiteral(heap_num_2_copy); |
+ .LoadLiteral(heap_num_2_copy) |
+ .Return(); |
Handle<BytecodeArray> array = builder.ToBytecodeArray(); |
// Should only have one entry for each identical constant. |