Index: src/IceTargetLoweringARM32.h |
diff --git a/src/IceTargetLoweringARM32.h b/src/IceTargetLoweringARM32.h |
index c8b3c64fa6d2dab77316f236cb82e2d34086939c..7620afd1812c16d063b3e45815c792d1613a7c14 100644 |
--- a/src/IceTargetLoweringARM32.h |
+++ b/src/IceTargetLoweringARM32.h |
@@ -74,6 +74,7 @@ public: |
return RegisterAliases[Reg]; |
} |
bool hasFramePointer() const override { return UsesFramePointer; } |
+ SizeT getStackReg() const override { return RegARM32::Reg_sp; } |
SizeT getFrameOrStackReg() const override { |
return UsesFramePointer ? RegARM32::Reg_fp : RegARM32::Reg_sp; |
} |