File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 66// This is not written as VM stub because we need it be executable in contexts where we cannot JIT.
77// (Alternatively , we could start requiring the VM snapshot to be provided in every mode.)
88
9- #if defined(__aarch64__) && (defined(SIMULATOR_FFI) || defined(DART_DYNAMIC_MODULES))
9+ #if defined(__aarch64__) && (defined(SIMULATOR_FFI) || ( defined(DART_DYNAMIC_MODULES) && !defined(DART_PRECOMPILED_RUNTIME) ))
1010
1111.text
1212
13- #if defined(DART_DYNAMIC_MODULES)
13+ #if defined(DART_DYNAMIC_MODULES) && !defined(DART_PRECOMPILED_RUNTIME)
1414
1515#if defined(__APPLE__)
1616.globl _FfiCallTrampoline
@@ -66,7 +66,7 @@ FfiCallTrampoline:
6666.size FfiCallTrampoline , . - FfiCallTrampoline
6767#endif
6868
69- #endif // defined(DART_DYNAMIC_MODULES)
69+ #endif // defined(DART_DYNAMIC_MODULES) && !defined(DART_PRECOMPILED_RUNTIME)
7070
7171#if defined(SIMULATOR_FFI)
7272
@@ -191,4 +191,4 @@ SimulatorFfiCallbackTrampolineEnd:
191191
192192#endif // defined(SIMULATOR_FFI)
193193
194- #endif // defined(__aarch64__) && (defined(SIMULATOR_FFI) || defined(DART_DYNAMIC_MODULES))
194+ #endif // defined(__aarch64__) && (defined(SIMULATOR_FFI) || ( defined(DART_DYNAMIC_MODULES) && !defined(DART_PRECOMPILED_RUNTIME) ))
You can’t perform that action at this time.
0 commit comments