Commit 4e700fe2 authored by hashimoto's avatar hashimoto Committed by Commit bot

Apply -fno-tree-sra and -fno-caller-saves only to Android

I don't know why http://crrev.com/293913 has moved these flags outside
if(is_android),
but the corresponding GYP code (build/config.gypi) is still applying
these flags only to Android.

BUG=433082

Review URL: https://codereview.chromium.org/1807163002

Cr-Commit-Position: refs/heads/master@{#381890}
parent c740d5b9
...@@ -594,7 +594,7 @@ config("compiler_codegen") { ...@@ -594,7 +594,7 @@ config("compiler_codegen") {
] ]
} }
} else if (current_cpu == "arm") { } else if (current_cpu == "arm") {
if (!is_clang) { if (is_android && !is_clang) {
# Clang doesn't support these flags. # Clang doesn't support these flags.
cflags += [ cflags += [
# The tree-sra optimization (scalar replacement for # The tree-sra optimization (scalar replacement for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment