diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-10 04:47:08 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-10 04:47:08 +0000 |
commit | 5d5a1e13a129e18ee6031fe6354acd2ab4d39f37 (patch) | |
tree | d405b6583aeac3de3ed16f0dfc3fd037d22b2ed9 /lib/MC | |
parent | 4c6e18aefebf88b5602458c186cd395e22011f0a (diff) | |
download | external_llvm-5d5a1e13a129e18ee6031fe6354acd2ab4d39f37.zip external_llvm-5d5a1e13a129e18ee6031fe6354acd2ab4d39f37.tar.gz external_llvm-5d5a1e13a129e18ee6031fe6354acd2ab4d39f37.tar.bz2 |
MC: Switch MCFixup to just hold an MCExpr pointer instead of index into the
MCInst it came from.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCAsmStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 3e3d1e5..828377f 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -601,7 +601,7 @@ void MCAsmStreamer::AddEncodingComment(const MCInst &Inst) { MCFixup &F = Fixups[i]; MCFixupKindInfo &Info = Emitter->getFixupKindInfo(F.getKind()); OS << " fixup " << char('A' + i) << " - " << "offset: " << F.getOffset() - << ", op: " << F.getOpIndex() << ", kind: " << Info.Name << "\n"; + << ", value: " << *F.getValue() << ", kind: " << Info.Name << "\n"; } } |