| Index: runtime/vm/stub_code.h
|
| diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
|
| index f451638f9fc481374e132208dc61024456a86241..49132985d5ab3369ff3e6b3b8bc9c69747bb18d1 100644
|
| --- a/runtime/vm/stub_code.h
|
| +++ b/runtime/vm/stub_code.h
|
| @@ -18,9 +18,9 @@ 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(GetStackPointer) \
|
| V(JumpToExceptionHandler) \
|
| @@ -63,6 +63,13 @@ class SnapshotWriter;
|
| V(Subtype3TestCache) \
|
| V(CallClosureNoSuchMethod) \
|
|
|
| +#else
|
| +#define VM_STUB_CODE_LIST(V) \
|
| + V(LazyCompile) \
|
| + V(FixCallersTarget) \
|
| +
|
| +#endif // !defined(TARGET_ARCH_DBC)
|
| +
|
| // 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,
|
|
|