Index: lib/compiler/implementation/ssa/builder.dart |
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart |
index fbffcde651006065b105446665748ec054d53735..5b421d20562271f5cf38b5b9b2ba1c28c0f6b8bf 100644 |
--- a/lib/compiler/implementation/ssa/builder.dart |
+++ b/lib/compiler/implementation/ssa/builder.dart |
@@ -1545,7 +1545,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
} |
void dup() { |
- stack.add(stack.last()); |
+ stack.add(stack.last); |
} |
HInstruction popBoolified() { |
@@ -1573,7 +1573,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
sourceFileLocationForToken(node, node.getEndToken()); |
SourceFileLocation sourceFileLocationForToken(Node node, Token token) { |
- Element element = sourceElementStack.last(); |
+ Element element = sourceElementStack.last; |
// TODO(johnniwinther): remove the 'element.patch' hack. |
if (element is FunctionElement) { |
FunctionElement functionElement = element; |