summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-26 18:15:06 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-26 18:15:06 +0000
commit7c8bd0fc986002d2dec65d7efbfdea2d506e8806 (patch)
tree823e8d98d01c8eb48fbf0c6bd363a37b6619358c /llvm/lib/MC
parent341d78348844018a27e1f61ae095a20e7a847205 (diff)
downloadbcm5719-llvm-7c8bd0fc986002d2dec65d7efbfdea2d506e8806.tar.gz
bcm5719-llvm-7c8bd0fc986002d2dec65d7efbfdea2d506e8806.zip
MC: Change RelaxInstruction to only take the input and output instructions.
llvm-svn: 104713
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MCAssembler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp
index 703f727d9d7..9c8268df2cb 100644
--- a/llvm/lib/MC/MCAssembler.cpp
+++ b/llvm/lib/MC/MCAssembler.cpp
@@ -824,7 +824,7 @@ bool MCAssembler::LayoutOnce(MCAsmLayout &Layout) {
// Relax the fragment.
MCInst Relaxed;
- getBackend().RelaxInstruction(IF, Relaxed);
+ getBackend().RelaxInstruction(IF->getInst(), Relaxed);
// Encode the new instruction.
//
OpenPOWER on IntegriCloud