summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/CompilerCodegen.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/CompilerCodegen.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/CompilerCodegen.h')
-rw-r--r--src/compiler/codegen/CompilerCodegen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/codegen/CompilerCodegen.h b/src/compiler/codegen/CompilerCodegen.h
index d2e5f0a631..f1ca07aced 100644
--- a/src/compiler/codegen/CompilerCodegen.h
+++ b/src/compiler/codegen/CompilerCodegen.h
@@ -19,6 +19,8 @@
#include "../CompilerIR.h"
+namespace art {
+
/* Lower middle-level IR to low-level IR for the whole method */
void oatMethodMIR2LIR(CompilationUnit* cUnit);
@@ -51,4 +53,6 @@ int oatTargetOptHint(int key);
/* Implemented in codegen/<target>/<target_variant>/ArchVariant.c */
void oatGenMemBarrier(CompilationUnit* cUnit, int barrierKind);
+} // namespace art
+
#endif // ART_SRC_COMPILER_COMPILERCODEGEN_H_