From: mvstanton@chromium.org Date: Fri, 17 May 2013 12:33:48 +0000 (+0000) Subject: Turning off optimize-constructed-arrays to investigate a WebKit/bindings issue. X-Git-Tag: upstream/4.7.83~14198 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=239b2830ccbabd205e6443457f42245113a67d34;p=platform%2Fupstream%2Fv8.git Turning off optimize-constructed-arrays to investigate a WebKit/bindings issue. BUG= R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/15303002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14718 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/flag-definitions.h b/src/flag-definitions.h index 5c7c646..58f29b4 100644 --- a/src/flag-definitions.h +++ b/src/flag-definitions.h @@ -258,7 +258,7 @@ DEFINE_bool(unreachable_code_elimination, false, "eliminate unreachable code (hidden behind soft deopts)") DEFINE_bool(track_allocation_sites, true, "Use allocation site info to reduce transitions") -DEFINE_bool(optimize_constructed_arrays, true, +DEFINE_bool(optimize_constructed_arrays, false, "Use allocation site info on constructed arrays") DEFINE_bool(trace_osr, false, "trace on-stack replacement") DEFINE_int(stress_runs, 0, "number of stress runs") diff --git a/test/mjsunit/allocation-site-info.js b/test/mjsunit/allocation-site-info.js index 4560531..d718993 100644 --- a/test/mjsunit/allocation-site-info.js +++ b/test/mjsunit/allocation-site-info.js @@ -37,7 +37,7 @@ // support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8)); support_smi_only_arrays = true; -optimize_constructed_arrays = true; +optimize_constructed_arrays = false; if (support_smi_only_arrays) { print("Tests include smi-only arrays.");