gallivm: Remove NoFramePointerElimNonLeaf for LLVM >= 3.4.

TargetOptions::NoFramePointerElimNonLeaf was removed in LLVM 3.4
r187093.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
Vinson Lee
2013-07-24 23:28:27 -07:00
parent a5eecb246d
commit 60c248c3af

View File

@@ -281,7 +281,9 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
#endif
#if defined(DEBUG) || defined(PROFILE)
#if HAVE_LLVM < 0x0304
options.NoFramePointerElimNonLeaf = true;
#endif
options.NoFramePointerElim = true;
#endif