From 8933268baca5d1c2992c808a6399982f28babd47 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 22 Jan 2014 13:02:09 +0100 Subject: V4: remove more superfluous spills. Spills for targets of phi-nodes are already inserted by the renumbering, so they don't need to be added (again) while resolving edges. This fixes a problem with crypto.js. Change-Id: I4b1d79fc92236b4a6b0b6d6d30ada17c8581a093 Reviewed-by: Fawzi Mohamed Reviewed-by: Lars Knoll --- src/qml/compiler/qv4regalloc.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/qml/compiler/qv4regalloc.cpp') diff --git a/src/qml/compiler/qv4regalloc.cpp b/src/qml/compiler/qv4regalloc.cpp index 3521d0c27a..49b7529b9d 100644 --- a/src/qml/compiler/qv4regalloc.cpp +++ b/src/qml/compiler/qv4regalloc.cpp @@ -956,9 +956,6 @@ private: moveTo = createTemp(Temp::StackSlot, spillSlot, it->temp().type); } else { moveTo = createTemp(Temp::PhysicalRegister, platformRegister(*it), it->temp().type); - const int spillSlot = _assignedSpillSlots.value(it->temp(), -1); - if (isPhiTarget && spillSlot != -1) - mapping.add(moveFrom, createTemp(Temp::StackSlot, spillSlot, it->temp().type)); } // add move to mapping -- cgit v1.2.3