summaryrefslogtreecommitdiff
path: root/compiler/llvm/llvm_compilation_unit.cc
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2013-07-26 10:54:15 -0700
committer Brian Carlstrom <bdc@google.com> 2013-07-26 11:55:10 -0700
commit7934ac288acfb2552bb0b06ec1f61e5820d924a4 (patch)
tree43f3acd8af7fd34d4ae7b64f6e06bb8429d74bb8 /compiler/llvm/llvm_compilation_unit.cc
parentfb331d7ca004f39608fcfdae49d38df90c702ea9 (diff)
Fix cpplint whitespace/comments issues
Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
Diffstat (limited to 'compiler/llvm/llvm_compilation_unit.cc')
-rw-r--r--compiler/llvm/llvm_compilation_unit.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/llvm/llvm_compilation_unit.cc b/compiler/llvm/llvm_compilation_unit.cc
index d4568b5a4c..9296fc7050 100644
--- a/compiler/llvm/llvm_compilation_unit.cc
+++ b/compiler/llvm/llvm_compilation_unit.cc
@@ -134,7 +134,7 @@ LlvmCompilationUnit::LlvmCompilationUnit(const CompilerLLVM* compiler_llvm, size
LlvmCompilationUnit::~LlvmCompilationUnit() {
- ::llvm::LLVMContext* llvm_context = context_.release(); // Managed by llvm_info_
+ ::llvm::LLVMContext* llvm_context = context_.release(); // Managed by llvm_info_
CHECK(llvm_context != NULL);
}
@@ -274,9 +274,9 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea
::llvm::PassManagerBuilder pm_builder;
// TODO: Use inliner after we can do IPO.
pm_builder.Inliner = NULL;
- //pm_builder.Inliner = ::llvm::createFunctionInliningPass();
- //pm_builder.Inliner = ::llvm::createAlwaysInlinerPass();
- //pm_builder.Inliner = ::llvm::createPartialInliningPass();
+ // pm_builder.Inliner = ::llvm::createFunctionInliningPass();
+ // pm_builder.Inliner = ::llvm::createAlwaysInlinerPass();
+ // pm_builder.Inliner = ::llvm::createPartialInliningPass();
pm_builder.OptLevel = 3;
pm_builder.DisableSimplifyLibCalls = 1;
pm_builder.DisableUnitAtATime = 1;
@@ -338,5 +338,5 @@ void LlvmCompilationUnit::CheckCodeAlign(uint32_t align) const {
}
-} // namespace llvm
-} // namespace art
+} // namespace llvm
+} // namespace art