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

Unified Diff: frog/leg/ssa/nodes.dart

Issue 9668029: Fix a long-standing bug in the computation of the live environments for bailouts. When visiting a l… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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
Index: frog/leg/ssa/nodes.dart
===================================================================
--- frog/leg/ssa/nodes.dart (revision 5281)
+++ frog/leg/ssa/nodes.dart (working copy)
@@ -398,7 +398,7 @@
}
}
-class HBasicBlock extends HInstructionList {
+class HBasicBlock extends HInstructionList implements Hashable {
// The [id] must be such that any successor's id is greater than
// this [id]. The exception are back-edges.
int id;
@@ -432,6 +432,8 @@
dominatedBlocks = <HBasicBlock>[],
bailouts = <HBailoutTarget>[];
+ int hashCode() => id;
+
bool isNew() => status == STATUS_NEW;
bool isOpen() => status == STATUS_OPEN;
bool isClosed() => status == STATUS_CLOSED;

Powered by Google App Engine
This is Rietveld 408576698