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

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

Issue 1847623002: Ensure deoptimizing frames have a valid pc marker before deferred materialization. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/deopt_instructions.cc ('k') | runtime/vm/stub_code_arm.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_STUB_CODE_H_ 5 #ifndef VM_STUB_CODE_H_
6 #define VM_STUB_CODE_H_ 6 #define VM_STUB_CODE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 V(BinaryRangeCollectingInlineCache) \ 56 V(BinaryRangeCollectingInlineCache) \
57 V(OneArgOptimizedCheckInlineCache) \ 57 V(OneArgOptimizedCheckInlineCache) \
58 V(TwoArgsOptimizedCheckInlineCache) \ 58 V(TwoArgsOptimizedCheckInlineCache) \
59 V(ZeroArgsUnoptimizedStaticCall) \ 59 V(ZeroArgsUnoptimizedStaticCall) \
60 V(OneArgUnoptimizedStaticCall) \ 60 V(OneArgUnoptimizedStaticCall) \
61 V(TwoArgsUnoptimizedStaticCall) \ 61 V(TwoArgsUnoptimizedStaticCall) \
62 V(Subtype1TestCache) \ 62 V(Subtype1TestCache) \
63 V(Subtype2TestCache) \ 63 V(Subtype2TestCache) \
64 V(Subtype3TestCache) \ 64 V(Subtype3TestCache) \
65 V(CallClosureNoSuchMethod) \ 65 V(CallClosureNoSuchMethod) \
66 V(FrameAwaitingMaterialization) \
66 67
67 // Is it permitted for the stubs above to refer to Object::null(), which is 68 // Is it permitted for the stubs above to refer to Object::null(), which is
68 // allocated in the VM isolate and shared across all isolates. 69 // allocated in the VM isolate and shared across all isolates.
69 // However, in cases where a simple GC-safe placeholder is needed on the stack, 70 // However, in cases where a simple GC-safe placeholder is needed on the stack,
70 // using Smi 0 instead of Object::null() is slightly more efficient, since a Smi 71 // using Smi 0 instead of Object::null() is slightly more efficient, since a Smi
71 // does not require relocation. 72 // does not require relocation.
72 73
73 // class StubEntry is used to describe stub methods generated in dart to 74 // class StubEntry is used to describe stub methods generated in dart to
74 // abstract out common code executed from generated dart code. 75 // abstract out common code executed from generated dart code.
75 class StubEntry { 76 class StubEntry {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 186
186 187
187 enum DeoptStubKind { 188 enum DeoptStubKind {
188 kLazyDeopt, 189 kLazyDeopt,
189 kEagerDeopt 190 kEagerDeopt
190 }; 191 };
191 192
192 } // namespace dart 193 } // namespace dart
193 194
194 #endif // VM_STUB_CODE_H_ 195 #endif // VM_STUB_CODE_H_
OLDNEW
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698