mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
a9f7f6e25d
commit
e7800b5458
@ -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++;
|
||||
}
|
||||
|
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user