diff options
author | Andreas Gampe <agampe@google.com> | 2015-01-22 20:39:27 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-01-26 14:30:40 -0800 |
commit | 0b9203e7996ee1856f620f95d95d8a273c43a3df (patch) | |
tree | a9715986cfdbb21e4d64f72b56fac255cc8b9309 /compiler/dex/compiler_internals.h | |
parent | 4dfe58d8f2d398963f31831a57fbd12e282e1196 (diff) | |
download | android_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/compiler_internals.h')
-rw-r--r-- | compiler/dex/compiler_internals.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/compiler/dex/compiler_internals.h b/compiler/dex/compiler_internals.h deleted file mode 100644 index 2019f0b28e..0000000000 --- a/compiler/dex/compiler_internals.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ART_COMPILER_DEX_COMPILER_INTERNALS_H_ -#define ART_COMPILER_DEX_COMPILER_INTERNALS_H_ - -#include <assert.h> -#include <stdbool.h> -#include <stdint.h> -#include <stdio.h> - -#include "base/logging.h" -#include "mir_graph.h" -#include "compiler_ir.h" -#include "frontend.h" // Debug flags. -#include "utils.h" - -#endif // ART_COMPILER_DEX_COMPILER_INTERNALS_H_ |