Index: src/IceTargetLoweringX86Base.h |
diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h |
index fc8dea23f9e22b23ef95df1c23501ddd2d0793aa..1074ae4bf68b746162b66bc4c7387d88b7e89c38 100644 |
--- a/src/IceTargetLoweringX86Base.h |
+++ b/src/IceTargetLoweringX86Base.h |
@@ -222,7 +222,7 @@ protected: |
void lowerMemset(Operand *Dest, Operand *Val, Operand *Count); |
/// Lower an indirect jump adding sandboxing when needed. |
- void lowerIndirectJump(Variable *Target); |
+ void lowerIndirectJump(Variable *JumpTarget); |
/// Check the comparison is in [Min,Max]. The flags register will be modified |
/// with: |
@@ -249,7 +249,8 @@ protected: |
/// Emit a fake use of esp to make sure esp stays alive for the entire |
/// function. Otherwise some esp adjustments get dead-code eliminated. |
void keepEspLiveAtExit() { |
- Variable *esp = Func->getTarget()->getPhysicalRegister(getStackReg()); |
+ Variable *esp = |
+ Func->getTarget()->getPhysicalRegister(getStackReg(), Traits::WordType); |
Context.insert<InstFakeUse>(esp); |
} |