Simplify and avoid undefined shift. Based on patch by Ahmed Charles.
[oota-llvm.git] / lib / Target / ARM / Thumb1FrameLowering.cpp
index c136906807331976ed0a72bc3b9beed83682bbcc..d4d59ea59da1171e77a3c2d0e814e42c7433f72c 100644 (file)
@@ -21,7 +21,7 @@
 
 using namespace llvm;
 
-bool Thumb1FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const {
+bool Thumb1FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const{
   const MachineFrameInfo *FFI = MF.getFrameInfo();
   unsigned CFSize = FFI->getMaxCallFrameSize();
   // It's not always a good idea to include the call frame as part of the