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

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

Issue 2382953004: Revert "Lazy deopt without code patching." (Closed)
Patch Set: Created 4 years, 2 months 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/stub_code_x64.cc ('k') | runtime/vm/weak_code.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) 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
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) \
99 95
100 #endif 96 #endif
101 97
102 // List of VM-global objects/addresses cached in each Thread object. 98 // List of VM-global objects/addresses cached in each Thread object.
103 #define CACHED_VM_OBJECTS_LIST(V) \ 99 #define CACHED_VM_OBJECTS_LIST(V) \
104 V(RawObject*, object_null_, Object::null(), NULL) \ 100 V(RawObject*, object_null_, Object::null(), NULL) \
105 V(RawBool*, bool_true_, Object::bool_true().raw(), NULL) \ 101 V(RawBool*, bool_true_, Object::bool_true().raw(), NULL) \
106 V(RawBool*, bool_false_, Object::bool_false().raw(), NULL) \ 102 V(RawBool*, bool_false_, Object::bool_false().raw(), NULL) \
107 CACHED_VM_STUBS_LIST(V) \ 103 CACHED_VM_STUBS_LIST(V) \
108 104
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 // Disable thread interrupts. 780 // Disable thread interrupts.
785 class DisableThreadInterruptsScope : public StackResource { 781 class DisableThreadInterruptsScope : public StackResource {
786 public: 782 public:
787 explicit DisableThreadInterruptsScope(Thread* thread); 783 explicit DisableThreadInterruptsScope(Thread* thread);
788 ~DisableThreadInterruptsScope(); 784 ~DisableThreadInterruptsScope();
789 }; 785 };
790 786
791 } // namespace dart 787 } // namespace dart
792 788
793 #endif // VM_THREAD_H_ 789 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_x64.cc ('k') | runtime/vm/weak_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698