mstarzinger@chromium.org [Tue, 29 May 2012 16:39:26 +0000 (16:39 +0000)]
Fix missing write barrier in store field stub.
R=vegorov@chromium.org
BUG=v8:2143,v8:1465,chromium:129355
TEST=cctest/test-heap/Regress2143
Review URL: https://chromiumcodereview.appspot.com/
10443052
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11678
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 29 May 2012 14:00:56 +0000 (14:00 +0000)]
Proxies: Fix receiver for setters inherited from proxies.
R=mstarzinger@chromium.org
BUG=v8:1543
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10451064
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11677
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 29 May 2012 13:57:55 +0000 (13:57 +0000)]
Proxies: Fix ToStringArray function so that it does not reject some keys.
R=mstarzinger@chromium.org
BUG=v8:1543
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10453053
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11676
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 29 May 2012 13:19:43 +0000 (13:19 +0000)]
Prepare push to trunk. Now working on version 3.11.8.
R=jkummerow@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10451065
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11673
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 29 May 2012 12:42:22 +0000 (12:42 +0000)]
Fixed JSObject::SetPropertyForResult (issue 2153)
AccessorPairs containing only holes are maps were handled incorrectly.
BUG=v8:2153
TEST=mjsunit/regress/regress-2153.js
Review URL: https://chromiumcodereview.appspot.com/
10453054
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11672
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 29 May 2012 10:00:57 +0000 (10:00 +0000)]
Prevent Windows buildbots from unnecessarily clobbering directories
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11671
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 25 May 2012 15:26:52 +0000 (15:26 +0000)]
Revert r11665, r11666 and r11667 due to slowness.
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10447033
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11668
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 25 May 2012 13:39:07 +0000 (13:39 +0000)]
Fixing debug build, missing parentheses
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10450038
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11667
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 25 May 2012 13:21:20 +0000 (13:21 +0000)]
Fixing unused Map* in release build
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10442032
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11666
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 25 May 2012 13:03:34 +0000 (13:03 +0000)]
TraversableMap only dependent on DescriptorArray
This is the first step towards merging the ContentArray into the DescriptorArray, (hence reclaiming 3 words per descriptor array).
Review URL: https://chromiumcodereview.appspot.com/
10411067
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11665
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 25 May 2012 12:32:02 +0000 (12:32 +0000)]
Enable map transitions for accessor properties.
To avoid a performance regression for context creation with snapshots, we avoid
creating a useless long map chain for regular expressions, keeping the snapshot
size almost the same as before.
Review URL: https://chromiumcodereview.appspot.com/
10440045
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11664
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 25 May 2012 12:27:23 +0000 (12:27 +0000)]
Add explicit "python" to subprocess args in test wrapper script
Review URL: https://chromiumcodereview.appspot.com/
10447031
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11663
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 25 May 2012 11:03:28 +0000 (11:03 +0000)]
Fix test.
R=mstarzinger@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10442030
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11662
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 25 May 2012 10:52:38 +0000 (10:52 +0000)]
Fix creating substring in string.replace(<global regexp>, <function>).
BUG=
TEST=regexp-global.js
Review URL: https://chromiumcodereview.appspot.com/
10454032
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11661
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Fri, 25 May 2012 09:58:40 +0000 (09:58 +0000)]
Add missing FastElements check.
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10451034
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11660
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 25 May 2012 09:25:15 +0000 (09:25 +0000)]
Add comment to cctest status file.
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10452028
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11659
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 24 May 2012 15:28:11 +0000 (15:28 +0000)]
Update svn:ignore properties to ignore the following directories: bleeding_edge/build/gyp, bleeding_edge/out, trunk/build/gyp, trunk/obj, trunk/out, trunk/build/gyp, trunk/test/mozilla/data
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11656
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Thu, 24 May 2012 12:41:55 +0000 (12:41 +0000)]
Clear pending functions list in FuncNameInferrer when it closes
BUG=v8:2146
Review URL: https://chromiumcodereview.appspot.com/
10414075
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11653
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 24 May 2012 11:00:05 +0000 (11:00 +0000)]
messages.js: Get better function names in stack traces.
CallSite.getFunctionName() is able to retrieve names for functions better than
getFunction().name. Use it in CallSite.toString().
Code by marja@chromium.org.
BUG=NONE
TEST=stack-traces.js: Added testClassNames.
Review URL: https://chromiumcodereview.appspot.com/
10384196
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11652
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 24 May 2012 10:40:24 +0000 (10:40 +0000)]
Re-land: Use map transitions when defining accessor properties.
This is basically r11496, with the following changes:
* Set back pointers in maps (cherry-picked from r11528)
* Fixed size calculation in CopyInsert, as proposed by mstarzinger/rossberg
* DefineFastAccessor uses GetCallbackObject instead of GetValue (for __proto__)
* Put the code under a new flag, which is disabled by default
* Cut down the corresponding regression test
* Adapted bootup memory test, we actually only need a bit more memory on 64bit without snapshots, which can easily explained by more live maps lying around. Note that the snapshot variants are back to their previous limits.
Next steps: Investigate any performance degradationswith the flag enabled, and finally remove the flag when things are OK. Furthermore, GetCallbackObject should be merged into GetValue, the distinction is confusing and error-prone.
Review URL: https://chromiumcodereview.appspot.com/
10445009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11651
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mmassi@chromium.org [Thu, 24 May 2012 09:59:21 +0000 (09:59 +0000)]
Broke line longer than 80 chars.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10451011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11650
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 24 May 2012 09:26:03 +0000 (09:26 +0000)]
Prepare push to trunk. Now working on version 3.11.7.
R=mstarzinger@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10442011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11645
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mmassi@chromium.org [Thu, 24 May 2012 09:22:29 +0000 (09:22 +0000)]
MIPS: Array index computation dehoisting.
Port r11596 (
0cee9fca)
Original commit message:
Array index computation dehoisting.
When an array index (in an array access) is a simple "expression + constant", just embed the constant in the array access operation so that the full index expression is (potentially) no longer used and its live range can be much shorter.
This is effective in conjunction with array bounds check removal (otherwise the index is anyway used in the check).
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10442003
Patch from Akos Palfi <palfia@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11644
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Thu, 24 May 2012 09:19:28 +0000 (09:19 +0000)]
Speculative fix for ChromiumOS(ARM) cross-compile buildbots
R=mstarzinger@chromium.org
TEST=http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28arm%29 build succeeds
Review URL: https://chromiumcodereview.appspot.com/
10432004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11643
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 24 May 2012 08:09:21 +0000 (08:09 +0000)]
Fix lint check.
R=mstarzinger@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10447008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11640
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 24 May 2012 07:29:49 +0000 (07:29 +0000)]
MIPS: Implement loop for global regexps in regexp assembler.
Port r11623 (
f153116d)
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10436012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11639
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Wed, 23 May 2012 21:15:14 +0000 (21:15 +0000)]
Fix build and test failures from packed array optimizations.
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10332317
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11638
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 23 May 2012 20:48:08 +0000 (20:48 +0000)]
Fix RegExp.prototype.toString for incompatible receivers.
BUG=v8:1981
TEST=mjsunit/regexp
Review URL: https://chromiumcodereview.appspot.com/
10426005
Patch from Ioseb Dzmanashvili <ioseb.dzmanashvili@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11637
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Wed, 23 May 2012 14:24:29 +0000 (14:24 +0000)]
Implement tracking and optimizations of packed arrays
R=jkummerow@chromium.org
TEST=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10170030
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11636
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 23 May 2012 11:58:18 +0000 (11:58 +0000)]
Prepare push to trunk. Now working on version 3.11.6.
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10411092
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11633
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 23 May 2012 11:40:38 +0000 (11:40 +0000)]
Fix presubmit error in r11630.
TBR=erik.corry@gmail.com
Review URL: https://chromiumcodereview.appspot.com/
10409091
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11632
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 23 May 2012 11:36:54 +0000 (11:36 +0000)]
Fix argument passing to generated regexp code in Win64.
R=erik.corry@gmail.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10417049
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11631
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 23 May 2012 11:17:22 +0000 (11:17 +0000)]
Change sentinel value for zapping of old-to-new pointers.
R=erik.corry@gmail.com
BUG=v8:2143
Review URL: https://chromiumcodereview.appspot.com/
10411089
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11630
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 23 May 2012 07:55:38 +0000 (07:55 +0000)]
Fix harness for fuzzer to run for 100 iterations only.
R=jkummerow@chromium.org
TEST=tools/fuzz-harness.sh
Review URL: https://chromiumcodereview.appspot.com/
10409073
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11629
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 23 May 2012 07:41:58 +0000 (07:41 +0000)]
Fix two call to masm->CallStub on x64: should pass ASTId.
Review URL: https://chromiumcodereview.appspot.com/
10383278
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11628
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 23 May 2012 07:13:10 +0000 (07:13 +0000)]
Fix Win64 build.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10414073
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11627
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
loislo@chromium.org [Wed, 23 May 2012 05:27:08 +0000 (05:27 +0000)]
Eliminate dominator and retained_size fields. They are calculating on front-end side. See meta-bug https://bugs.webkit.org/show_bug.cgi?id=87089
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/
10416035
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11626
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 22 May 2012 15:30:08 +0000 (15:30 +0000)]
Fix stack push order when reserving space for regexp registers on Windows.
TBR=erik.corry@gmail.com
BUG=
TEST=test-regexp/MacroAssemblerNativeLotsOfRegisters
Review URL: https://chromiumcodereview.appspot.com/
10407095
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11625
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 22 May 2012 15:15:44 +0000 (15:15 +0000)]
Add harness script for JavaScript language fuzzer.
R=jkummerow@chromium.org
TEST=tools/fuzz-harness.sh
Review URL: https://chromiumcodereview.appspot.com/
10407094
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11624
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 22 May 2012 14:05:44 +0000 (14:05 +0000)]
Implement loop for global regexps in regexp assembler.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10386090
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11623
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 22 May 2012 12:49:20 +0000 (12:49 +0000)]
Ensure integrity of ASCII strings.
BUG=v8:2128
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10407090
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11622
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Tue, 22 May 2012 11:08:05 +0000 (11:08 +0000)]
Grokdump -f: Automatically detect memory that is x86/x64 instructions or text and dump appropriately.
Review URL: https://chromiumcodereview.appspot.com/
10356150
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11621
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 22 May 2012 09:13:13 +0000 (09:13 +0000)]
Prepare push to trunk. Now working on version 3.11.5.
R=jkummerow@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10399122
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11618
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 22 May 2012 08:10:58 +0000 (08:10 +0000)]
Some cleanup to common.gypi. This fixes some host/target combinations that weren't working in the Make build on Mac.
Review URL: https://chromiumcodereview.appspot.com/
10416005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11617
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mmassi@chromium.org [Mon, 21 May 2012 16:22:54 +0000 (16:22 +0000)]
Disable array index dehoisting because of performance regressions on Kraken imaging-desaturate.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10383269
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11616
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 21 May 2012 12:58:48 +0000 (12:58 +0000)]
Handle EINTR in socket functions and continue incomplete sends.
Based on a patch by Ben Noordhuis <info@bnoordhuis.nl>.
BUG=v8:2098
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10416006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11609
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 21 May 2012 10:19:28 +0000 (10:19 +0000)]
Fixing python deprecations.
Original patch by Alexey Stukalov <astukalov@gmail.com>.
BUG=v8:1391
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10412022
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11604
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 21 May 2012 10:02:49 +0000 (10:02 +0000)]
Make socket send and receive more robust and return 0 on failure.
R=jkummerow@chromium.org
BUG=15719
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10412021
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11601
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 21 May 2012 09:59:28 +0000 (09:59 +0000)]
Fix GCC 4.7 (C++11) compilation.
Original patch by Olivier Goffart <ogoffart@kde.org>.
BUG=v8:2136
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10387210
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11600
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Mon, 21 May 2012 09:01:19 +0000 (09:01 +0000)]
Set '-m32' option for host and target platforms
For different host and target archs, try to check whether
their compilers support '-m32' option individually. If yes,
then add this option into cflags and ldflags. The exception is
that both host and target archs are 'x64'.
Review URL: https://chromiumcodereview.appspot.com/
10335014
Patch from Yongsheng Zhu <yongsheng.zhu@intel.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11597
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mmassi@chromium.org [Mon, 21 May 2012 07:59:50 +0000 (07:59 +0000)]
Array index computation dehoisting.
When an array index (in an array access) is a simple "expression + constant", just embed the constant in the array access operation so that the full index expression is (potentially) no longer used and its live range can be much shorter.
This is effective in conjunction with array bounds check removal (otherwise the index is anyway used in the check).
Review URL: https://chromiumcodereview.appspot.com/
10382055
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11596
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Fri, 18 May 2012 14:06:49 +0000 (14:06 +0000)]
Prepare push to trunk. Now working on version 3.11.4.
R=jkummerow@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10413005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11593
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Fri, 18 May 2012 13:06:16 +0000 (13:06 +0000)]
Disable optimization for functions that have scopes that cannot be reconstructed from the context chain.
BUG=v8:2071
TEST=mjsunit/regress/regress-2071.js
Review URL: https://chromiumcodereview.appspot.com/
10388164
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11592
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 18 May 2012 11:15:14 +0000 (11:15 +0000)]
Fix shared library build errors.
R=jkummerow@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10389203
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11591
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 18 May 2012 09:52:09 +0000 (09:52 +0000)]
Define V8_EXPORT to nothing for clients of v8.
This is to make sure that inline functions are only exported by
libv8.so and not also by all clients. This is the v8 version of
https://chromiumcodereview.appspot.com/
10386108/
This CL depends on http://codereview.chromium.org/
10310156/ landing
first.
BUG=chromium:90078
Review URL: https://chromiumcodereview.appspot.com/
10399036
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11590
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 18 May 2012 09:45:10 +0000 (09:45 +0000)]
Correctly check for native error objects.
BUG=2138
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10392158
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11589
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Thu, 17 May 2012 20:53:32 +0000 (20:53 +0000)]
Remove %_SwapElements. This inlined runtime contained an optimization that was dangerous in the presence of incremental compaction. It also prevented QuickSort from array.js from being optimized by Crankshaft, so it is probably better to do without it. We have high hopes that this will fix bug=117879.
Review URL: https://chromiumcodereview.appspot.com/
10392150
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11588
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
peter.rybin@gmail.com [Wed, 16 May 2012 21:15:24 +0000 (21:15 +0000)]
Fix issue 825 (LiveEdit vs. function with no locals) for x64.
Review URL: https://chromiumcodereview.appspot.com/
10387116
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11587
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 16 May 2012 15:48:06 +0000 (15:48 +0000)]
Simplify v8.gyp.
Based on http://codereview.chromium.org/
10310156
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10398057
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11586
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 16 May 2012 12:35:01 +0000 (12:35 +0000)]
Prepare push to trunk. Now working on version 3.11.3.
R=ulan@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10332194
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11581
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 16 May 2012 12:26:11 +0000 (12:26 +0000)]
Amend regression test.
R=rossberg@chromium.org
BUG=128146
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10382196
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11580
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 16 May 2012 11:15:30 +0000 (11:15 +0000)]
Add missing test for transcendental functions.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10389169
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11579
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 16 May 2012 11:07:54 +0000 (11:07 +0000)]
Revert r11496.
CL being reverted: https://chromiumcodereview.appspot.com/
10238005
BUG=128146
TEST=regress-128146
Review URL: https://chromiumcodereview.appspot.com/
10386166
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11578
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 16 May 2012 10:07:50 +0000 (10:07 +0000)]
Implement map collection for incremental marking.
This causes map transitions to be treated weakly during incremental
marking and hence allows clearing of non-live transitions. The marking
code is now shared between incremental and non-incremental mode.
R=vegorov@chromium.org
BUG=v8:1465
TEST=cctest/test-heap/Regress1465
Review URL: https://chromiumcodereview.appspot.com/
10310168
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11577
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Wed, 16 May 2012 09:07:57 +0000 (09:07 +0000)]
MIPS: Fix simplification of DoLoadNamedFieldPolymorphic. This is a commit of https://chromiumcodereview.appspot.com/
10391096/ for Akos Palfi
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11572
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 16 May 2012 07:52:41 +0000 (07:52 +0000)]
Fix CreateEmptyFunction to not share descriptor array.
R=ulan@chromium.org
BUG=v8:1465
Review URL: https://chromiumcodereview.appspot.com/
10388158
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11571
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 15 May 2012 16:17:53 +0000 (16:17 +0000)]
Always transition empty FAST_DOUBLE_ARRAYs on push
R=mstarzinger@chromium.org
BUG=chromium:128018
TEST=test/mjsunit/regress/regress-128018.js
Review URL: https://chromiumcodereview.appspot.com/
10387130
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11570
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 15 May 2012 15:45:38 +0000 (15:45 +0000)]
Add zapping of Map contents in debug mode.
This zaps the contents of stale descriptor arrays and prototype
transition arrays before overwriting references to them. It should help
to discover accidental sharing early and is needed for the heap verifier
when map collection with incremental marking lands.
R=ulan@chromium.org
BUG=v8:1465
Review URL: https://chromiumcodereview.appspot.com/
10383186
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11569
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 15 May 2012 12:24:44 +0000 (12:24 +0000)]
messages.js: Add toString to CallSite (which describes a frame of the stack trace).
This is useful for users who overwrite Error.prepareStackTrace but want to use
this functionality for formatting the individual frames.
BUG=NONE
TEST=NONE
Review URL: https://chromiumcodereview.appspot.com/
10388140
Review URL: https://chromiumcodereview.appspot.com/
10332172
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11568
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 15 May 2012 12:13:18 +0000 (12:13 +0000)]
Prepare push to trunk. Now working on version 3.11.2.
R=ulan@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10389144
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11565
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 15 May 2012 12:01:23 +0000 (12:01 +0000)]
Revert r11556 and r11558 to allow roll.
R=yangguo@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10383182
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11564
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 15 May 2012 11:00:30 +0000 (11:00 +0000)]
Add a readbuffer function to d8, that reads a file into an ArrayBuffer.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10388140
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11563
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Tue, 15 May 2012 09:54:54 +0000 (09:54 +0000)]
Add a little more post morten debug info for the minidump.
Review URL: https://chromiumcodereview.appspot.com/
10387127
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11562
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 15 May 2012 09:21:49 +0000 (09:21 +0000)]
Fix freebsd build.
BUG=2126
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10381149
Patch from Geoffrey Garside <ggarside@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11561
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 15 May 2012 09:21:18 +0000 (09:21 +0000)]
Improve typed arrays support in d8.
Add properties buffer, byteLength, and byteOffset to typed arrays.
R=yangguo@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10389140
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11560
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 15 May 2012 09:19:00 +0000 (09:19 +0000)]
Fix ucontext structure for Android on x86
Review URL: https://chromiumcodereview.appspot.com/
10310116
Patch from Lijuan Xiao <lijuan.xiao@intel.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11559
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 15 May 2012 09:08:31 +0000 (09:08 +0000)]
Fix regression test from r11556 for no-snapshot.
R=yangguo@chromium.org
BUG=v8:1465
TEST=cctest/test-heap/Regress1465
Review URL: https://chromiumcodereview.appspot.com/
10391136
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11558
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 15 May 2012 09:01:06 +0000 (09:01 +0000)]
Revert flag change for global semantics.
(Still breaks a couple of WebKit tests.)
R=mstarzinger@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10381147
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11557
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 15 May 2012 08:39:25 +0000 (08:39 +0000)]
Implement map collection for incremental marking.
This causes map transitions to be treated weakly during incremental
marking and hence allows clearing of non-live transitions. The marking
code is now shared between incremental and non-incremental mode.
R=vegorov@chromium.org
BUG=v8:1465
TEST=cctest/test-heap/Regress1465
Review URL: https://chromiumcodereview.appspot.com/
10386046
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11556
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Mon, 14 May 2012 07:57:56 +0000 (07:57 +0000)]
Add -f or --full flag to grokdump to dump all available memory areas from the minidump.
Review URL: https://chromiumcodereview.appspot.com/
10332137
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11554
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alexeif@chromium.org [Sat, 12 May 2012 16:41:13 +0000 (16:41 +0000)]
Serialize heap snapshot data as an array of unsigned values.
None of the values can in fact be negative, while object IDs
can have the highest bit set which lead to negative values appear
in the snapshot that front-end is unable to parse.
Review URL: https://chromiumcodereview.appspot.com/
10356143
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11553
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 11 May 2012 14:57:47 +0000 (14:57 +0000)]
Prepare push to trunk. Now working on version 3.11.1.
R=yangguo@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10389094
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11550
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 11 May 2012 13:52:16 +0000 (13:52 +0000)]
GYP build: Provide automatic host_arch detection on Mac
TEST="make x64.release" works fine on MacOS
Review URL: https://chromiumcodereview.appspot.com/
10310123
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11547
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 11 May 2012 12:18:09 +0000 (12:18 +0000)]
Prepare for using GYP build on buildbots
Review URL: https://chromiumcodereview.appspot.com/
10383128
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11546
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 11 May 2012 09:13:02 +0000 (09:13 +0000)]
Simplify DoLoadNamedFieldPolymorphic
Review URL: https://chromiumcodereview.appspot.com/
10386089
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11543
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Thu, 10 May 2012 21:25:49 +0000 (21:25 +0000)]
Fix compose-discard crasher from 11524 - port to x64, ARM, MIPS.
This is now bug 2123.
TBR=mstarzinger
Review URL: https://chromiumcodereview.appspot.com/
10391061
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11540
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Thu, 10 May 2012 20:34:06 +0000 (20:34 +0000)]
Fix compose-discard crasher from 11524. We can't do a call (to a generic
stub) unless there is a pointer map. This does not fix the 3d-raytrace
regression, that will be in another change.
Review URL: https://chromiumcodereview.appspot.com/
10382102
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11539
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alexeif@chromium.org [Thu, 10 May 2012 15:55:19 +0000 (15:55 +0000)]
Set object tags directly to the entry name in heap profiler.
Review URL: https://chromiumcodereview.appspot.com/
10382106
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11538
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Thu, 10 May 2012 12:44:15 +0000 (12:44 +0000)]
Extend grokdump with basic interactive shell capabilities.
Supported commands:
- dd: to print memory region
- s: to search for a word in available memory regions
- list: to list available memory regions
R=mstarzinger@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10378087
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11537
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Thu, 10 May 2012 10:35:42 +0000 (10:35 +0000)]
Activate new global semantics by default.
R=mstarzinger@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10383085
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11536
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alexeif@chromium.org [Thu, 10 May 2012 09:17:32 +0000 (09:17 +0000)]
Merge SetObjectNames extra pass into the main pass.
Because heap snapshotting is now performed in a single pass
it is safe to make calls to GetConstructorName and further to
LocalLookupRealNamedProperty right within that main pass.
Review URL: https://chromiumcodereview.appspot.com/
10332087
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11535
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alexeif@chromium.org [Wed, 9 May 2012 15:49:03 +0000 (15:49 +0000)]
Fix formatting.
TBR=mnaganov@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
10356075
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11534
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Wed, 9 May 2012 15:18:50 +0000 (15:18 +0000)]
Properly set ElementsKind of empty FAST_DOUBLE_ELEMENTS arrays when transitioning.
R=jkummerow@chromium.org
BUG=chromium:117409
TEST=test/mjsunit/regress/regress-117409.js
Review URL: https://chromiumcodereview.appspot.com/
10386045
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11533
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
fschneider@chromium.org [Wed, 9 May 2012 14:34:27 +0000 (14:34 +0000)]
Declare more functions returing a MaybeObject* with MUST_USE_RESULT.
No violations found this time.
Additionally I changed one function JSDate::GetField that never returns
a failure to return a Object* instead.
Review URL: https://chromiumcodereview.appspot.com/
10383088
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11532
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alexeif@chromium.org [Wed, 9 May 2012 14:34:13 +0000 (14:34 +0000)]
Split nodes and edges into separate arrays in heap profiler.
This allowed the following changes:
- heap profiler now makes one pass less over the heap.
- HeapEntriesMap does not allocate EntryInfo per each entry.
- there's no need for an extra pass to set indexes before serialization.
As a result snapshot taking time has reduced up to 2x times.
Review URL: https://chromiumcodereview.appspot.com/
10353010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11531
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
fschneider@chromium.org [Wed, 9 May 2012 12:49:56 +0000 (12:49 +0000)]
Force checking of result on all functions in elements.h that return MaybeObject*.
Add two missing failure checks found by this.
Review URL: https://chromiumcodereview.appspot.com/
10356071
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11530
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Wed, 9 May 2012 12:35:11 +0000 (12:35 +0000)]
Make Error.prototype.name writable again, as required by the spec and the web.
Address http://code.google.com/p/chromium/issues/detail?id=69187 by instead
ignoring getters on ReferenceError.prototype.name in Error.prototype.toString.
And while we're at it, do the same for SyntaxError and TypeError, and the
properties "message", "type", and "arguments" on all of them, which
potentially have similar issues.
R=danno@chromium.org
BUG=69187
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10234004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11529
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 9 May 2012 07:29:18 +0000 (07:29 +0000)]
Implement explicit back pointers in transition tree.
This makes back pointers in the map transition tree explicit by having
accurate back pointers throughout the lifetime of maps instead of
establishing and destroying back pointers before and after each marking
phase. This is a prerequisite for being able to clear map transitions
during incremental marking.
R=vegorov@chromium.org
BUG=v8:1465
Review URL: https://chromiumcodereview.appspot.com/
10381053
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11528
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 8 May 2012 12:38:24 +0000 (12:38 +0000)]
Force inlining CopyChars and String::Get.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10332054
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11527
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Tue, 8 May 2012 12:30:36 +0000 (12:30 +0000)]
Fix function sorter from 11482 with correct fix. The sorter
was reverted from trunk 3.10.8.1, with this change we can
repush it.
Review URL: https://chromiumcodereview.appspot.com/
10377043
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11526
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00