diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-30 20:32:01 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-30 20:32:01 +0000 |
commit | e7800b5458674fcfc6054d7c94c4d4a5e1b8fd2f (patch) | |
tree | a6ad85ecb5342ce3e8b92f23345455564d6dfff4 /utils | |
parent | a9f7f6e25dfd2773c2d58540db0c5b6531c1942d (diff) | |
download | external_llvm-e7800b5458674fcfc6054d7c94c4d4a5e1b8fd2f.zip external_llvm-e7800b5458674fcfc6054d7c94c4d4a5e1b8fd2f.tar.gz external_llvm-e7800b5458674fcfc6054d7c94c4d4a5e1b8fd2f.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/CodeEmitterGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index f27e14e..0ba6253 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -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++; } |