summaryrefslogtreecommitdiffstats
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2014-07-11 14:52:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-10 20:09:49 +0000
commit3641ac7de8b51c0853eaaa2ba3a3ab7e65a837c5 (patch)
tree425daeee0978d1a551ede86422643da09fbe1f43 /runtime/interpreter/interpreter.cc
parenteab674a87b32794ae2c5e7d238292e56804de09d (diff)
parent4e99b3d8955131f3fc71aa113f0fa71f0092cb6f (diff)
downloadart-3641ac7de8b51c0853eaaa2ba3a3ab7e65a837c5.tar.gz
art-3641ac7de8b51c0853eaaa2ba3a3ab7e65a837c5.tar.bz2
art-3641ac7de8b51c0853eaaa2ba3a3ab7e65a837c5.zip
Merge "Add missing class initialization during compilation and tests"
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index 729444e4f..2db62f8ea 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -356,6 +356,7 @@ static inline JValue Execute(Thread* self, MethodHelper& mh, const DexFile::Code
shadow_frame.GetMethod()->GetDeclaringClass()->IsProxyClass());
DCHECK(!shadow_frame.GetMethod()->IsAbstract());
DCHECK(!shadow_frame.GetMethod()->IsNative());
+ shadow_frame.GetMethod()->GetDeclaringClass()->AssertInitializedOrInitializingInThread(self);
bool transaction_active = Runtime::Current()->IsActiveTransaction();
if (LIKELY(shadow_frame.GetMethod()->IsPreverified())) {