summaryrefslogtreecommitdiff
path: root/compiler/llvm/llvm_compilation_unit.cc
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2013-08-13 07:55:57 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-08-13 07:55:57 +0000
commit34de74bb9d91534ab7ebbd1f73ee1d96db894b4c (patch)
tree8052160b79d9fa7b18d51a5e42036be22ceb8915 /compiler/llvm/llvm_compilation_unit.cc
parent672a4230348c88cfce3a6dd37593a9257cb5516d (diff)
parent1961a2716cf02f597f06c27a0850daa2dc917586 (diff)
Merge "Update ART for LLVM merge up to r187914." into klp-dev
Diffstat (limited to 'compiler/llvm/llvm_compilation_unit.cc')
-rw-r--r--compiler/llvm/llvm_compilation_unit.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/llvm/llvm_compilation_unit.cc b/compiler/llvm/llvm_compilation_unit.cc
index 9296fc7050..7542b841a1 100644
--- a/compiler/llvm/llvm_compilation_unit.cc
+++ b/compiler/llvm/llvm_compilation_unit.cc
@@ -214,7 +214,6 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea
::llvm::TargetOptions target_options;
target_options.FloatABIType = ::llvm::FloatABI::Soft;
target_options.NoFramePointerElim = true;
- target_options.NoFramePointerElimNonLeaf = true;
target_options.UseSoftFloat = false;
target_options.EnableFastISel = false;
@@ -258,7 +257,7 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea
::llvm::OwningPtr< ::llvm::tool_output_file> out_file(
new ::llvm::tool_output_file(bitcode_filename_.c_str(), errmsg,
- ::llvm::raw_fd_ostream::F_Binary));
+ ::llvm::sys::fs::F_Binary));
if (!errmsg.empty()) {
@@ -278,7 +277,6 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea
// pm_builder.Inliner = ::llvm::createAlwaysInlinerPass();
// pm_builder.Inliner = ::llvm::createPartialInliningPass();
pm_builder.OptLevel = 3;
- pm_builder.DisableSimplifyLibCalls = 1;
pm_builder.DisableUnitAtATime = 1;
pm_builder.populateFunctionPassManager(fpm);
pm_builder.populateModulePassManager(pm);