diff options
| author | 2012-01-23 16:57:47 -0800 | |
|---|---|---|
| committer | 2012-01-23 17:26:10 -0800 | |
| commit | 11d1b0c31ddd710d26068da8e0e4621002205b4b (patch) | |
| tree | 8d9c9c0dd5741214466775b86069032d609fd91c /src/compiler/codegen/Optimizer.h | |
| parent | bbdb1437f55948e5395b4dcb306e25605539a444 (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/Optimizer.h')
| -rw-r--r-- | src/compiler/codegen/Optimizer.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_ |