Fix location of ICCEs and NoSuchMethodErrors.
Also add detail as to why verifier believes an ICCE.
Change-Id: Ie16ea2847fb94e157969c560a780c9345b1e7441
diff --git a/src/runtime_support.h b/src/runtime_support.h
index 260202b..c6bf0c8 100644
--- a/src/runtime_support.h
+++ b/src/runtime_support.h
@@ -58,10 +58,10 @@
Object* this_object)
SHARED_LOCKS_REQUIRED(GlobalSynchronization::mutator_lock_);
void ThrowIncompatibleClassChangeError(InvokeType expected_type, InvokeType found_type,
- Method* method)
+ Method* method, const Method* referrer)
SHARED_LOCKS_REQUIRED(GlobalSynchronization::mutator_lock_);
void ThrowNoSuchMethodError(InvokeType type, Class* c, const StringPiece& name,
- const StringPiece& signature)
+ const StringPiece& signature, const Method* referrer)
SHARED_LOCKS_REQUIRED(GlobalSynchronization::mutator_lock_);
void ThrowNewIllegalAccessErrorField(Thread* self, Class* referrer, Field* accessed)
SHARED_LOCKS_REQUIRED(GlobalSynchronization::mutator_lock_);