summaryrefslogtreecommitdiffstats
path: root/runtime/mirror
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-06-03 15:37:03 -0700
committerMathieu Chartier <mathieuc@google.com>2014-06-04 09:58:05 -0700
commitbc56fc3242ea2fad6630abdee1657f444eee8d30 (patch)
tree9a50948145747c557d1da1e0f25192573d81e0f1 /runtime/mirror
parent32640daf36acda331719766956b25661647e2461 (diff)
downloadart-bc56fc3242ea2fad6630abdee1657f444eee8d30.zip
art-bc56fc3242ea2fad6630abdee1657f444eee8d30.tar.gz
art-bc56fc3242ea2fad6630abdee1657f444eee8d30.tar.bz2
Fix compiler warnings.
Added GetReference, GetHandle to StackHandleScope to prevent the compiler from optimizing away these loads/stores from inline functions. Change-Id: I4db02dd3194665d844292e74e3a7d7c80e730e06
Diffstat (limited to 'runtime/mirror')
-rw-r--r--runtime/mirror/dex_cache-inl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/mirror/dex_cache-inl.h b/runtime/mirror/dex_cache-inl.h
index f59c3a2..7e40f64 100644
--- a/runtime/mirror/dex_cache-inl.h
+++ b/runtime/mirror/dex_cache-inl.h
@@ -19,6 +19,8 @@
#include "dex_cache.h"
+#include "runtime.h"
+
namespace art {
namespace mirror {