diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-19 23:26:52 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-19 23:26:52 +0000 |
commit | 2aa4c4e0b21990367ef15cd6d42ab9f9dd9ff29f (patch) | |
tree | ac51c35b589cd58106bb9afd41ad7ad20cb059a8 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 48555e87376e895bb596dd3f4879c6eb3f46ce4a (diff) | |
download | external_llvm-2aa4c4e0b21990367ef15cd6d42ab9f9dd9ff29f.zip external_llvm-2aa4c4e0b21990367ef15cd6d42ab9f9dd9ff29f.tar.gz external_llvm-2aa4c4e0b21990367ef15cd6d42ab9f9dd9ff29f.tar.bz2 |
Fix the Win32 VS2008 build:
- Make type declarations match the struct/class keyword of the definition.
- Move AddSignalHandler into the namespace where it belongs.
- Correctly call functions from template base.
- Some other small changes.
With this patch, LLVM and Clang should build properly and with far less noise under VS2008.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 3a8f40f..29be67b 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -2042,7 +2042,7 @@ addIntervalsForSpills(const LiveInterval &li, if (CanFold && !Ops.empty()) { if (tryFoldMemoryOperand(MI, vrm, NULL, index, Ops, true, Slot,VReg)){ Folded = true; - if (FoundUse > 0) { + if (FoundUse) { // Also folded uses, do not issue a load. eraseRestoreInfo(Id, index, VReg, RestoreMBBs, RestoreIdxes); nI.removeRange(getLoadIndex(index), getUseIndex(index)+1); |