mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 15:09:45 +00:00
[vm/bytecode] Enable building of kernel service snapshot
Kernel service snapshot is built in default (non-bytecode) mode and it is not compatible with VM running in bytecode mode. Previously, this incompatibility was causing crashes and building of kernel service snapshot was disabled if SDK is built with --bytecode. With the change https://dart-review.googlesource.com/c/sdk/+/98723 that workaround is no longer needed, and we can build kernel service snapshot once again. Change-Id: Ia5660b637894a5ffc2723e12dc2bf9630cc2f8c7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98604 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
parent
7beed016a0
commit
43046b7f7c
|
@ -95,7 +95,7 @@ declare_args() {
|
|||
# We create a kernel service app-jit snapshot only for when the target
|
||||
# architecture is x64 for other cases we will use the '.dill' file
|
||||
# which is already linked in the VM.
|
||||
if (dart_target_arch == "x64" && !dart_platform_bytecode) {
|
||||
if (dart_target_arch == "x64") {
|
||||
create_kernel_service_snapshot = true
|
||||
} else {
|
||||
create_kernel_service_snapshot = false
|
||||
|
|
Loading…
Reference in a new issue