Chromium Code Reviews| Index: pkg/compiler/lib/src/resolution/send_structure.dart |
| diff --git a/pkg/compiler/lib/src/resolution/send_structure.dart b/pkg/compiler/lib/src/resolution/send_structure.dart |
| index 10ee61498e3ca4efd337e82567a5759981b34f0d..05f886a441542b6af8a518193e7a86cd54be0699 100644 |
| --- a/pkg/compiler/lib/src/resolution/send_structure.dart |
| +++ b/pkg/compiler/lib/src/resolution/send_structure.dart |
| @@ -144,21 +144,27 @@ class InvokeStructure<R, A> implements SendStructure<R, A> { |
| node, |
| semantics.element, |
| node.argumentsNode, |
| - selector, |
| + // TODO(johnniwinther): Store the call selector instead of the |
|
Anders Johnsen
2015/03/13 11:46:37
Call -> Pass
|
| + // selector using the name of the function. |
| + new Selector.callClosureFrom(selector), |
| arg); |
| case AccessKind.LOCAL_VARIABLE: |
| return visitor.visitLocalVariableInvoke( |
| node, |
| semantics.element, |
| node.argumentsNode, |
| - selector, |
| + // TODO(johnniwinther): Store the call selector instead of the |
| + // selector using the name of the variable. |
| + new Selector.callClosureFrom(selector), |
| arg); |
| case AccessKind.PARAMETER: |
| return visitor.visitParameterInvoke( |
| node, |
| semantics.element, |
| node.argumentsNode, |
| - selector, |
| + // TODO(johnniwinther): Store the call selector instead of the |
| + // selector using the name of the parameter. |
| + new Selector.callClosureFrom(selector), |
| arg); |
| case AccessKind.STATIC_FIELD: |
| return visitor.visitStaticFieldInvoke( |