From 7fbee0731b14b5bf392a4254f5cd84685ab517da Mon Sep 17 00:00:00 2001 From: jeffhao Date: Fri, 24 Aug 2012 17:56:54 -0700 Subject: Preliminary changes to allow mips target to build. It compiles, but it doesn't work yet. Change-Id: I2973a03bd956d8d398b9cfd1047e66fbf3ff439c --- src/compiler/codegen/mips/MipsRallocUtil.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 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 ded59f0a77..43fcc071d9 100644 --- a/src/compiler/codegen/mips/MipsRallocUtil.cc +++ b/src/compiler/codegen/mips/MipsRallocUtil.cc @@ -149,8 +149,9 @@ extern RegLocation oatGetReturnWideAlt(CompilationUnit* cUnit) 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; } -- cgit v1.2.3-59-g8ed1b