Index: test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
index 86e8c50f0281d59d4d097e70286acfb716af15bf..18986841f6cff67998650484c2fc3c11dc58bdff 100644 |
--- a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
@@ -37,6 +37,9 @@ |
Register reg_2 = Register::FromParameterIndex(2, builder.parameter_count()); |
int feedback_slot = 97; |
+ // TODO(rmcilroy): Add a test for a bytecode with a short operand when |
+ // the CallRuntime bytecode is landed. |
+ |
builder.LoadLiteral(heap_num_0) |
.LoadLiteral(heap_num_1) |
.LoadLiteral(zero) |
@@ -45,7 +48,6 @@ |
.LoadAccumulatorWithRegister(reg_0) |
.LoadNamedProperty(reg_1, feedback_slot, LanguageMode::SLOPPY) |
.StoreAccumulatorInRegister(reg_2) |
- .CallRuntime(Runtime::kLoadIC_Miss, reg_0, 1) |
.Return(); |
// Test iterator sees the expected output from the builder. |
@@ -90,14 +92,6 @@ |
CHECK(!iterator.done()); |
iterator.Advance(); |
- CHECK_EQ(iterator.current_bytecode(), Bytecode::kCallRuntime); |
- CHECK_EQ(static_cast<Runtime::FunctionId>(iterator.GetIndexOperand(0)), |
- Runtime::kLoadIC_Miss); |
- CHECK_EQ(iterator.GetRegisterOperand(1).index(), reg_0.index()); |
- CHECK_EQ(iterator.GetCountOperand(2), 1); |
- CHECK(!iterator.done()); |
- iterator.Advance(); |
- |
CHECK_EQ(iterator.current_bytecode(), Bytecode::kReturn); |
CHECK(!iterator.done()); |
iterator.Advance(); |