Limit ARM instruction "strheq" to Apple's clang compiler only.

bug =
Review URL: https://webrtc-codereview.appspot.com/1111008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3583 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kma@webrtc.org 2013-03-01 00:20:10 +00:00
parent 7d052c3cb2
commit a0936a6e45

View File

@ -45,10 +45,10 @@ bl \name
.endm
#endif
// With llvm and clang compilers, for instructions ldrb, strh, etc.,
// With Apple's clang compiler, for instructions ldrb, strh, etc.,
// the condition code is after the width specifier. Here we define
// only the ones that are actually used in the assembly files.
#ifdef __llvm__
#if (defined __llvm__) && (defined __APPLE__)
.macro streqh reg1, reg2, num
strheq \reg1, \reg2, \num
.endm