From 76ea39eeeff4452372d7fc45b47dfe049f4dd1de Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 29 Mar 2012 20:15:39 -0700 Subject: Remove a dead file. Replaced by "oat/runtime/x86/runtime_support_x86.S". Change-Id: Ifad2fd60fa1cc8db50e5aa4b67132c5bb2db8e8b --- src/runtime_support_x86.S | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 src/runtime_support_x86.S (limited to 'src') diff --git a/src/runtime_support_x86.S b/src/runtime_support_x86.S deleted file mode 100644 index 7fd7af11fe..0000000000 --- a/src/runtime_support_x86.S +++ /dev/null @@ -1,43 +0,0 @@ -#include "asm_support.h" - -#if defined(__APPLE__) - // Mac OS X mangles the functions with an underscore prefix - #define art_deliver_exception_from_code _art_deliver_exception_from_code - #define art_proxy_invoke_handler _art_proxy_invoke_handler - #define art_update_debugger _art_update_debugger - #define artDeliverExceptionFromCode _artDeliverExceptionFromCode -#endif - - .globl art_deliver_exception_from_code - /* - * Called by managed code, saves callee saves and then calls artThrowException - * that will place a mock Method* at the bottom of the stack. - * EAX holds the exception. - */ -art_deliver_exception_from_code: - // Create frame - pushl %edi // Save callee saves - pushl %esi - pushl %ebp - pushl $0 - pushl $0 - pushl $0 - pushl $0 // Will be clobbered to be Method* - mov %esp, %ecx - // Outgoing argument set up - pushl $0 // Alignment padding - pushl %ecx // pass SP - pushl %fs:THREAD_SELF_OFFSET // pass fs:offsetof(Thread,self_) - pushl %eax // pass Throwable* - call artDeliverExceptionFromCode // artDeliverExceptionFromCode(Throwable*, Thread*, SP) - int3 - - // TODO - .globl art_proxy_invoke_handler -art_proxy_invoke_handler: - int3 - - // TODO - .globl art_update_debugger -art_update_debugger: - int3 -- cgit v1.2.3-59-g8ed1b