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 8b677370959e720fb852d128ce769735e4e52508..60f762b98aa08a154a58dec7884e2d9e9bf2a0f3 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -310,11 +310,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
// Emit loads which will be transformed to Ldr equivalents by the peephole |
// optimizer. |
- builder.LoadNamedProperty(reg, name, 0) |
- .StoreAccumulatorInRegister(reg) |
- .LoadKeyedProperty(reg, 0) |
- .StoreAccumulatorInRegister(reg) |
- .LoadContextSlot(reg, 1, 0) |
+ builder.LoadContextSlot(reg, 1, 0) |
.StoreAccumulatorInRegister(reg) |
.LoadContextSlot(Register::current_context(), 1, 0) |
.StoreAccumulatorInRegister(reg) |
@@ -396,8 +392,6 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
if (!FLAG_ignition_peephole) { |
// Insert entries for bytecodes only emitted by peephole optimizer. |
- scorecard[Bytecodes::ToByte(Bytecode::kLdrNamedProperty)] = 1; |
- scorecard[Bytecodes::ToByte(Bytecode::kLdrKeyedProperty)] = 1; |
scorecard[Bytecodes::ToByte(Bytecode::kLdrGlobal)] = 1; |
scorecard[Bytecodes::ToByte(Bytecode::kLdrContextSlot)] = 1; |
scorecard[Bytecodes::ToByte(Bytecode::kLdrCurrentContextSlot)] = 1; |