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/Optimizer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/codegen/Optimizer.h') diff --git a/src/compiler/codegen/Optimizer.h b/src/compiler/codegen/Optimizer.h index 307d401ff2..74a5b750cf 100644 --- a/src/compiler/codegen/Optimizer.h +++ b/src/compiler/codegen/Optimizer.h @@ -19,6 +19,8 @@ #include "../Dalvik.h" +namespace art { + #define STACK_ALIGN_WORDS 4 #define STACK_ALIGNMENT (STACK_ALIGN_WORDS * 4) @@ -29,4 +31,6 @@ struct LIR; void oatApplyLocalOptimizations(struct CompilationUnit* cUnit, struct LIR* head, struct LIR* tail); +} // namespace art + #endif // ART_SRC_COMPILER_COMPILER_OPTIMIZATION_H_ -- cgit v1.2.3-59-g8ed1b