Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| index 6e9281c6ca91143dda11ba806711a28ac464f9a0..f31411e0548776d60c6ba80d886e5aaf570eebcf 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| @@ -28,6 +28,8 @@ import '../scanner/scannerlib.dart' show Token, |
| isUserDefinableOperator, |
| isMinusOperator; |
| +import '../ir/ir_nodes.dart' show IrNode; |
| + |
| const int STATE_NOT_STARTED = 0; |
| const int STATE_STARTED = 1; |
| const int STATE_DONE = 2; |
| @@ -178,6 +180,9 @@ abstract class Element implements Spannable { |
| Node parseNode(DiagnosticListener listener); |
| DartType computeType(Compiler compiler); |
| + bool hasIrNode(Compiler compiler); |
|
karlklose
2013/11/22 12:36:11
How about moving these two methods out of the elem
lukas
2013/11/22 16:33:03
I initially added them on Kasper's suggestion (htt
|
| + IrNode irNode(Compiler compiler); |
| + |
| bool isFunction(); |
| bool isConstructor(); |
| bool isClosure(); |