summaryrefslogtreecommitdiff
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2015-12-21 12:13:47 -0800
committer android-build-merger <android-build-merger@google.com> 2015-12-21 12:13:47 -0800
commit8a5e8d0118de17210316100e740d0417239256e9 (patch)
treecd2eae058f4f4f13b5a82ff557b7eaaf13a1ecfb /compiler/optimizing/builder.h
parentd264bab81efdc40500b41620d65a8b3930854719 (diff)
parent76b90e37dfe6eecc904017be8046dd208d30ab8b (diff)
Merge "Rename NullHandle to ScopedNullHandle"
am: 76b90e37df * commit '76b90e37dfe6eecc904017be8046dd208d30ab8b': Rename NullHandle to ScopedNullHandle
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index ca71c32802..73e85bb5e3 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -80,7 +80,8 @@ class HGraphBuilder : public ValueObject {
can_use_baseline_for_string_init_(true),
compilation_stats_(nullptr),
interpreter_metadata_(nullptr),
- dex_cache_(NullHandle<mirror::DexCache>()) {}
+ null_dex_cache_(),
+ dex_cache_(null_dex_cache_) {}
bool BuildGraph(const DexFile::CodeItem& code);
@@ -371,6 +372,7 @@ class HGraphBuilder : public ValueObject {
const uint8_t* interpreter_metadata_;
// Dex cache for dex_file_.
+ ScopedNullHandle<mirror::DexCache> null_dex_cache_;
Handle<mirror::DexCache> dex_cache_;
DISALLOW_COPY_AND_ASSIGN(HGraphBuilder);