Revert 93499. After discussion with Chris we agreed

FrameIndexes should be lowered, but the same way as
everything else (target dependent) rather than in a
special hacked way.  The lowering needs to be done
for eventual purposes of Dwarf generation.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93530 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen
2010-01-15 18:58:14 +00:00
parent 29ef9a21dd
commit 3752d2fe34
2 changed files with 0 additions and 29 deletions

View File

@@ -25,7 +25,6 @@
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/Mangler.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Analysis/DebugInfo.h"
using namespace llvm;
@@ -421,25 +420,6 @@ void X86AsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) {
case TargetInstrInfo::GC_LABEL:
printLabel(MI);
return;
case TargetInstrInfo::DEBUG_VALUE: {
if (!VerboseAsm)
return;
O << '\t' << MAI->getCommentString() << "DEBUG_VALUE: ";
// cast away const; DIetc do not take const operands for some reason
DIVariable V((MDNode*)(MI->getOperand(2).getMetadata()));
O << V.getName();
O << " <- ";
if (MI->getOperand(0).getType()==MachineOperand::MO_Register)
printOperand(MI, 0);
else {
assert(MI->getOperand(0).getType()==MachineOperand::MO_Immediate);
int64_t imm = MI->getOperand(0).getImm();
O << '[' << ((imm<0) ? "EBP" : "ESP+") << imm << ']';
}
O << "+";
printOperand(MI, 1);
return;
}
case TargetInstrInfo::INLINEASM:
printInlineAsm(MI);
return;