diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-03-06 18:11:53 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-03-07 12:09:04 -0800 |
commit | c645f1ddb7c40bea6a38eda4b3f83f6b6dec405b (patch) | |
tree | de6141864c1c011216c19dd99a2c1e2bc442dd6d /compiler | |
parent | a9d7be62735e3356cef7e8ed797c519134a17061 (diff) | |
download | art-c645f1ddb7c40bea6a38eda4b3f83f6b6dec405b.zip art-c645f1ddb7c40bea6a38eda4b3f83f6b6dec405b.tar.gz art-c645f1ddb7c40bea6a38eda4b3f83f6b6dec405b.tar.bz2 |
Add more VerifyObject calls.
Added verify object calls to SirtRef, IndirectReferenceTable,
ReferenceTable.
Removed un-needed verify object in ScopedObjectAccess / DecodeJObject
since object sources are handled.
Bug: 12934910
Change-Id: I55a46a8ea61fed2a77526eda27fd2cce97a9b125
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/dex/mir_field_info.cc | 2 | ||||
-rw-r--r-- | compiler/driver/compiler_driver-inl.h | 1 | ||||
-rw-r--r-- | compiler/driver/compiler_driver.cc | 1 | ||||
-rw-r--r-- | compiler/driver/compiler_driver.h | 1 | ||||
-rw-r--r-- | compiler/driver/compiler_driver_test.cc | 1 | ||||
-rw-r--r-- | compiler/image_writer.cc | 2 | ||||
-rw-r--r-- | compiler/oat_writer.cc | 1 |
7 files changed, 7 insertions, 2 deletions
diff --git a/compiler/dex/mir_field_info.cc b/compiler/dex/mir_field_info.cc index 96eda01..7c630e8 100644 --- a/compiler/dex/mir_field_info.cc +++ b/compiler/dex/mir_field_info.cc @@ -24,7 +24,7 @@ #include "mirror/class_loader.h" // Only to allow casts in SirtRef<ClassLoader>. #include "mirror/dex_cache.h" // Only to allow casts in SirtRef<DexCache>. #include "scoped_thread_state_change.h" -#include "sirt_ref.h" +#include "sirt_ref-inl.h" namespace art { diff --git a/compiler/driver/compiler_driver-inl.h b/compiler/driver/compiler_driver-inl.h index d401398..1499ae4 100644 --- a/compiler/driver/compiler_driver-inl.h +++ b/compiler/driver/compiler_driver-inl.h @@ -25,6 +25,7 @@ #include "mirror/dex_cache.h" #include "mirror/art_field-inl.h" #include "scoped_thread_state_change.h" +#include "sirt_ref-inl.h" namespace art { diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index fc22add..d3d58c9 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -49,6 +49,7 @@ #include "mirror/throwable.h" #include "scoped_thread_state_change.h" #include "ScopedLocalRef.h" +#include "sirt_ref-inl.h" #include "thread.h" #include "thread_pool.h" #include "trampolines/trampoline_compiler.h" diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 80a6796..ac70e5a 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -52,6 +52,7 @@ struct InlineIGetIPutData; class OatWriter; class ParallelCompilationManager; class ScopedObjectAccess; +template<class T> class SirtRef; class TimingLogger; class VerificationResults; class VerifiedMethod; diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index 2b3af62..949fade 100644 --- a/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -30,6 +30,7 @@ #include "mirror/dex_cache-inl.h" #include "mirror/object_array-inl.h" #include "mirror/object-inl.h" +#include "sirt_ref-inl.h" namespace art { diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc index 74be604..f4b507a 100644 --- a/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -50,7 +50,7 @@ #include "object_utils.h" #include "runtime.h" #include "scoped_thread_state_change.h" -#include "sirt_ref.h" +#include "sirt_ref-inl.h" #include "UniquePtr.h" #include "utils.h" diff --git a/compiler/oat_writer.cc b/compiler/oat_writer.cc index 5394bbc..ffd7b41 100644 --- a/compiler/oat_writer.cc +++ b/compiler/oat_writer.cc @@ -33,6 +33,7 @@ #include "output_stream.h" #include "safe_map.h" #include "scoped_thread_state_change.h" +#include "sirt_ref-inl.h" #include "verifier/method_verifier.h" namespace art { |