summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-03-16 14:29:17 -0700
committerIan Rogers <irogers@google.com>2013-03-16 14:29:17 -0700
commit04d7aa92bc5548bc4d272b9480614f06248194cc (patch)
tree2b399853daab91995488c7d19a694063262f6531 /src/compiler
parentaed0716b9592bb3095cdfc4b111011f9ed74877d (diff)
downloadandroid_art-04d7aa92bc5548bc4d272b9480614f06248194cc.tar.gz
android_art-04d7aa92bc5548bc4d272b9480614f06248194cc.tar.bz2
android_art-04d7aa92bc5548bc4d272b9480614f06248194cc.zip
Fix object verification.
Refactor VERIFY_OBJECT_ENABLED to become less brittle to change enum and global constant. Change-Id: Ie405106be81dce9a913730c7f46a5659582fa18b
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/driver/compiler_driver_test.cc1
-rw-r--r--src/compiler/jni/jni_compiler_test.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/driver/compiler_driver_test.cc b/src/compiler/driver/compiler_driver_test.cc
index cbfc2ae948..aef3a33e08 100644
--- a/src/compiler/driver/compiler_driver_test.cc
+++ b/src/compiler/driver/compiler_driver_test.cc
@@ -29,6 +29,7 @@
#include "mirror/dex_cache.h"
#include "mirror/abstract_method-inl.h"
#include "mirror/object_array-inl.h"
+#include "mirror/object-inl.h"
namespace art {
diff --git a/src/compiler/jni/jni_compiler_test.cc b/src/compiler/jni/jni_compiler_test.cc
index 77dd51ef6f..6c9a6dfda1 100644
--- a/src/compiler/jni/jni_compiler_test.cc
+++ b/src/compiler/jni/jni_compiler_test.cc
@@ -25,6 +25,7 @@
#include "mirror/class_loader.h"
#include "mirror/abstract_method-inl.h"
#include "mirror/object_array-inl.h"
+#include "mirror/object-inl.h"
#include "mirror/stack_trace_element.h"
#include "runtime.h"
#include "ScopedLocalRef.h"