summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/mips/MipsRallocUtil.cc
diff options
context:
space:
mode:
author jeffhao <jeffhao@google.com> 2012-10-02 18:10:35 -0700
committer jeffhao <jeffhao@google.com> 2012-10-03 13:34:43 -0700
commit4f8f04ad94e68d2307a955d6bd72415fc0852725 (patch)
treef4c7f58a5149667b5f8e3376064faa81f5b9842e /src/compiler/codegen/mips/MipsRallocUtil.cc
parent3e96a16c27c986275f60afe682d0b2a3064f45c9 (diff)
Fix endianness of compiled code and stacks of stubs for MIPS.
The gtests now all work on MIPS. Change-Id: I2883ce002f23d75e700366014517c863fb626d09
Diffstat (limited to 'src/compiler/codegen/mips/MipsRallocUtil.cc')
-rw-r--r--src/compiler/codegen/mips/MipsRallocUtil.cc13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/compiler/codegen/mips/MipsRallocUtil.cc b/src/compiler/codegen/mips/MipsRallocUtil.cc
index 43fcc071d9..bd9f97eb6f 100644
--- a/src/compiler/codegen/mips/MipsRallocUtil.cc
+++ b/src/compiler/codegen/mips/MipsRallocUtil.cc
@@ -138,20 +138,15 @@ extern void oatClobberCalleeSave(CompilationUnit *cUnit)
extern RegLocation oatGetReturnWideAlt(CompilationUnit* cUnit)
{
- RegLocation res = LOC_C_RETURN_WIDE_ALT;
- oatClobber(cUnit, res.lowReg);
- oatClobber(cUnit, res.highReg);
- oatMarkInUse(cUnit, res.lowReg);
- oatMarkInUse(cUnit, res.highReg);
- oatMarkPair(cUnit, res.lowReg, res.highReg);
+ UNIMPLEMENTED(FATAL) << "No oatGetReturnWideAlt for MIPS";
+ RegLocation res = LOC_C_RETURN_WIDE;
return res;
}
extern RegLocation oatGetReturnAlt(CompilationUnit* cUnit)
{
- RegLocation res = LOC_C_RETURN_ALT;
- oatClobber(cUnit, res.lowReg);
- oatMarkInUse(cUnit, res.lowReg);
+ UNIMPLEMENTED(FATAL) << "No oatGetReturnAlt for MIPS";
+ RegLocation res = LOC_C_RETURN;
return res;
}