Switch GVN to pessimistic by default (bug 723536 stopgap, r=mrosenberg).
authorDavid Anderson <danderson@mozilla.com>
Fri, 03 Feb 2012 13:45:30 -0800
changeset 86916 8b540f91f5cf41b9f13c8b896c620925ad62d749
parent 86915 f6b54f8e87b2e66334c279c98314ba9de02b6ee9
child 86917 5b2c74603027fa8a43015ee1a7e94fd7357b55be
push id551
push userdanderson@mozilla.com
push dateFri, 03 Feb 2012 21:49:13 +0000
reviewersmrosenberg
bugs723536
milestone13.0a1
Switch GVN to pessimistic by default (bug 723536 stopgap, r=mrosenberg).
js/src/ion/Ion.h
--- a/js/src/ion/Ion.h
+++ b/js/src/ion/Ion.h
@@ -112,17 +112,17 @@ struct IonOptions
 
         // Eagerly inline calls to improve test coverage.
         usesBeforeInlining = usesBeforeCompile;
     }
 
     IonOptions()
       : enabled(false),
         gvn(true),
-        gvnIsOptimistic(true),
+        gvnIsOptimistic(false),
         licm(true),
         osr(true),
         lsra(true),
         inlining(true),
         usesBeforeCompile(40),
         usesBeforeInlining(10000)
     { }
 };