Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: runtime/vm/intermediate_language_test.cc

Issue 10939036: A simpler scheme for garbage collection of ureachable phi inputs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix bug when multiple predecessors are unreachable. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« runtime/vm/flow_graph_builder.cc ('K') | « runtime/vm/intermediate_language.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_test.cc
diff --git a/runtime/vm/intermediate_language_test.cc b/runtime/vm/intermediate_language_test.cc
index 71b48fb97bd7de29f5db59bfb72f527e4c6c131b..cc02c038decb8f2133e142905db13e562cfa9ace 100644
--- a/runtime/vm/intermediate_language_test.cc
+++ b/runtime/vm/intermediate_language_test.cc
@@ -9,7 +9,7 @@ namespace dart {
TEST_CASE(InstructionTests) {
TargetEntryInstr* target_instr =
- new TargetEntryInstr(CatchClauseNode::kInvalidTryIndex);
+ new TargetEntryInstr(1, CatchClauseNode::kInvalidTryIndex);
EXPECT(target_instr->IsBlockEntry());
EXPECT(!target_instr->IsDefinition());
CurrentContextInstr* context = new CurrentContextInstr();
@@ -20,7 +20,7 @@ TEST_CASE(InstructionTests) {
TEST_CASE(OptimizationTests) {
JoinEntryInstr* join =
- new JoinEntryInstr(CatchClauseNode::kInvalidTryIndex);
+ new JoinEntryInstr(1, CatchClauseNode::kInvalidTryIndex);
Definition* def1 = new PhiInstr(join, 0);
Definition* def2 = new PhiInstr(join, 0);
« runtime/vm/flow_graph_builder.cc ('K') | « runtime/vm/intermediate_language.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698