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

Unified Diff: frog/leg/ssa/builder.dart

Issue 9414010: Allow method-calls to getters (assuming they contain closures). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and update status file. Created 8 years, 10 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 | « frog/leg/resolver.dart ('k') | frog/tests/leg_only/src/Closure5Test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/ssa/builder.dart
diff --git a/frog/leg/ssa/builder.dart b/frog/leg/ssa/builder.dart
index 11b6ef20b360fcebf33a6cca4bd45e0f3be57d82..500dfdb4464393c83e56761a33861b2eeacee285 100644
--- a/frog/leg/ssa/builder.dart
+++ b/frog/leg/ssa/builder.dart
@@ -1242,7 +1242,7 @@ class SsaBuilder implements Visitor {
if (element.kind == ElementKind.GETTER) {
push(new HInvokeStatic(selector, <HInstruction>[pop()]));
}
- } else if (element === null || Elements.isInstanceField(element)) {
+ } else if (Elements.isInstanceSend(send, elements)) {
HInstruction receiver;
if (send.receiver == null) {
receiver = localsHandler.readThis();
« no previous file with comments | « frog/leg/resolver.dart ('k') | frog/tests/leg_only/src/Closure5Test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698