diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-07 18:03:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-07 18:03:19 +0000 |
commit | f839ee0c13fedf71bab7a48cb4275a52487cfb85 (patch) | |
tree | d7a6f3fdaa84f98f07d0393bcbae2cdd1f25df10 /llvm/lib/CodeGen | |
parent | 3b4abb67921126aefbf67d15bd6cdb7aa7cf47ff (diff) | |
download | bcm5719-llvm-f839ee0c13fedf71bab7a48cb4275a52487cfb85.tar.gz bcm5719-llvm-f839ee0c13fedf71bab7a48cb4275a52487cfb85.zip |
fix a latent bug my inline asm stuff exposed:
MachineOperand::isIdenticalTo wasn't handling metadata operands.
llvm-svn: 100636
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 39b7fb507f8..f2ba484e4f0 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -192,6 +192,8 @@ bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const { return getBlockAddress() == Other.getBlockAddress(); case MachineOperand::MO_MCSymbol: return getMCSymbol() == Other.getMCSymbol(); + case MachineOperand::MO_Metadata: + return getMetadata() == Other.getMetadata(); } } |