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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart

Issue 480513003: dart2js: Fix static initializer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file. Created 6 years, 4 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 | « no previous file | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
index 800b63e0b51861620a6eb18834f80125470bf64d..1d1df634d3e12ede4036e58eaaf97be152ef3fa6 100644
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
@@ -597,8 +597,7 @@ class CodeEmitterTask extends CompilerTask {
// Use try-finally, not try-catch/throw as it destroys the
// stack trace.
if (result === sentinelUndefined)
- if ($isolate[fieldName] === sentinelInProgress)
- $isolate[fieldName] = null;
+ $isolate[fieldName] = null;
}
} else {
if (result === sentinelInProgress)
@@ -1336,7 +1335,7 @@ class CodeEmitterTask extends CompilerTask {
for (OutputUnit outputUnit in compiler.deferredLoadTask.allOutputUnits) {
if (!descriptors.containsKey(outputUnit)) continue;
-
+
ClassBuilder descriptor = descriptors[outputUnit];
jsAst.Fun metadata = metadataEmitter.buildMetadataFunction(library);
« no previous file with comments | « no previous file | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698