OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.function_codegen; | 5 library fletchc.function_codegen; |
6 | 6 |
7 import 'package:compiler/src/resolution/tree_elements.dart' show | 7 import 'package:compiler/src/resolution/tree_elements.dart' show |
8 TreeElements; | 8 TreeElements; |
9 | 9 |
10 import 'package:compiler/src/elements/elements.dart'; | 10 import 'package:compiler/src/elements/elements.dart'; |
11 import 'package:compiler/src/tree/tree.dart'; | 11 import 'package:compiler/src/tree/tree.dart'; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 } | 125 } |
126 } | 126 } |
127 | 127 |
128 void optionalReplaceResultValue() { | 128 void optionalReplaceResultValue() { |
129 if (hasAssignmentSemantics) { | 129 if (hasAssignmentSemantics) { |
130 assembler.pop(); | 130 assembler.pop(); |
131 assembler.loadSlot(setterResultSlot); | 131 assembler.loadSlot(setterResultSlot); |
132 } | 132 } |
133 } | 133 } |
134 } | 134 } |
OLD | NEW |