Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-10-25 02:52:15 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-10-25 03:06:00 +0400
commit4b8629db3717a587a44b373cd10351e005b190f3 (patch)
tree4e1a5898b5209ca9dfbd3999c22560e9cb9d9b2e /deps
parent28e6403a56bcb5af4b4127c3e2fe87d2113ab3b7 (diff)
v8: remove optimization switches
Remove compiler switches from $(TOPLEVEL)/deps/v8/build/common.gypi, we set them globally in $(TOPLEVEL)/common.gypi. Commit 29d12c73 accidentally reintroduced the switches again. In particular, the 'cflags!': ['-O2','-Os'] section forced building V8 without any optimizations, resulting in a steep (~66%) performance drop on some benchmarks. Fixes #4191.
Diffstat (limited to 'deps')
-rw-r--r--deps/v8/build/common.gypi10
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi
index 5d6132c7061..7b8a32b2053 100644
--- a/deps/v8/build/common.gypi
+++ b/deps/v8/build/common.gypi
@@ -339,16 +339,6 @@
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
or OS=="android"', {
- 'cflags!': [
- '-O2',
- '-Os',
- ],
- 'cflags': [
- '-fdata-sections',
- '-ffunction-sections',
- '-fomit-frame-pointer',
- '-O3',
- ],
'conditions': [
[ 'gcc_version==44 and clang==0', {
'cflags': [