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

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

Issue 10993036: Implement the apply functionality for dart2js and currently just put it in a test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
===================================================================
--- lib/compiler/implementation/ssa/builder.dart (revision 12904)
+++ lib/compiler/implementation/ssa/builder.dart (working copy)
@@ -1332,7 +1332,9 @@
// for us here?
LibraryElement library = body.getLibrary();
Selector selector = new Selector.call(name, library, arity);
- add(new HInvokeDynamicMethod(selector, bodyCallInputs));
+ HInstruction invoke = new HInvokeDynamicMethod(selector, bodyCallInputs);
+ invoke.element = body;
+ add(invoke);
}
close(new HReturn(newObject)).addSuccessor(graph.exit);
return closeFunction();
« no previous file with comments | « no previous file | lib/compiler/implementation/ssa/codegen.dart » ('j') | tests/compiler/dart2js_native/apply_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698