getValueOp() now takes a MachineInstr as well as a MachineOperand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-05-30 20:32:01 +00:00
parent a9f7f6e25d
commit e7800b5458
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
{
o << " // op" << op << ": " << Vals[i].getName() << "\n"
<< " int64_t op" << op
<<" = getMachineOpValue(MI.getOperand("<<op<<"));\n";
<<" = getMachineOpValue(MI, MI.getOperand("<<op<<"));\n";
//<< " MachineOperand &op" << op <<" = MI.getOperand("<<op<<");\n";
OpOrder[Vals[i].getName()] = op++;
}

View File

@ -69,7 +69,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
{
o << " // op" << op << ": " << Vals[i].getName() << "\n"
<< " int64_t op" << op
<<" = getMachineOpValue(MI.getOperand("<<op<<"));\n";
<<" = getMachineOpValue(MI, MI.getOperand("<<op<<"));\n";
//<< " MachineOperand &op" << op <<" = MI.getOperand("<<op<<");\n";
OpOrder[Vals[i].getName()] = op++;
}