iOS, move assembler constants to C++

Change-Id: Iad94a2e2e55bb158d2ac42e3a67a6d94f84ffedd
This commit is contained in:
jan Iversen
2018-03-15 19:56:49 +01:00
parent d47749c769
commit aab3bffeb8
2 changed files with 5 additions and 13 deletions

View File

@@ -16,25 +16,23 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/RuntimeException.hpp>
#include <sal/log.hxx> #include <sal/log.hxx>
#include <uno/data.h> #include <uno/data.h>
#include <typelib/typedescription.hxx> #include <typelib/typedescription.hxx>
#include "bridge.hxx" #include "bridge.hxx"
#include "cppinterfaceproxy.hxx" #include "cppinterfaceproxy.hxx"
#include "types.hxx" #include "types.hxx"
#include "vtablefactory.hxx" #include "vtablefactory.hxx"
#include "share.hxx" #include "share.hxx"
extern "C" { extern "C" int codeSnippets[];
extern int nFunIndexes, nVtableOffsets; const int nFunIndexes = 8;
extern int codeSnippets[]; const int nVtableOffsets = 4;
}
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;

View File

@@ -152,12 +152,6 @@ codeSnippet_7_3:
mov x15, 3 mov x15, 3
b _privateSnippetExecutor b _privateSnippetExecutor
.globl _nFunIndexes
_nFunIndexes:
.long 8
.globl _nVtableOffsets
_nVtableOffsets:
.long 4
.globl _codeSnippets .globl _codeSnippets
_codeSnippets: _codeSnippets:
.long codeSnippet_0_0 - _codeSnippets .long codeSnippet_0_0 - _codeSnippets