summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/Ralloc.h
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-01-23 16:57:47 -0800
committer Elliott Hughes <enh@google.com> 2012-01-23 17:26:10 -0800
commit11d1b0c31ddd710d26068da8e0e4621002205b4b (patch)
tree8d9c9c0dd5741214466775b86069032d609fd91c /src/compiler/codegen/Ralloc.h
parentbbdb1437f55948e5395b4dcb306e25605539a444 (diff)
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
Diffstat (limited to 'src/compiler/codegen/Ralloc.h')
-rw-r--r--src/compiler/codegen/Ralloc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/codegen/Ralloc.h b/src/compiler/codegen/Ralloc.h
index fee0e9a913..e72cdcbff4 100644
--- a/src/compiler/codegen/Ralloc.h
+++ b/src/compiler/codegen/Ralloc.h
@@ -16,6 +16,7 @@
#ifndef ART_SRC_COMPILER_RALLOC_H_
#define ART_SRC_COMPILER_RALLOC_H_
+
/*
* This file contains target independent register alloction support.
*/
@@ -25,6 +26,8 @@
#include "../Dataflow.h"
#include "arm/ArmLIR.h"
+namespace art {
+
/*
* Return most flexible allowed register class based on size.
* Bug: 2813841
@@ -237,4 +240,7 @@ extern void oatDumpCoreRegPool(CompilationUnit* cUint);
extern void oatDumpFPRegPool(CompilationUnit* cUint);
extern bool oatCheckCorePoolSanity(CompilationUnit* cUnit);
extern RegisterInfo* oatGetRegInfo(CompilationUnit* cUnit, int reg);
+
+} // namespace art
+
#endif // ART_SRC_COMPILER_RALLOC_H_