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

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

Issue 10996062: Use static final empty Modifier instead of null. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Missing uses fixed. Created 8 years, 3 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/ssa/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index 5e58525d4889c828a1975eb61779ab63eb1b4e5c..e2b17147055617eeabdfe61f0faf0944a0664439 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -915,7 +915,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
assert(invariant(functionElement, functionElement.isImplementation));
FunctionExpression function = functionElement.parseNode(compiler);
assert(function !== null);
- assert(function.modifiers === null || !function.modifiers.isExternal());
+ assert(!function.modifiers.isExternal());
assert(elements[function] !== null);
openFunction(functionElement, function);
function.body.accept(this);

Powered by Google App Engine
This is Rietveld 408576698