Index: src/IceTargetLoweringX86Base.h |
diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h |
index 1df99e5b86832bd5b725e0fb001059bb3bbbc5a9..71972eb95e1de0df57e04d53db172e75f5af654c 100644 |
--- a/src/IceTargetLoweringX86Base.h |
+++ b/src/IceTargetLoweringX86Base.h |
@@ -82,6 +82,7 @@ public: |
} |
bool hasFramePointer() const override { return IsEbpBasedFrame; } |
+ SizeT getStackReg() const override { return Traits::RegisterSet::Reg_esp; } |
SizeT getFrameOrStackReg() const override { |
return IsEbpBasedFrame ? Traits::RegisterSet::Reg_ebp |
: Traits::RegisterSet::Reg_esp; |