diff options
| author | 2014-03-01 09:16:49 -0800 | |
|---|---|---|
| committer | 2014-03-01 09:16:49 -0800 | |
| commit | 3d504075f7c1204d581923460754bf6d3714b13f (patch) | |
| tree | e095ee11d308f264b3dfb9f4c510f14fe6b1259c /compiler/llvm/llvm_compilation_unit.cc | |
| parent | e4a74a6ac8d1486b1227504044a60002e69a9fec (diff) | |
Make out arguments non-reference types.
Also, tidy some portable related code.
Change-Id: I67c8aa52eef8b556ca117ecda1b1e75465ba06a5
Diffstat (limited to 'compiler/llvm/llvm_compilation_unit.cc')
| -rw-r--r-- | compiler/llvm/llvm_compilation_unit.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/llvm/llvm_compilation_unit.cc b/compiler/llvm/llvm_compilation_unit.cc index d23706d9f4..1d027f9d3b 100644 --- a/compiler/llvm/llvm_compilation_unit.cc +++ b/compiler/llvm/llvm_compilation_unit.cc @@ -199,7 +199,8 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea std::string target_triple; std::string target_cpu; std::string target_attr; - CompilerDriver::InstructionSetToLLVMTarget(GetInstructionSet(), target_triple, target_cpu, target_attr); + CompilerDriver::InstructionSetToLLVMTarget(GetInstructionSet(), &target_triple, &target_cpu, + &target_attr); std::string errmsg; const ::llvm::Target* target = |