OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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_THREAD_H_ | 5 #ifndef VM_THREAD_H_ |
6 #define VM_THREAD_H_ | 6 #define VM_THREAD_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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 V(RawCode*, fix_allocation_stub_code_, \ | 85 V(RawCode*, fix_allocation_stub_code_, \ |
86 StubCode::FixAllocationStubTarget_entry()->code(), NULL) \ | 86 StubCode::FixAllocationStubTarget_entry()->code(), NULL) \ |
87 V(RawCode*, invoke_dart_code_stub_, \ | 87 V(RawCode*, invoke_dart_code_stub_, \ |
88 StubCode::InvokeDartCode_entry()->code(), NULL) \ | 88 StubCode::InvokeDartCode_entry()->code(), NULL) \ |
89 V(RawCode*, call_to_runtime_stub_, \ | 89 V(RawCode*, call_to_runtime_stub_, \ |
90 StubCode::CallToRuntime_entry()->code(), NULL) \ | 90 StubCode::CallToRuntime_entry()->code(), NULL) \ |
91 V(RawCode*, monomorphic_miss_stub_, \ | 91 V(RawCode*, monomorphic_miss_stub_, \ |
92 StubCode::MonomorphicMiss_entry()->code(), NULL) \ | 92 StubCode::MonomorphicMiss_entry()->code(), NULL) \ |
93 V(RawCode*, ic_lookup_through_code_stub_, \ | 93 V(RawCode*, ic_lookup_through_code_stub_, \ |
94 StubCode::ICCallThroughCode_entry()->code(), NULL) \ | 94 StubCode::ICCallThroughCode_entry()->code(), NULL) \ |
| 95 V(RawCode*, lazy_deopt_from_return_stub_, \ |
| 96 StubCode::DeoptimizeLazyFromReturn_entry()->code(), NULL) \ |
| 97 V(RawCode*, lazy_deopt_from_throw_stub_, \ |
| 98 StubCode::DeoptimizeLazyFromThrow_entry()->code(), NULL) \ |
95 | 99 |
96 #endif | 100 #endif |
97 | 101 |
98 // List of VM-global objects/addresses cached in each Thread object. | 102 // List of VM-global objects/addresses cached in each Thread object. |
99 #define CACHED_VM_OBJECTS_LIST(V) \ | 103 #define CACHED_VM_OBJECTS_LIST(V) \ |
100 V(RawObject*, object_null_, Object::null(), NULL) \ | 104 V(RawObject*, object_null_, Object::null(), NULL) \ |
101 V(RawBool*, bool_true_, Object::bool_true().raw(), NULL) \ | 105 V(RawBool*, bool_true_, Object::bool_true().raw(), NULL) \ |
102 V(RawBool*, bool_false_, Object::bool_false().raw(), NULL) \ | 106 V(RawBool*, bool_false_, Object::bool_false().raw(), NULL) \ |
103 CACHED_VM_STUBS_LIST(V) \ | 107 CACHED_VM_STUBS_LIST(V) \ |
104 | 108 |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 // Disable thread interrupts. | 784 // Disable thread interrupts. |
781 class DisableThreadInterruptsScope : public StackResource { | 785 class DisableThreadInterruptsScope : public StackResource { |
782 public: | 786 public: |
783 explicit DisableThreadInterruptsScope(Thread* thread); | 787 explicit DisableThreadInterruptsScope(Thread* thread); |
784 ~DisableThreadInterruptsScope(); | 788 ~DisableThreadInterruptsScope(); |
785 }; | 789 }; |
786 | 790 |
787 } // namespace dart | 791 } // namespace dart |
788 | 792 |
789 #endif // VM_THREAD_H_ | 793 #endif // VM_THREAD_H_ |
OLD | NEW |