Fix build.
The compilers had drifted a bit while I was away.
Change-Id: I938a5992e8e100f512db4c7934ac4b3ec80e8138
diff --git a/src/compiler/codegen/mips/MipsRallocUtil.cc b/src/compiler/codegen/mips/MipsRallocUtil.cc
index 22a19db..41bc991 100644
--- a/src/compiler/codegen/mips/MipsRallocUtil.cc
+++ b/src/compiler/codegen/mips/MipsRallocUtil.cc
@@ -151,6 +151,13 @@
return res;
}
+extern RegLocation oatGetReturnAlt(CompilationUnit* cUnit)
+{
+ UNIMPLEMENTED(FATAL);
+ RegLocation res = LOC_C_RETURN;
+ return res;
+}
+
extern RegLocation oatGetReturn(CompilationUnit* cUnit)
{
RegLocation res = LOC_C_RETURN;
diff --git a/src/compiler/codegen/x86/X86/Factory.cc b/src/compiler/codegen/x86/X86/Factory.cc
index cf8ef81..9746707 100644
--- a/src/compiler/codegen/x86/X86/Factory.cc
+++ b/src/compiler/codegen/x86/X86/Factory.cc
@@ -144,6 +144,12 @@
LIR *loadMultiple(CompilationUnit *cUnit, int rBase, int rMask);
+LIR* opBranchUnconditional(CompilationUnit* cUnit, OpKind op)
+{
+ UNIMPLEMENTED(WARNING) << "opBranchUnconditional";
+ return NULL;
+}
+
LIR* opCondBranch(CompilationUnit* cUnit, ConditionCode cc, LIR* target)
{
UNIMPLEMENTED(WARNING) << "opCondBranch";
diff --git a/src/compiler/codegen/x86/X86RallocUtil.cc b/src/compiler/codegen/x86/X86RallocUtil.cc
index cd630a8..cdd75a1 100644
--- a/src/compiler/codegen/x86/X86RallocUtil.cc
+++ b/src/compiler/codegen/x86/X86RallocUtil.cc
@@ -185,4 +185,11 @@
((LIR*)lir)->flags.isNop = true;
}
+extern RegLocation oatGetReturnAlt(CompilationUnit* cUnit)
+{
+ UNIMPLEMENTED(FATAL);
+ RegLocation res = LOC_C_RETURN;
+ return res;
+}
+
} // namespace art