From 4f8f04ad94e68d2307a955d6bd72415fc0852725 Mon Sep 17 00:00:00 2001 From: jeffhao Date: Tue, 2 Oct 2012 18:10:35 -0700 Subject: Fix endianness of compiled code and stacks of stubs for MIPS. The gtests now all work on MIPS. Change-Id: I2883ce002f23d75e700366014517c863fb626d09 --- src/compiler/codegen/mips/MipsRallocUtil.cc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/compiler/codegen/mips/MipsRallocUtil.cc') 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; } -- cgit v1.2.3-59-g8ed1b