Bug 983580 - IonMonkey: Use backtracking allocator for asmjs style code, r=luke
authorHannes Verschore <hv1989@gmail.com>
Thu, 27 Mar 2014 16:59:38 +0100
changeset 175657 bf4d2479f33e15732dc9c2a20517a112db24e00f
parent 175656 038c28096bfe5e0bf958f83d5aaee40f9ecc015e
child 175658 4c072d42dcc78afe604bfaf90229906ae09461ab
push id26496
push userkwierso@gmail.com
push dateFri, 28 Mar 2014 02:28:34 +0000
treeherdermozilla-central@3c09159e01da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs983580
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 983580 - IonMonkey: Use backtracking allocator for asmjs style code, r=luke
js/src/jit/IonOptimizationLevels.cpp
--- a/js/src/jit/IonOptimizationLevels.cpp
+++ b/js/src/jit/IonOptimizationLevels.cpp
@@ -49,16 +49,17 @@ OptimizationInfo::initAsmjsOptimizationI
     // Disables some passes that don't work well with asmjs.
 
     // Take normal option values for not specified values.
     initNormalOptimizationInfo();
 
     level_ = Optimization_AsmJS;
     edgeCaseAnalysis_ = false;
     eliminateRedundantChecks_ = false;
+    registerAllocator_ = RegisterAllocator_Backtracking;
 }
 
 uint32_t
 OptimizationInfo::usesBeforeCompile(JSScript *script, jsbytecode *pc) const
 {
     JS_ASSERT(pc == nullptr || pc == script->code() || JSOp(*pc) == JSOP_LOOPENTRY);
 
     if (pc == script->code())