Index: src/IceTargetLoweringMIPS32.h |
diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h |
index a56aa421bd72b98a875a46910176f87646674a4c..76caefb815eaa5a61be14e87527ddec566d07126 100644 |
--- a/src/IceTargetLoweringMIPS32.h |
+++ b/src/IceTargetLoweringMIPS32.h |
@@ -48,6 +48,7 @@ public: |
return RegisterAliases[Reg]; |
} |
bool hasFramePointer() const override { return UsesFramePointer; } |
+ SizeT getStackReg() const override { return RegMIPS32::Reg_SP; } |
SizeT getFrameOrStackReg() const override { |
return UsesFramePointer ? RegMIPS32::Reg_FP : RegMIPS32::Reg_SP; |
} |