From b6482069f034afebc0355fc438e0351c9a2edf1f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Aug 2004 05:09:58 +0000 Subject: [PATCH] There is no need for a cast here git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15810 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCFrameInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/PowerPC/PPCFrameInfo.h b/lib/Target/PowerPC/PPCFrameInfo.h index c72da9ad26a..3c7777cecca 100644 --- a/lib/Target/PowerPC/PPCFrameInfo.h +++ b/lib/Target/PowerPC/PPCFrameInfo.h @@ -36,7 +36,7 @@ public: const std::pair * getCalleeSaveSpillSlots(unsigned &NumEntries) const { NumEntries = 1; - return static_cast *>(LR); + return &LR[0]; } };