Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 22579) |
| +++ runtime/vm/object.h (working copy) |
| @@ -334,6 +334,16 @@ |
| return *snapshot_writer_error_; |
| } |
| + // Compiler's constant propagation constants. |
| + static const Instance& unknown_constant() { |
| + ASSERT(unknown_constant_ != NULL); |
| + return *unknown_constant_; |
| + } |
| + static const Instance& non_constant() { |
| + ASSERT(non_constant_ != NULL); |
| + return *non_constant_; |
| + } |
|
siva
2013/05/10 20:13:35
Can you move this new block to just below transiti
srdjan
2013/05/10 21:03:04
Done.
|
| + |
| static RawClass* class_class() { return class_class_; } |
| static RawClass* null_class() { return null_class_; } |
| static RawClass* dynamic_class() { return dynamic_class_; } |
| @@ -523,6 +533,8 @@ |
| static Array* empty_array_; |
| static Instance* sentinel_; |
| static Instance* transition_sentinel_; |
| + static Instance* unknown_constant_; |
| + static Instance* non_constant_; |
| static Bool* bool_true_; |
| static Bool* bool_false_; |
| static LanguageError* snapshot_writer_error_; |