summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2014-02-24 21:56:02 -0800
committer Brian Carlstrom <bdc@google.com> 2014-02-24 21:56:02 -0800
commitae7083dac2db59dcdef869e35ac44a039d888ee9 (patch)
tree65bbdbb112006237f9daeee9fd47f69a3e678f0d
parentfffb0b7e23796e5470f4fab4611f2fcc4a16979c (diff)
Add additional const
Change-Id: Ibf60cd4cfbb445189efe2439899f2a7084f1ea63
-rw-r--r--compiler/driver/compiler_callbacks_impl.h4
-rw-r--r--compiler/driver/compiler_driver.h6
-rw-r--r--dex2oat/dex2oat.cc6
3 files changed, 8 insertions, 8 deletions
diff --git a/compiler/driver/compiler_callbacks_impl.h b/compiler/driver/compiler_callbacks_impl.h
index ab57832961..fd2cd4a31d 100644
--- a/compiler/driver/compiler_callbacks_impl.h
+++ b/compiler/driver/compiler_callbacks_impl.h
@@ -50,8 +50,8 @@ class CompilerCallbacksImpl : public CompilerCallbacks {
}
private:
- VerificationResults* verification_results_;
- DexFileToMethodInlinerMap* method_inliner_map_;
+ VerificationResults* const verification_results_;
+ DexFileToMethodInlinerMap* const method_inliner_map_;
};
} // namespace art
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 5009779bed..377eb6fa34 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -558,9 +558,9 @@ class CompilerDriver {
std::vector<const CallPatchInformation*> methods_to_patch_;
std::vector<const TypePatchInformation*> classes_to_patch_;
- const CompilerOptions* compiler_options_;
- VerificationResults* verification_results_;
- DexFileToMethodInlinerMap* method_inliner_map_;
+ const CompilerOptions* const compiler_options_;
+ VerificationResults* const verification_results_;
+ DexFileToMethodInlinerMap* const method_inliner_map_;
UniquePtr<CompilerBackend> compiler_backend_;
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 6c879d0fe4..a082e36ca2 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -487,14 +487,14 @@ class Dex2Oat {
return false;
}
- const CompilerOptions* compiler_options_;
+ const CompilerOptions* const compiler_options_;
const CompilerBackend::Kind compiler_backend_;
const InstructionSet instruction_set_;
const InstructionSetFeatures instruction_set_features_;
- VerificationResults* verification_results_;
- DexFileToMethodInlinerMap* method_inliner_map_;
+ VerificationResults* const verification_results_;
+ DexFileToMethodInlinerMap* const method_inliner_map_;
Runtime* runtime_;
size_t thread_count_;
uint64_t start_ns_;