From 87e616c41ca8b35a270bb45deacf9383a5bad004 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Tue, 28 Jun 2016 15:19:55 +0000 Subject: [PATCH] Bug 1229813 - Enable branch pruning. r=jandem --- js/src/jit/JitOptions.cpp | 2 +- js/src/shell/js.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jit/JitOptions.cpp b/js/src/jit/JitOptions.cpp index 3c7922b3d082..10d642d16d1f 100644 --- a/js/src/jit/JitOptions.cpp +++ b/js/src/jit/JitOptions.cpp @@ -103,7 +103,7 @@ DefaultJitOptions::DefaultJitOptions() SET_DEFAULT(disableLoopUnrolling, true); // Toggle whether Profile Guided Optimization is globally disabled. - SET_DEFAULT(disablePgo, true); + SET_DEFAULT(disablePgo, false); // Toggles whether instruction reordering is globally disabled. SET_DEFAULT(disableInstructionReordering, false); diff --git a/js/src/shell/js.cpp b/js/src/shell/js.cpp index 17bc8b01fff5..810d0acb5598 100644 --- a/js/src/shell/js.cpp +++ b/js/src/shell/js.cpp @@ -7202,7 +7202,7 @@ main(int argc, char** argv, char** envp) || !op.addStringOption('\0', "ion-edgecase-analysis", "on/off", "Find edge cases where Ion can avoid bailouts (default: on, off to disable)") || !op.addStringOption('\0', "ion-pgo", "on/off", - "Profile guided optimization (default: off, on to enable)") + "Profile guided optimization (default: on, off to disable)") || !op.addStringOption('\0', "ion-range-analysis", "on/off", "Range analysis (default: on, off to disable)") #if defined(__APPLE__)