Index: runtime/vm/intermediate_language_test.cc |
diff --git a/runtime/vm/intermediate_language_test.cc b/runtime/vm/intermediate_language_test.cc |
index 809a5ed761baf98f8028fb0b6811628c8f6c1cf6..1b571acb71dc16eb44f7bc6e8d861dcdfa6c5bb3 100644 |
--- a/runtime/vm/intermediate_language_test.cc |
+++ b/runtime/vm/intermediate_language_test.cc |
@@ -20,8 +20,11 @@ TEST_CASE(InstructionTests) { |
TEST_CASE(OptimizationTests) { |
- Definition* def1 = new PhiInstr(0); |
- Definition* def2 = new PhiInstr(0); |
+ JoinEntryInstr* join = |
+ new JoinEntryInstr(CatchClauseNode::kInvalidTryIndex); |
+ |
+ Definition* def1 = new PhiInstr(join, 0); |
+ Definition* def2 = new PhiInstr(join, 0); |
Value* use1a = new Value(def1); |
Value* use1b = new Value(def1); |
EXPECT(use1a->Equals(use1b)); |