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/RallocUtil.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/codegen/RallocUtil.cc') diff --git a/src/compiler/codegen/RallocUtil.cc b/src/compiler/codegen/RallocUtil.cc index 3fe3b3ad5f..7dcb95bd36 100644 --- a/src/compiler/codegen/RallocUtil.cc +++ b/src/compiler/codegen/RallocUtil.cc @@ -27,6 +27,8 @@ #include "../Dataflow.h" #include "Ralloc.h" +namespace art { + #define SREG(c, s) ((c)->regLocation[(s)].sRegLow) /* * Get the "real" sreg number associated with an sReg slot. In general, @@ -1080,3 +1082,5 @@ extern RegLocation oatGetSrcWide(CompilationUnit* cUnit, MIR* mir, DCHECK(res.wide); return res; } + +} // namespace art -- cgit v1.2.3-59-g8ed1b