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 ba420f75ac87f332e77d1d8df1eabb2645bf3afe..57ce6908327f5c71d76f2a45fa2d381788ece7af 100644 |
--- a/test/unittests/compiler/instruction-selector-unittest.cc |
+++ b/test/unittests/compiler/instruction-selector-unittest.cc |
@@ -37,7 +37,9 @@ InstructionSelectorTest::Stream InstructionSelectorTest::StreamBuilder::Build( |
EXPECT_NE(0, graph()->NodeCount()); |
int initial_node_count = graph()->NodeCount(); |
Linkage linkage(test_->zone(), call_descriptor()); |
- InstructionSequence sequence(test_->zone(), schedule); |
+ InstructionBlocks* instruction_blocks = |
+ InstructionSequence::InstructionBlocksFor(test_->zone(), schedule); |
+ InstructionSequence sequence(test_->zone(), instruction_blocks); |
SourcePositionTable source_position_table(graph()); |
InstructionSelector selector(test_->zone(), graph(), &linkage, &sequence, |
schedule, &source_position_table, features); |