Index: src/IceTargetLoweringX8632.cpp |
diff --git a/src/IceTargetLoweringX8632.cpp b/src/IceTargetLoweringX8632.cpp |
index 4afa98fac152ae67b1e1f80f3d62578ef0176ff5..6c3b6243c5dbfe20f5922e953c95abd8404da746 100644 |
--- a/src/IceTargetLoweringX8632.cpp |
+++ b/src/IceTargetLoweringX8632.cpp |
@@ -316,8 +316,6 @@ TargetX8632::TargetX8632(Cfg *Func) |
void TargetX8632::translateO2() { |
TimerMarker T(TimerStack::TT_O2, Func); |
- initFakeKilledScratchRegisters(); |
- |
if (!Ctx->getFlags().PhiEdgeSplit) { |
// Lower Phi instructions. |
Func->placePhiLoads(); |
@@ -413,8 +411,6 @@ void TargetX8632::translateO2() { |
void TargetX8632::translateOm1() { |
TimerMarker T(TimerStack::TT_Om1, Func); |
- initFakeKilledScratchRegisters(); |
- |
Func->placePhiLoads(); |
if (Func->hasError()) |
return; |
@@ -1894,9 +1890,7 @@ void TargetX8632::lowerCall(const InstCall *Instr) { |
} |
// Insert a register-kill pseudo instruction. |
- assert(!FakeKilledScratchRegisters.empty()); |
- Context.insert( |
- InstFakeKill::create(Func, FakeKilledScratchRegisters, NewCall)); |
+ Context.insert(InstFakeKill::create(Func, NewCall)); |
// Generate a FakeUse to keep the call live if necessary. |
if (Instr->hasSideEffects() && ReturnReg) { |