| Index: vm/dart_api_state.h
|
| ===================================================================
|
| --- vm/dart_api_state.h (revision 16591)
|
| +++ vm/dart_api_state.h (working copy)
|
| @@ -610,9 +610,8 @@
|
| if (true_ == NULL) {
|
| DARTSCOPE(Isolate::Current());
|
|
|
| - const Object& true_object = Object::Handle(Bool::True());
|
| true_ = persistent_handles().AllocateHandle();
|
| - true_->set_raw(true_object);
|
| + true_->set_raw(Bool::True());
|
| }
|
| return true_;
|
| }
|
| @@ -620,9 +619,8 @@
|
| if (false_ == NULL) {
|
| DARTSCOPE(Isolate::Current());
|
|
|
| - const Object& false_object = Object::Handle(Bool::False());
|
| false_ = persistent_handles().AllocateHandle();
|
| - false_->set_raw(false_object);
|
| + false_->set_raw(Bool::False());
|
| }
|
| return false_;
|
| }
|
|
|