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

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

Issue 11572011: Add more super-invocation InvocationMirror tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test failure to dart2js expectations Created 8 years 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 | « no previous file | tests/language/invocation_mirror_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
index 4e1199ef618de9a2176888f4810b6e063e8bc11c..6c5fd66438efe06f4d61e81d699145d7af9b1d5c 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -3157,7 +3157,9 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
compiler.findHelper(Compiler.CREATE_INVOCATION_MIRROR);
var arguments = new List<HInstruction>();
- addGenericSendArgumentsToList(node.arguments, arguments);
+ if (node.argumentsNode != null) {
+ addGenericSendArgumentsToList(node.arguments, arguments);
+ }
var argumentsInstruction = new HLiteralList(arguments);
add(argumentsInstruction);
« no previous file with comments | « no previous file | tests/language/invocation_mirror_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698