summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx')
-rw-r--r--bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx
index 98d859c69cde..1e2e94d090b2 100644
--- a/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx
@@ -30,40 +30,6 @@
#include "share.hxx"
-// Snippet code done inline
-extern "C" void privateSnippetExecutor()
-{
- // _privateSnippetExecutor is jumped to from each codeSnippet_*
- asm volatile (
- // Store potential args in general purpose registers
- " stp x6, x7, [sp, #-16]!\n"
- " stp x4, x5, [sp, #-16]!\n"
- " stp x2, x3, [sp, #-16]!\n"
- " stp x0, x1, [sp, #-16]!\n"
-
- // Store potential args in floating point/SIMD registers
- " stp d6, d7, [sp, #-16]!\n"
- " stp d4, d5, [sp, #-16]!\n"
- " stp d2, d3, [sp, #-16]!\n"
- " stp d0, d1, [sp, #-16]!\n"
-
- // First argument to cpp_vtable_call: The x15 set up in the codeSnippet instance
- " mov x0, x15\n"
-
- // Store x8 (potential pointer to return value storage) and lr
- " stp x8, lr, [sp, #-16]!\n"
-
- // Second argument: The pointer to all the above
- " mov x1, sp\n"
-
- " b _cpp_vtable_call\n"
-
- " ldp x8, lr, [sp, #0]\n"
- " add sp, sp, #144\n"
-// " ret lr\n"
- );
-}
-
extern "C" {
extern int nFunIndexes, nVtableOffsets;