From 9609cb6ee479d5853aaf170d55b60715491c5db5 Mon Sep 17 00:00:00 2001 From: Jeff Hao Date: Fri, 5 Apr 2013 16:48:22 -0700 Subject: Remove remaining code related to compiled invoke and proxy stubs. Change-Id: Ib0b2829fed9d7efee09d098ce4db9d13f2fa2eac --- src/compiler/driver/compiler_driver.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/compiler/driver/compiler_driver.h') diff --git a/src/compiler/driver/compiler_driver.h b/src/compiler/driver/compiler_driver.h index af04cbfb17..385bc0072b 100644 --- a/src/compiler/driver/compiler_driver.h +++ b/src/compiler/driver/compiler_driver.h @@ -123,8 +123,6 @@ class CompilerDriver { CompiledMethod* GetCompiledMethod(MethodReference ref) const LOCKS_EXCLUDED(compiled_methods_lock_); - CompiledInvokeStub* FindProxyStub(const char* shorty) const; - void AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file, size_t class_def_index); bool RequiresConstructorBarrier(Thread* self, const DexFile* dex_file, size_t class_def_index); @@ -318,8 +316,6 @@ class CompilerDriver { static void CompileClass(const ParallelCompilationManager* context, size_t class_def_index) LOCKS_EXCLUDED(Locks::mutator_lock_); - void InsertProxyStub(const char* shorty, CompiledInvokeStub* compiled_proxy_stub); - std::vector code_to_patch_; std::vector methods_to_patch_; @@ -341,12 +337,6 @@ class CompilerDriver { mutable Mutex compiled_methods_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; MethodTable compiled_methods_ GUARDED_BY(compiled_methods_lock_); - typedef SafeMap InvokeStubTable; - typedef SafeMap ProxyStubTable; - // Proxy stubs created for proxy invocation delegation - mutable Mutex compiled_proxy_stubs_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; - ProxyStubTable compiled_proxy_stubs_ GUARDED_BY(compiled_proxy_stubs_lock_); - bool image_; size_t thread_count_; bool support_debugging_; @@ -380,10 +370,6 @@ class CompilerDriver { pthread_key_t tls_key_; - typedef CompiledInvokeStub* (*CreateProxyStubFn) - (CompilerDriver& driver, const char* shorty, uint32_t shorty_len); - CreateProxyStubFn create_proxy_stub_; - typedef void (*CompilerEnableAutoElfLoadingFn)(CompilerDriver& driver); CompilerEnableAutoElfLoadingFn compiler_enable_auto_elf_loading_; -- cgit v1.2.3-59-g8ed1b