diff options
Diffstat (limited to 'src/compiler_llvm/compilation_unit.cc')
| -rw-r--r-- | src/compiler_llvm/compilation_unit.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/compiler_llvm/compilation_unit.cc b/src/compiler_llvm/compilation_unit.cc index ac956ef6c4..fe3c3ea9ef 100644 --- a/src/compiler_llvm/compilation_unit.cc +++ b/src/compiler_llvm/compilation_unit.cc @@ -117,10 +117,10 @@ bool CompilationUnit::Materialize() { target_attr = ""; break; - //case kMips: - // target_triple = "mipsel-unknown-linux"; - // target_attr = ""; - // break; + case kMips: + target_triple = "mipsel-unknown-linux"; + target_attr = "mips32r2"; + break; default: LOG(FATAL) << "Unknown instruction set: " << insn_set_; @@ -135,8 +135,6 @@ bool CompilationUnit::Materialize() { // Target options llvm::TargetOptions target_options; - target_options.NoFramePointerElim = true; - target_options.NoFramePointerElimNonLeaf = true; target_options.FloatABIType = llvm::FloatABI::Soft; target_options.UseSoftFloat = false; target_options.NoFramePointerElim = true; |