Merge "Remove special x86 flag that disables tail call optimization."
This commit is contained in:
@@ -19,11 +19,8 @@ CLANG_CONFIG_x86_TARGET_EXTRA_CFLAGS := \
|
|||||||
$(CLANG_CONFIG_TARGET_EXTRA_CFLAGS) \
|
$(CLANG_CONFIG_TARGET_EXTRA_CFLAGS) \
|
||||||
$(CLANG_CONFIG_x86_EXTRA_CFLAGS) \
|
$(CLANG_CONFIG_x86_EXTRA_CFLAGS) \
|
||||||
$(CLANG_CONFIG_x86_TARGET_EXTRA_ASFLAGS) \
|
$(CLANG_CONFIG_x86_TARGET_EXTRA_ASFLAGS) \
|
||||||
-fno-optimize-sibling-calls \
|
|
||||||
-mstackrealign
|
-mstackrealign
|
||||||
|
|
||||||
# http://llvm.org/bugs/show_bug.cgi?id=15086,
|
|
||||||
# llvm tail call optimization is wrong for x86.
|
|
||||||
# -mstackrealign is needed to realign stack in native code
|
# -mstackrealign is needed to realign stack in native code
|
||||||
# that could be called from JNI, so that movaps instruction
|
# that could be called from JNI, so that movaps instruction
|
||||||
# will work on assumed stack aligned local variables.
|
# will work on assumed stack aligned local variables.
|
||||||
|
Reference in New Issue
Block a user