Chromium Code Reviews| Index: lib/compiler/implementation/constant_system.dart |
| =================================================================== |
| --- lib/compiler/implementation/constant_system.dart (revision 12329) |
| +++ lib/compiler/implementation/constant_system.dart (working copy) |
| @@ -50,6 +50,7 @@ |
| Constant createString(DartString string, Node diagnosticNode); |
| Constant createBool(bool value); |
| Constant createNull(); |
| + bool isSubtype(Compiler compiler, DartType s, DartType t); |
|
kasperl
2012/09/14 05:53:34
Add a comment that explains why the constant syste
ngeoffray
2012/09/14 09:44:56
Done.
|
| /** Returns true if the [constant] is an integer at runtime. */ |
| bool isInt(Constant constant); |