Chromium Code Reviews| Index: runtime/vm/stub_code.h |
| diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h |
| index f451638f9fc481374e132208dc61024456a86241..bcf307e8812470c5bcf294b78d7b23034ac22ac0 100644 |
| --- a/runtime/vm/stub_code.h |
| +++ b/runtime/vm/stub_code.h |
| @@ -18,9 +18,14 @@ class RawCode; |
| class SnapshotReader; |
| class SnapshotWriter; |
| - |
| // List of stubs created in the VM isolate, these stubs are shared by different |
| // isolates running in this dart process. |
| +#if defined(TARGET_ARCH_DBC) |
| +#define VM_STUB_CODE_LIST(V) \ |
| + V(LazyCompile) \ |
| + V(FixCallersTarget) \ |
| + |
| +#else |
| #define VM_STUB_CODE_LIST(V) \ |
| V(GetStackPointer) \ |
| V(JumpToExceptionHandler) \ |
| @@ -63,6 +68,8 @@ class SnapshotWriter; |
| V(Subtype3TestCache) \ |
| V(CallClosureNoSuchMethod) \ |
| +#endif |
|
zra
2016/04/14 18:27:50
add // defined(TARGET_ARCH_DBC)
Vyacheslav Egorov (Google)
2016/04/18 15:56:43
Done.
|
| + |
| // Is it permitted for the stubs above to refer to Object::null(), which is |
| // allocated in the VM isolate and shared across all isolates. |
| // However, in cases where a simple GC-safe placeholder is needed on the stack, |