[dart] Fix core snapshot flags for Dart roll
Change-Id: Ifd347856d6b690c69f589fdd68a36e46b4ddf459
diff --git a/runtime/dart_runner/kernel/BUILD.gn b/runtime/dart_runner/kernel/BUILD.gn
index f1eddb5..a76ae1c 100644
--- a/runtime/dart_runner/kernel/BUILD.gn
+++ b/runtime/dart_runner/kernel/BUILD.gn
@@ -63,11 +63,10 @@
}
args = [
- # TODO(zra): remove this when the interpreter supports field guards.
- "--no_use_field_guards",
# TODO(FL-117): Re-enable causal async stack traces when this issue is
# addressed.
"--no_causal_async_stacks",
+
"--use_bytecode_compiler",
"--enable_mirrors=false",
"--deterministic",
diff --git a/runtime/flutter_runner/kernel/BUILD.gn b/runtime/flutter_runner/kernel/BUILD.gn
index 85b7cfa..aef3295 100644
--- a/runtime/flutter_runner/kernel/BUILD.gn
+++ b/runtime/flutter_runner/kernel/BUILD.gn
@@ -88,12 +88,10 @@
script = gen_snapshot
}
args = [
- # TODO(zra): remove this when the interpreter supports field guards.
- "--no_use_field_guards",
-
# TODO(FL-117): Re-enable causal async stack traces when this issue is
# addressed.
"--no_causal_async_stacks",
+
"--use_bytecode_compiler",
"--enable_mirrors=false",
"--deterministic",