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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 23482004: Evaluates arguments before throwing a NoSuchMethodError in constructor (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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: runtime/vm/flow_graph_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 26748)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -359,7 +359,15 @@
StaticCallInstr* BuildThrowNoSuchMethodError(intptr_t token_pos,
const Class& function_class,
const String& function_name,
+ ArgumentListNode* actuals,
regis 2013/08/28 21:10:54 If we emulate the naming convention used by BuildS
zra 2013/08/28 22:47:00 Done.
int invocation_type);
+ StaticCallInstr* BuildThrowNoSuchMethodError(intptr_t token_pos,
+ const Class& function_class,
+ const String& function_name,
+ int invocation_type) {
+ return BuildThrowNoSuchMethodError(
+ token_pos, function_class, function_name, NULL, invocation_type);
regis 2013/08/28 21:10:54 Overriding is not encouraged. Why not make it clea
zra 2013/08/28 22:47:00 Done.
+ }
void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed);
Definition* BuildStoreStaticField(StoreStaticFieldNode* node,

Powered by Google App Engine
This is Rietveld 408576698