From d6dee676acdd1ab0aa4e5ba6834ee7c40a6dd8ab Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Thu, 16 Oct 2014 18:36:16 -0700 Subject: dex2oat: Add a --compile-pic option Change-Id: I80e03613e3b6ac079bcbc7e068bbaae760c364c9 --- compiler/driver/compiler_driver.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'compiler/driver/compiler_driver.h') diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index c445683500..c41f7f2e44 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -400,11 +400,12 @@ class CompilerDriver { public: // TODO make private or eliminate. // Compute constant code and method pointers when possible. - void GetCodeAndMethodForDirectCall(InvokeType* type, InvokeType sharp_type, + void GetCodeAndMethodForDirectCall(/*out*/InvokeType* type, + InvokeType sharp_type, bool no_guarantee_of_dex_cache_entry, - mirror::Class* referrer_class, + const mirror::Class* referrer_class, mirror::ArtMethod* method, - int* stats_flags, + /*out*/int* stats_flags, MethodReference* target_method, uintptr_t* direct_code, uintptr_t* direct_method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); -- cgit v1.2.3-59-g8ed1b