gallivm: Fix build with llvm-3.1svn.
authorVinson Lee <vlee@vmware.com>
Tue, 13 Dec 2011 01:54:54 +0000 (17:54 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 17 Dec 2011 05:22:39 +0000 (21:22 -0800)
commit95aa0e5d84a4f46f2f0809b26f5899b8e39f5afc
tree5fd1533fc1200816691b008d2521f4a1e3f1e4e9
parent5d32b00db97a140a63b62f2b4945e1a50c7e0d64
gallivm: Fix build with llvm-3.1svn.

llvm-3.1svn r145714 moved global variables into a new TargetOptions
class. TargetMachine constructor now needs a TargetOptions object as
well.

Signed-off-by: Vinson Lee <vlee@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp