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

Unified Diff: lib/compiler/implementation/compiler.dart

Issue 10539156: Track fields which are known to be always set to integer constants (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comment and addressed initializers Created 8 years, 6 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: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index afc6146a8de6b700c1aabf4723fd20e30cc94d49..7419bb571192c5a38e5236e685c29599d4abf5b6 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -455,6 +455,7 @@ class Compiler implements DiagnosticListener {
WorkItem work = world.recompilationCandidates.next();
var oldCode = world.universe.generatedCode[work.element];
world.universe.generatedCode.remove(work.element);
+ world.universe.generatedBailoutCode.remove(work.element);
withCurrentElement(work.element, () => work.run(this, world));
var newCode = world.universe.generatedCode[work.element];
if (REPORT_PASS2_OPTIMIZATIONS && newCode != oldCode) {
« no previous file with comments | « no previous file | lib/compiler/implementation/enqueue.dart » ('j') | lib/compiler/implementation/ssa/optimize.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698