| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |