Index: test/unittests/compiler/instruction-selector-unittest.cc |
diff --git a/test/unittests/compiler/instruction-selector-unittest.cc b/test/unittests/compiler/instruction-selector-unittest.cc |
index 936a94ee6b60ec569a48903c5f8e6c409fdf6f15..d2953159fc5adf47763db98bf194f50484e214bf 100644 |
--- a/test/unittests/compiler/instruction-selector-unittest.cc |
+++ b/test/unittests/compiler/instruction-selector-unittest.cc |
@@ -102,9 +102,9 @@ InstructionSelectorTest::Stream InstructionSelectorTest::StreamBuilder::Build( |
s.references_.insert(virtual_register); |
} |
} |
- for (int i = 0; i < sequence.GetFrameStateDescriptorCount(); i++) { |
- s.deoptimization_entries_.push_back(sequence.GetFrameStateDescriptor( |
- InstructionSequence::StateId::FromInt(i))); |
+ for (int i = 0; i < sequence.GetDeoptimizationEntryCount(); i++) { |
+ s.deoptimization_entries_.push_back( |
+ sequence.GetDeoptimizationEntry(i).descriptor()); |
} |
return s; |
} |