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

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

Issue 2918393002: [arm64] Fix the GetStackPointer stub to return the C stack pointer. (Closed)
Patch Set: Created 3 years, 6 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/native_arguments.h ('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 RUNTIME_VM_STUB_CODE_H_ 5 #ifndef RUNTIME_VM_STUB_CODE_H_
6 #define RUNTIME_VM_STUB_CODE_H_ 6 #define RUNTIME_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
11 namespace dart { 11 namespace dart {
12 12
13 // Forward declarations. 13 // Forward declarations.
14 class Code; 14 class Code;
15 class Isolate; 15 class Isolate;
16 class ObjectPointerVisitor; 16 class ObjectPointerVisitor;
17 class RawCode; 17 class RawCode;
18 class SnapshotReader; 18 class SnapshotReader;
19 class SnapshotWriter; 19 class SnapshotWriter;
20 20
21 // List of stubs created in the VM isolate, these stubs are shared by different 21 // List of stubs created in the VM isolate, these stubs are shared by different
22 // isolates running in this dart process. 22 // isolates running in this dart process.
23 #if !defined(TARGET_ARCH_DBC) 23 #if !defined(TARGET_ARCH_DBC)
24 #define VM_STUB_CODE_LIST(V) \ 24 #define VM_STUB_CODE_LIST(V) \
25 V(GetStackPointer) \ 25 V(GetCStackPointer) \
26 V(JumpToFrame) \ 26 V(JumpToFrame) \
27 V(RunExceptionHandler) \ 27 V(RunExceptionHandler) \
28 V(DeoptForRewind) \ 28 V(DeoptForRewind) \
29 V(UpdateStoreBuffer) \ 29 V(UpdateStoreBuffer) \
30 V(PrintStopMessage) \ 30 V(PrintStopMessage) \
31 V(CallToRuntime) \ 31 V(CallToRuntime) \
32 V(LazyCompile) \ 32 V(LazyCompile) \
33 V(CallBootstrapNative) \ 33 V(CallBootstrapNative) \
34 V(CallNoScopeNative) \ 34 V(CallNoScopeNative) \
35 V(CallAutoScopeNative) \ 35 V(CallAutoScopeNative) \
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 // Zap value used to indicate unused CODE_REG in deopt. 209 // Zap value used to indicate unused CODE_REG in deopt.
210 static const uword kZapCodeReg = 0xf1f1f1f1; 210 static const uword kZapCodeReg = 0xf1f1f1f1;
211 211
212 // Zap value used to indicate unused return address in deopt. 212 // Zap value used to indicate unused return address in deopt.
213 static const uword kZapReturnAddress = 0xe1e1e1e1; 213 static const uword kZapReturnAddress = 0xe1e1e1e1;
214 214
215 } // namespace dart 215 } // namespace dart
216 216
217 #endif // RUNTIME_VM_STUB_CODE_H_ 217 #endif // RUNTIME_VM_STUB_CODE_H_
OLDNEW
« no previous file with comments | « runtime/vm/native_arguments.h ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698