diff options
author | Stephen Hines <srhines@google.com> | 2015-03-30 17:03:43 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2015-03-30 17:03:43 -0700 |
commit | 5e3c6c15dc60c8a3bf45d14b94af90c882655096 (patch) | |
tree | 86b62cad77eca4d6b87c6bc62bfe795eaabec4af | |
parent | efcb663f31dc770ce6bdc4236338cf274795d677 (diff) | |
download | v8-5e3c6c15dc60c8a3bf45d14b94af90c882655096.tar.gz |
Turn off optimizations due to undefined behavior in assembler-arm.cc:fits_shifter.
Without this temporary fix, fits_shifter()'s undefined behavior results in broken
code. This change disables optimization on the host for the ARM target, which just
slows down host-side compilation. A future update to v8 removes the undefined
behavior and can turn optimizations back on.
Change-Id: Ib695f31354171b45ff6b8c52abacc2abde1856e4
-rw-r--r-- | Android.mksnapshot.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mksnapshot.mk b/Android.mksnapshot.mk index c38a0cd9..9d07f53c 100644 --- a/Android.mksnapshot.mk +++ b/Android.mksnapshot.mk @@ -80,7 +80,7 @@ LOCAL_CFLAGS := \ -Wno-unused-parameter \ -std=gnu++0x -LOCAL_CFLAGS_v8_target_arm += -DV8_TARGET_ARCH_ARM +LOCAL_CFLAGS_v8_target_arm += -DV8_TARGET_ARCH_ARM -O0 LOCAL_CFLAGS_v8_target_arm64 += -DV8_TARGET_ARCH_ARM64 ifeq ($(ARCH_ARM_HAVE_VFP),true) |