projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47362c2
)
gallivm: Rename TargetInstrDesc to MCInstrDesc when using llvm-3.0.
author
Vinson Lee
<vlee@vmware.com>
Thu, 30 Jun 2011 22:07:57 +0000
(15:07 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 30 Jun 2011 22:07:57 +0000
(15:07 -0700)
llvm-3.0svn revision 134021 renamed TargetInstrDesc to MCInstrDesc.
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 0b724a34948768be5ccb406b8c0375a5c098d3ea..5036608b571930486205bc0f749b04312bbeb5cc 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@
-287,7
+287,11
@@
lp_disassemble(const void* func)
pc += Size;
+#if HAVE_LLVM >= 0x0300
+ const MCInstrDesc &TID = TII->get(Inst.getOpcode());
+#else
const TargetInstrDesc &TID = TII->get(Inst.getOpcode());
+#endif
/*
* Keep track of forward jumps to a nearby address.