mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
Don't pass --print_snapshot_sizes in product mode
BUG= Review URL: https://codereview.chromium.org/2521323003 .
This commit is contained in:
parent
9e80530980
commit
ea94a5dcb0
|
@ -1206,7 +1206,9 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
if (IsSnapshottingForPrecompilation()) {
|
if (IsSnapshottingForPrecompilation()) {
|
||||||
vm_options.AddArgument("--precompilation");
|
vm_options.AddArgument("--precompilation");
|
||||||
|
#if !defined(PRODUCT)
|
||||||
vm_options.AddArgument("--print_snapshot_sizes");
|
vm_options.AddArgument("--print_snapshot_sizes");
|
||||||
|
#endif
|
||||||
#if TARGET_ARCH_ARM
|
#if TARGET_ARCH_ARM
|
||||||
// This is for the iPod Touch 5th Generation (and maybe other older devices)
|
// This is for the iPod Touch 5th Generation (and maybe other older devices)
|
||||||
vm_options.AddArgument("--no-use_integer_division");
|
vm_options.AddArgument("--no-use_integer_division");
|
||||||
|
|
Loading…
Reference in a new issue