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); |
|
ngeoffray
2013/11/20 14:55:27
I wouldn't put those helpers here. If someone want
lukas
2013/11/20 15:13:26
It was suggested by Kasper:
https://codereview.chr
|
| + IrNode irNode(Compiler compiler); |
| + |
| bool isFunction(); |
| bool isConstructor(); |
| bool isClosure(); |