diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-05-26 18:15:06 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-26 18:15:06 +0000 |
| commit | 7c8bd0fc986002d2dec65d7efbfdea2d506e8806 (patch) | |
| tree | 823e8d98d01c8eb48fbf0c6bd363a37b6619358c /llvm/lib/MC | |
| parent | 341d78348844018a27e1f61ae095a20e7a847205 (diff) | |
| download | bcm5719-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.cpp | 2 |
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. // |

