[llvm-commits] [llvm] r87034 - in /llvm/trunk: include/llvm/CodeGen/PseudoSourceValue.h lib/CodeGen/PseudoSourceValue.cpp
David Greene
greened at obbligato.org
Thu Nov 12 13:49:55 PST 2009
Author: greened
Date: Thu Nov 12 15:49:55 2009
New Revision: 87034
URL: http://llvm.org/viewvc/llvm-project?rev=87034&view=rev
Log:
Do some cleanups suggested by Chris.
Modified:
llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h
llvm/trunk/lib/CodeGen/PseudoSourceValue.cpp
Modified: llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h?rev=87034&r1=87033&r2=87034&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h (original)
+++ llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h Thu Nov 12 15:49:55 2009
@@ -15,7 +15,6 @@
#define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
#include "llvm/Value.h"
-#include "llvm/Support/raw_ostream.h"
namespace llvm {
class MachineFrameInfo;
@@ -103,11 +102,9 @@
virtual bool mayAlias(const MachineFrameInfo *) const;
- virtual void printCustom(raw_ostream &OS) const {
- OS << "FixedStack" << FI;
- }
+ virtual void printCustom(raw_ostream &OS) const;
- int getFrameIndex(void) const { return FI; }
+ int getFrameIndex() const { return FI; }
};
} // End llvm namespace
Modified: llvm/trunk/lib/CodeGen/PseudoSourceValue.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PseudoSourceValue.cpp?rev=87034&r1=87033&r2=87034&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PseudoSourceValue.cpp (original)
+++ llvm/trunk/lib/CodeGen/PseudoSourceValue.cpp Thu Nov 12 15:49:55 2009
@@ -109,3 +109,7 @@
// Spill slots will not alias any LLVM IR value.
return !MFI->isSpillSlotObjectIndex(FI);
}
+
+void FixedStackPseudoSourceValue::printCustom(raw_ostream &OS) const {
+ OS << "FixedStack" << FI;
+}
More information about the llvm-commits
mailing list