projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a8e6f
)
variable_ops instructions such as call can have any number of operands.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 21 Jun 2006 23:37:07 +0000
(23:37 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 21 Jun 2006 23:37:07 +0000
(23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28906
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86CodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86CodeEmitter.cpp
b/lib/Target/X86/X86CodeEmitter.cpp
index dd5efaa1133ca6d605c4d3f6e2b5bac44c0ed14b..d1a21ed277ec04c1868c3a20e16e8cb18bbe4de3 100644
(file)
--- a/
lib/Target/X86/X86CodeEmitter.cpp
+++ b/
lib/Target/X86/X86CodeEmitter.cpp
@@
-408,7
+408,7
@@
void Emitter::emitInstruction(const MachineInstr &MI) {
case X86II::RawFrm:
MCE.emitByte(BaseOpcode);
- if (
MI.getNumOperands()
== 1) {
+ if (
Desc.numOperands
== 1) {
const MachineOperand &MO = MI.getOperand(0);
if (MO.isMachineBasicBlock()) {
emitPCRelativeBlockAddress(MO.getMachineBasicBlock());