summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-03-30 11:26:50 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-03-30 11:26:50 -0700
commit0c12943976beb08b815b024dd559d3ac636d948c (patch)
treecdc4b0f807941835dd415022c914e2c0dab5dd48
parentc92653641c1334bc50e52d0f1a04201651ad312e (diff)
parent76ea39eeeff4452372d7fc45b47dfe049f4dd1de (diff)
Merge "Remove a dead file." into ics-mr1-plus-art
-rw-r--r--src/runtime_support_x86.S43
1 files changed, 0 insertions, 43 deletions
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