OSDN Git Service

ART: Remove some of the Mac craziness
authorAndreas Gampe <agampe@google.com>
Wed, 15 Jul 2015 06:34:44 +0000 (23:34 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 21 Jul 2015 15:09:25 +0000 (08:09 -0700)
commit4360be281a5f938e1762a1e3ec3b8a949ba05ff3
tree6d66f56c4726b5f3530d8c5d4a50133acf4626da
parent479ebe076561e4a48129ab0c78cf8ca93c44baf6
ART: Remove some of the Mac craziness

We rely on new-enough Clang/LLVM builds nowadays. The integrated
assembler supports named parameters. Throw away most of the
old duplication (effectively cutting support for older Clang
versions). The only required duplications are:

1) Clang as does not support .altmacro. However, the Clang
preprocessor works different wrt/ the GCC preprocessor
and does not give us trouble with inserted spaces.

2) On the Mac, symbols are prefixed with an underscore.

This should help to avoid breaking the Mac build when changing
the assembly code, and prepare for a complete Clang-only build
for x86 and x86-64. Switching to the integrated assembler for
the host build may be done in a follow-up CL.

Bug: 17443165
Change-Id: I1a077d4b612abc2b1b851c1bdabb5008a52e5aa6
runtime/arch/x86/asm_support_x86.S
runtime/arch/x86/quick_entrypoints_x86.S
runtime/arch/x86_64/asm_support_x86_64.S
runtime/arch/x86_64/quick_entrypoints_x86_64.S