From ea94a5dcb0be8af3a3ead5d4be0813e55bd8920e Mon Sep 17 00:00:00 2001 From: John McCutchan Date: Tue, 22 Nov 2016 14:47:05 -0800 Subject: [PATCH] Don't pass --print_snapshot_sizes in product mode BUG= Review URL: https://codereview.chromium.org/2521323003 . --- runtime/bin/gen_snapshot.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc index 4c00a150592..8e2efdaab36 100644 --- a/runtime/bin/gen_snapshot.cc +++ b/runtime/bin/gen_snapshot.cc @@ -1206,7 +1206,9 @@ int main(int argc, char** argv) { if (IsSnapshottingForPrecompilation()) { vm_options.AddArgument("--precompilation"); +#if !defined(PRODUCT) vm_options.AddArgument("--print_snapshot_sizes"); +#endif #if TARGET_ARCH_ARM // This is for the iPod Touch 5th Generation (and maybe other older devices) vm_options.AddArgument("--no-use_integer_division");