summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/arm/codegen_arm.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-01-22 20:39:27 -0800
committerAndreas Gampe <agampe@google.com>2015-01-26 14:30:40 -0800
commit0b9203e7996ee1856f620f95d95d8a273c43a3df (patch)
treea9715986cfdbb21e4d64f72b56fac255cc8b9309 /compiler/dex/quick/arm/codegen_arm.h
parent4dfe58d8f2d398963f31831a57fbd12e282e1196 (diff)
downloadandroid_art-0b9203e7996ee1856f620f95d95d8a273c43a3df.tar.gz
android_art-0b9203e7996ee1856f620f95d95d8a273c43a3df.tar.bz2
android_art-0b9203e7996ee1856f620f95d95d8a273c43a3df.zip
ART: Some Quick cleanup
Make several fields const in CompilationUnit. May benefit some Mir2Lir code that repeats tests, and in general immutability is good. Remove compiler_internals.h and refactor some other headers to reduce overly broad imports (and thus forced recompiles on changes). Change-Id: I898405907c68923581373b5981d8a85d2e5d185a
Diffstat (limited to 'compiler/dex/quick/arm/codegen_arm.h')
-rw-r--r--compiler/dex/quick/arm/codegen_arm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/dex/quick/arm/codegen_arm.h b/compiler/dex/quick/arm/codegen_arm.h
index 6ac1849180..025e69f0ba 100644
--- a/compiler/dex/quick/arm/codegen_arm.h
+++ b/compiler/dex/quick/arm/codegen_arm.h
@@ -18,12 +18,14 @@
#define ART_COMPILER_DEX_QUICK_ARM_CODEGEN_ARM_H_
#include "arm_lir.h"
-#include "dex/compiler_internals.h"
+#include "base/logging.h"
#include "dex/quick/mir_to_lir.h"
#include "utils/arena_containers.h"
namespace art {
+struct CompilationUnit;
+
class ArmMir2Lir FINAL : public Mir2Lir {
protected:
// Inherited class for ARM backend.