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

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

Issue 9572041: Changes to make leg build bots green (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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
« no previous file with comments | « dart/frog/leg/resolver.dart ('k') | dart/frog/leg/ssa/types.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/ssa/bailout.dart
diff --git a/dart/frog/leg/ssa/bailout.dart b/dart/frog/leg/ssa/bailout.dart
index defa220cf0416a68d52f43a90f9487961bf87c02..c1294d87e9c75e96fd17d1639e81a149e801ce71 100644
--- a/dart/frog/leg/ssa/bailout.dart
+++ b/dart/frog/leg/ssa/bailout.dart
@@ -222,7 +222,9 @@ class SsaEnvironmentBuilder extends HBaseVisitor {
* Visits the graph and replaces guards with guards that capture the
* environment.
*/
-class SsaTypeGuardBuilder extends SsaEnvironmentBuilder {
+class SsaTypeGuardBuilder extends SsaEnvironmentBuilder implements OptimizationPhase {
+
+ final String name = 'SsaTypeGuardBuilder';
SsaTypeGuardBuilder(Compiler compiler) : super(compiler);
@@ -260,8 +262,9 @@ class SsaTypeGuardBuilder extends SsaEnvironmentBuilder {
* Visits the graph and inserts [HBailoutTarget] instructions where
* the optimized version had [HTypeGuard] instructions.
*/
-class SsaBailoutBuilder extends SsaEnvironmentBuilder {
+class SsaBailoutBuilder extends SsaEnvironmentBuilder implements OptimizationPhase {
final Map<int, BailoutInfo> bailouts;
+ final String name = 'SsaBailoutBuilder';
SsaBailoutBuilder(Compiler compiler, this.bailouts) : super(compiler);
« no previous file with comments | « dart/frog/leg/resolver.dart ('k') | dart/frog/leg/ssa/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698