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

Unified Diff: sdk/lib/_internal/compiler/implementation/compile_time_constants.dart

Issue 11304021: Add NativeEnqueuer to work with the Enqueuer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review fixes Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
index 62bfa821fed27476c60e33ac971f777ebdcbd008..5805875abbce5d8e06d808b5c8522edcdc896f26 100644
--- a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
+++ b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
@@ -251,7 +251,7 @@ class CompileTimeConstantEvaluator extends Visitor {
this.elements,
this.compiler,
{bool isConst})
- : this.isEvaluatingConstant = isConst;
+ : this.isEvaluatingConstant = isConst == null ? false : isConst;
Constant evaluate(Node node) {
return node.accept(this);

Powered by Google App Engine
This is Rietveld 408576698