Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Side by Side Diff: runtime/vm/isolate.h

Issue 2453463006: Revert "Revert "Recognize and optimize a.runtimeType == b.runtimeType pattern."" (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/jit_optimizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/atomic.h" 10 #include "vm/atomic.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 } 217 }
218 uint64_t terminate_capability() const { return terminate_capability_; } 218 uint64_t terminate_capability() const { return terminate_capability_; }
219 219
220 void SendInternalLibMessage(LibMsgId msg_id, uint64_t capability); 220 void SendInternalLibMessage(LibMsgId msg_id, uint64_t capability);
221 221
222 Heap* heap() const { return heap_; } 222 Heap* heap() const { return heap_; }
223 void set_heap(Heap* value) { heap_ = value; } 223 void set_heap(Heap* value) { heap_ = value; }
224 224
225 ObjectStore* object_store() const { return object_store_; } 225 ObjectStore* object_store() const { return object_store_; }
226 void set_object_store(ObjectStore* value) { object_store_ = value; } 226 void set_object_store(ObjectStore* value) { object_store_ = value; }
227 static intptr_t object_store_offset() {
228 return OFFSET_OF(Isolate, object_store_);
229 }
227 230
228 ApiState* api_state() const { return api_state_; } 231 ApiState* api_state() const { return api_state_; }
229 void set_api_state(ApiState* value) { api_state_ = value; } 232 void set_api_state(ApiState* value) { api_state_ = value; }
230 233
231 void set_init_callback_data(void* value) { 234 void set_init_callback_data(void* value) {
232 init_callback_data_ = value; 235 init_callback_data_ = value;
233 } 236 }
234 void* init_callback_data() const { 237 void* init_callback_data() const {
235 return init_callback_data_; 238 return init_callback_data_;
236 } 239 }
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 intptr_t* spawn_count_; 1026 intptr_t* spawn_count_;
1024 1027
1025 Dart_IsolateFlags isolate_flags_; 1028 Dart_IsolateFlags isolate_flags_;
1026 bool paused_; 1029 bool paused_;
1027 bool errors_are_fatal_; 1030 bool errors_are_fatal_;
1028 }; 1031 };
1029 1032
1030 } // namespace dart 1033 } // namespace dart
1031 1034
1032 #endif // VM_ISOLATE_H_ 1035 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/jit_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698