diff --git a/src/qml/compiler/qv4regalloc.cpp b/src/qml/compiler/qv4regalloc.cpp
index 3521d0c27a95f80d62ec124a80ec4be31f94b298..49b7529b9da370344fd8c11c718273c233e55002 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