[llvm-commits] CVS: llvm/lib/Target/X86/X86CodeEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Wed Jun 21 16:37:19 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86CodeEmitter.cpp updated: 1.107 -> 1.108
---
Log message:
variable_ops instructions such as call can have any number of operands.
---
Diffs of the changes: (+1 -1)
X86CodeEmitter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86CodeEmitter.cpp
diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.107 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.108
--- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.107 Tue May 16 02:21:53 2006
+++ llvm/lib/Target/X86/X86CodeEmitter.cpp Wed Jun 21 18:37:07 2006
@@ -408,7 +408,7 @@
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());
More information about the llvm-commits
mailing list