summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkriti.s <kriti.s@samsung.com>2015-12-03 11:11:54 +0530
committercommitbot <commitbot@samsung.com>2015-12-14 13:00:29 +0530
commit31a5d6937a6a0ad1864a5d8f9242066d0d558068 (patch)
tree763353c61f9fb7490be5a9d3c9ea84a6ad488c03
parentca96b4fff2b1a086d5147ba9691c789bc51ae9b2 (diff)
downloadv8-31a5d6937a6a0ad1864a5d8f9242066d0d558068.tar.gz
v8-31a5d6937a6a0ad1864a5d8f9242066d0d558068.tar.bz2
v8-31a5d6937a6a0ad1864a5d8f9242066d0d558068.zip
[M42 Merge] Revert "Tune crankshaft flags to better suit ARM"
This reverts commit 971fca052e66e678708a89a5c4b845489c0666d9 V8 java script benchmark regression (HawkP - Tizen 3.0) Before this revert : 5741, 5787 After this revert : 6204, 6288 Other JS KPIs remain unchanged. M42 Patch: http://suprem.sec.samsung.net/gerrit/#/c/54116 Reviewed by: DaeHyun Ko, Siba Samal Change-Id: I10bb42f6071d96f826c070feb70b0e07b584b9cf Signed-off-by: kriti.s <kriti.s@samsung.com>
-rw-r--r--src/flag-definitions.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index 8c7d4df65..e4e99c388 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -305,16 +305,9 @@ DEFINE_BOOL(use_write_barrier_elimination, true,
DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels")
DEFINE_INT(max_inlined_source_size, 600,
"maximum source size in bytes considered for a single inlining")
-#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_ARM64)
- #define DEFAULT_MAX_INLINED_NODES 98
- #define DEFAULT_MAX_INLINED_NODES_CUMULATIVE 196
-#else
- #define DEFAULT_MAX_INLINED_NODES 196
- #define DEFAULT_MAX_INLINED_NODES_CUMULATIVE 400
-#endif
-DEFINE_INT(max_inlined_nodes, DEFAULT_MAX_INLINED_NODES,
+DEFINE_INT(max_inlined_nodes, 196,
"maximum number of AST nodes considered for a single inlining")
-DEFINE_INT(max_inlined_nodes_cumulative, DEFAULT_MAX_INLINED_NODES_CUMULATIVE,
+DEFINE_INT(max_inlined_nodes_cumulative, 400,
"maximum cumulative number of AST nodes considered for inlining")
DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion")
DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions")