commit | 052a31ff51940db3067293800746313c9933bf75 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Tue Mar 11 05:56:09 2008 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Tue Mar 11 05:56:09 2008 +0000 |
tree | bf82c3bccde9fb1b120cec89629085f191489fb3 | |
parent | ec8a5b0e7c506ca2c7d8e1de19c4896772051d30 [diff] [blame] |
Fix the build on gcc 4.2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48212 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index 6ee79c1..18e0f90 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp
@@ -964,6 +964,7 @@ // This could be made better, but would require substantial changes. duplicateToTop(SrcReg, DestReg, I); } + } break; case X86::RET: case X86::RETI: @@ -1043,7 +1044,6 @@ StackTop = 0; return; } - } I = MBB->erase(I); // Remove the pseudo instruction --I;