From 11d1b0c31ddd710d26068da8e0e4621002205b4b Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 23 Jan 2012 16:57:47 -0800 Subject: Reduce namespace pollution. This leaves us with just the mspace stuff and three libdex functions to clean up. We deliberately expose the JII API, and I don't think there's anything we can really do about the art_..._from_code stuff (and at least that starts with "art_"). Change-Id: I77e58e8330cd2afeb496642302dfe3311e68091a --- src/compiler/codegen/arm/ArmRallocUtil.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/compiler/codegen/arm/ArmRallocUtil.cc') diff --git a/src/compiler/codegen/arm/ArmRallocUtil.cc b/src/compiler/codegen/arm/ArmRallocUtil.cc index 60a5f383b3..a193a7c7f9 100644 --- a/src/compiler/codegen/arm/ArmRallocUtil.cc +++ b/src/compiler/codegen/arm/ArmRallocUtil.cc @@ -15,7 +15,7 @@ */ /* - * This file contains Arm-specific register alloction support. + * This file contains Arm-specific register allocation support. */ #include "../../CompilerUtility.h" @@ -25,6 +25,8 @@ #include "Codegen.h" #include "../Ralloc.h" +namespace art { + /* * Placeholder routine until we do proper register allocation. */ @@ -263,7 +265,7 @@ extern int oatSRegOffset(CompilationUnit* cUnit, int sReg) /* Return sp-relative offset in bytes using Method* */ -extern int oatVRegOffset(const art::DexFile::CodeItem* code_item, +extern int oatVRegOffset(const DexFile::CodeItem* code_item, uint32_t core_spills, uint32_t fp_spills, size_t frame_size, int reg) { @@ -337,3 +339,5 @@ extern RegisterInfo* oatGetRegInfo(CompilationUnit* cUnit, int reg) return FPREG(reg) ? &cUnit->regPool->FPRegs[reg & FP_REG_MASK] : &cUnit->regPool->coreRegs[reg]; } + +} // namespace art -- cgit v1.2.3-59-g8ed1b