commit | 7fbee0731b14b5bf392a4254f5cd84685ab517da | [log] [tgz] |
---|---|---|
author | jeffhao <jeffhao@google.com> | Fri Aug 24 17:56:54 2012 -0700 |
committer | jeffhao <jeffhao@google.com> | Mon Aug 27 11:33:05 2012 -0700 |
tree | b24cf6d9eed7935e3b26d63cf2292fd8c008005b | |
parent | f3a26411e0e8b56b64d184d3e946e72f9c31e4c7 [diff] [blame] |
Preliminary changes to allow mips target to build. It compiles, but it doesn't work yet. Change-Id: I2973a03bd956d8d398b9cfd1047e66fbf3ff439c
diff --git a/src/compiler/codegen/mips/MipsRallocUtil.cc b/src/compiler/codegen/mips/MipsRallocUtil.cc index ded59f0..43fcc07 100644 --- a/src/compiler/codegen/mips/MipsRallocUtil.cc +++ b/src/compiler/codegen/mips/MipsRallocUtil.cc
@@ -149,8 +149,9 @@ extern RegLocation oatGetReturnAlt(CompilationUnit* cUnit) { - UNIMPLEMENTED(FATAL); - RegLocation res = LOC_C_RETURN; + RegLocation res = LOC_C_RETURN_ALT; + oatClobber(cUnit, res.lowReg); + oatMarkInUse(cUnit, res.lowReg); return res; }