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

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

Issue 9193016: Add the arity to calls, and support noSuchMethodException. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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/namer.dart ('k') | frog/leg/ssa/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/ssa/builder.dart
===================================================================
--- frog/leg/ssa/builder.dart (revision 3539)
+++ frog/leg/ssa/builder.dart (working copy)
@@ -528,10 +528,9 @@
FunctionElement element = elements[node];
ClassElement globalizedClosureElement =
new ClassElement(const SourceString("Closure"), null);
- String callName = compiler.namer.closureInvocationName();
Modifiers modifiers = new Modifiers.empty();
FunctionElement callElement =
- new FunctionElement(new SourceString(callName),
+ new FunctionElement(Namer.CLOSURE_INVOCATION_NAME,
ElementKind.FUNCTION,
modifiers,
globalizedClosureElement,
« no previous file with comments | « frog/leg/namer.dart ('k') | frog/leg/ssa/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698