platform/upstream/v8.git
12 years agoPrepare push to trunk. Now working on version 3.11.10.
rossberg@chromium.org [Wed, 6 Jun 2012 09:26:22 +0000 (09:26 +0000)]
Prepare push to trunk.  Now working on version 3.11.10.

R=danno@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10542022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11723 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix assertion in the debug agent.
yangguo@chromium.org [Wed, 6 Jun 2012 08:37:34 +0000 (08:37 +0000)]
Fix assertion in the debug agent.

Patch by Chris Taylor <chris@gameclosure.com>.

R=yangguo@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10543018

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRemove CheckNotRegistersEqual regexp-masm function from all architectures. This...
erik.corry@gmail.com [Wed, 6 Jun 2012 07:50:22 +0000 (07:50 +0000)]
Remove CheckNotRegistersEqual regexp-masm function from all architectures.  This is a commit of codereview.chromium.org/10066009/ for Daniel Kalmar

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoCorrectly check length when allocating string.
yangguo@chromium.org [Tue, 5 Jun 2012 17:41:59 +0000 (17:41 +0000)]
Correctly check length when allocating string.

R=jkummerow@chromium.org
BUG=
TEST=regress-regexp-overflow.js

Review URL: https://chromiumcodereview.appspot.com/10538012

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRemove one more case behind --es5_readonly flag.
rossberg@chromium.org [Tue, 5 Jun 2012 16:56:53 +0000 (16:56 +0000)]
Remove one more case behind --es5_readonly flag.

Plus add a couple of assertions.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10535011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRevert one line from r11715 because of a test failure on Windows.
ulan@chromium.org [Tue, 5 Jun 2012 14:41:01 +0000 (14:41 +0000)]
Revert one line from r11715 because of a test failure on Windows.

TEST=mjsunit/harmony/proxies
R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10532004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11718 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoMIPS: Implement correct checking for inherited readonliness on assignment.
rossberg@chromium.org [Tue, 5 Jun 2012 13:47:56 +0000 (13:47 +0000)]
MIPS: Implement correct checking for inherited readonliness on assignment.

Port r11694 (29aa05e9)

Original commit message:
Implement correct checking for inherited readonliness on assignment.

Removes 6 out of 8 of our remaining unintentional failures on test262.

Also fixes treatment of inherited setters added after the fact.

Specifically:

- In the runtime, when looking for setter callbacks in the prototype chain,
also look for read-only properties. If one is found, reject (exception in
strict mode). If a proxy is found, invoke proper trap.
Note: this folds in the CanPut function from the spec and avoids an extra
lookup over the prototype chain.

- In generated code for stores, insert a test for the maps from the prototype
chain, but only up to the object where the property already exists (which
may be the object itself).
In Hydrogen, if the found property is read-only or not cacheable (e.g. a
proxy), bail out; in a stub, generate an unconditional miss (to get an
exception in strict mode).

- Add test cases and adapt existing test expectations.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10539004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11717 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoTemporarily hack test frameworks to use the temporary flag. :(
rossberg@chromium.org [Tue, 5 Jun 2012 13:38:32 +0000 (13:38 +0000)]
Temporarily hack test frameworks to use the temporary flag. :(

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10541004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11716 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoReplace SharedFunctionInfo::EnsureCompiled with JSFunction::CompileLazy where possible.
ulan@chromium.org [Tue, 5 Jun 2012 13:15:35 +0000 (13:15 +0000)]
Replace SharedFunctionInfo::EnsureCompiled with JSFunction::CompileLazy where possible.

After we get rid of all SharedFunctionInfo::EnsureCompiled calls, it will be possible to remove the HasTrivialOuterContext() condition in Scope::AllowsLazyCompilation.

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10542002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11715 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoPut inherited readonliness behind a flag,
rossberg@chromium.org [Tue, 5 Jun 2012 12:39:07 +0000 (12:39 +0000)]
Put inherited readonliness behind a flag,
since it currently breaks WebKit bindings massively.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10535007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11714 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoClearNonLiveTransitions has to hold on to non-map values.
verwaest@chromium.org [Tue, 5 Jun 2012 11:36:57 +0000 (11:36 +0000)]
ClearNonLiveTransitions has to hold on to non-map values.
This ensures that we don't accidentally throw away getters and/or setters that are still needed. To make sure the bug gets triggered, we have to construct a situation where the map is on the live side of a live->non-live transition. This ensures that the map is passed to ClearNonLiveTransitions.

BUG=v8:2163
TEST=test/mjsunit/regress/regress-2163.js

Review URL: https://chromiumcodereview.appspot.com/10535004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoTransform HGlobalValueNumberer::AnalyzeBlock from recursive into an iteraive loop...
mmassi@chromium.org [Tue, 5 Jun 2012 08:59:39 +0000 (08:59 +0000)]
Transform HGlobalValueNumberer::AnalyzeBlock from recursive into an iteraive loop keeping the traversal state in the zone instead of on the stack.
Fixed issue 129536.

BUG=129536
TEST=

Review URL: https://chromiumcodereview.appspot.com/10520004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoProgress towards making Zones independent of Isolates and Threads.
sanjoy@chromium.org [Mon, 4 Jun 2012 14:42:58 +0000 (14:42 +0000)]
Progress towards making Zones independent of Isolates and Threads.

This CL changes some parts of the code to explicitly pass around a
Zone.  Not passing in a zone is okay too (in fact most of v8 still
doesn't), but that may incur a TLS lookup.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10443114

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoMIPS: Fix several bugs that cause crashes in soft-float mode.
danno@chromium.org [Mon, 4 Jun 2012 13:56:10 +0000 (13:56 +0000)]
MIPS: Fix several bugs that cause crashes in soft-float mode.

TEST=cctest/RobustSubStringStub,cctest/test-api/Threading,cctest/test-api/ExternalFloatArray,cctest/test-api/ExternalDoubleArray,mjsunit/external-array,mjsunit/unicodelctest

BUG=

Review URL: https://chromiumcodereview.appspot.com/10446003
Patch from Akos Palfi <palfia@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11708 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRemove temporary debug print from test wrapper.
mstarzinger@chromium.org [Mon, 4 Jun 2012 12:38:59 +0000 (12:38 +0000)]
Remove temporary debug print from test wrapper.

R=jkummerow@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10483005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11707 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix bug in __proto__ assignment transition cache where we forget the next enumeration...
erik.corry@gmail.com [Mon, 4 Jun 2012 12:07:46 +0000 (12:07 +0000)]
Fix bug in __proto__ assignment transition cache where we forget the next enumeration index resulting in wrong iteration order.
Review URL: https://chromiumcodereview.appspot.com/10515006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix deadlock when terminating debugger session.
yangguo@chromium.org [Mon, 4 Jun 2012 09:01:37 +0000 (09:01 +0000)]
Fix deadlock when terminating debugger session.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10479009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11705 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRemove unnecessary code for non-zero-length global regexps.
yangguo@chromium.org [Mon, 4 Jun 2012 08:49:17 +0000 (08:49 +0000)]
Remove unnecessary code for non-zero-length global regexps.

Also fixing a bug in the arm implementation.

BUG=
TEST=regexp-global.js

Review URL: https://chromiumcodereview.appspot.com/10383280

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11704 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoMerging ContentArray into DescriptorArray
verwaest@chromium.org [Mon, 4 Jun 2012 07:20:11 +0000 (07:20 +0000)]
Merging ContentArray into DescriptorArray

Review URL: https://chromiumcodereview.appspot.com/10412030

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11703 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoExpose last seen heap object id via v8 public api.
loislo@chromium.org [Fri, 1 Jun 2012 16:10:52 +0000 (16:10 +0000)]
Expose last seen heap object id via v8 public api.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10444137

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11702 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix grokdump inspector search for invalid addresses.
mstarzinger@chromium.org [Fri, 1 Jun 2012 12:41:31 +0000 (12:41 +0000)]
Fix grokdump inspector search for invalid addresses.

R=ulan@chromium.org
TEST=tools/grokdump.py

Review URL: https://chromiumcodereview.appspot.com/10467003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11701 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoSTATIC_ASSERT is not available in shared build.
rossberg@chromium.org [Fri, 1 Jun 2012 12:28:15 +0000 (12:28 +0000)]
STATIC_ASSERT is not available in shared build.

R=svenpanne@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10444136

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11700 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoSilence Windows warning.
rossberg@chromium.org [Fri, 1 Jun 2012 12:10:19 +0000 (12:10 +0000)]
Silence Windows warning.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10449108

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11699 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoClean up d8 ArrayBuffer implementation and fix bug in readbuffer:
rossberg@chromium.org [Fri, 1 Jun 2012 11:46:05 +0000 (11:46 +0000)]
Clean up d8 ArrayBuffer implementation and fix bug in readbuffer:

- Separate CreateExternalArrayBuffer function.
- Properly create buffers for arrays constructed with size argument only.
- Finalization of data array is tied to buffer object exclusively.
- Get rid of hidden buffer reference in array objects and size header in data.
- Use 'new' instead of 'malloc' in readbuffer.
- Test cases for additional array and buffer properties.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10459047

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11698 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoAdapt test expectations (fewer tests failing).
rossberg@chromium.org [Fri, 1 Jun 2012 11:31:54 +0000 (11:31 +0000)]
Adapt test expectations (fewer tests failing).

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10451108

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11697 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoLimit work done analyzing regexps with very large fanout.
erik.corry@gmail.com [Fri, 1 Jun 2012 11:28:52 +0000 (11:28 +0000)]
Limit work done analyzing regexps with very large fanout.
BUG=128821
Review URL: https://chromiumcodereview.appspot.com/10448117

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix merge issue.
rossberg@chromium.org [Fri, 1 Jun 2012 11:09:09 +0000 (11:09 +0000)]
Fix merge issue.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10454115

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11695 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoImplement correct checking for inherited readonliness on assignment.
rossberg@chromium.org [Fri, 1 Jun 2012 10:51:36 +0000 (10:51 +0000)]
Implement correct checking for inherited readonliness on assignment.

Removes 6 out of 8 of our remaining unintentional failures on test262.

Also fixes treatment of inherited setters added after the fact.

Specifically:

- In the runtime, when looking for setter callbacks in the prototype chain,
  also look for read-only properties. If one is found, reject (exception in
  strict mode). If a proxy is found, invoke proper trap.
  Note: this folds in the CanPut function from the spec and avoids an extra
  lookup over the prototype chain.

- In generated code for stores, insert a test for the maps from the prototype
  chain, but only up to the object where the property already exists (which
  may be the object itself).
  In Hydrogen, if the found property is read-only or not cacheable (e.g. a
  proxy), bail out; in a stub, generate an unconditional miss (to get an
  exception in strict mode).

- Add test cases and adapt existing test expectations.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10388047

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11694 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoClearNonLiveTransitions indepedent of ContentArray
verwaest@chromium.org [Fri, 1 Jun 2012 09:12:01 +0000 (09:12 +0000)]
ClearNonLiveTransitions indepedent of ContentArray

Review URL: https://chromiumcodereview.appspot.com/10387231

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11693 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoPrepare push to trunk. Now working on version 3.11.9.
verwaest@chromium.org [Thu, 31 May 2012 13:22:56 +0000 (13:22 +0000)]
Prepare push to trunk.  Now working on version 3.11.9.

R=jkummerow@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10447114

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoReport syntax errors in natives when building with mksnapshot.
erikcorry [Thu, 31 May 2012 12:26:36 +0000 (12:26 +0000)]
Report syntax errors in natives when building with mksnapshot.
Review URL: http://codereview.chromium.org/10443085

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11687 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoAvoid overdeep recursion in regexp where a guarded expression with a
erik.corry@gmail.com [Thu, 31 May 2012 11:59:04 +0000 (11:59 +0000)]
Avoid overdeep recursion in regexp where a guarded expression with a
minimum repetition count is inside another quantifier.
Bug=129926
Review URL: https://chromiumcodereview.appspot.com/10451092

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRevert r11681 https://chromiumcodereview.appspot.com/10448011
erik.corry@gmail.com [Thu, 31 May 2012 09:27:39 +0000 (09:27 +0000)]
Revert r11681 https://chromiumcodereview.appspot.com/10448011
(Keep track of which maps are associated with prototype objects so we can tune the fast-case vs. hash map heuristics accordingly.).
Reverting because the dict-mode to fast case transformation loses the iteration order information.
Review URL: https://chromiumcodereview.appspot.com/10448097

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11685 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoImplement grokdump annotations for well-known objects.
mstarzinger@chromium.org [Thu, 31 May 2012 08:01:54 +0000 (08:01 +0000)]
Implement grokdump annotations for well-known objects.

R=ulan@chromium.org
TEST=tools/grokdump.py

Review URL: https://chromiumcodereview.appspot.com/10441088

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11684 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoDecoupling MarkDescriptorArray as much as possible from the ContentArray.
verwaest@chromium.org [Wed, 30 May 2012 15:15:17 +0000 (15:15 +0000)]
Decoupling MarkDescriptorArray as much as possible from the ContentArray.

Review URL: https://chromiumcodereview.appspot.com/10417030

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11683 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoTraversableMap only dependent on DescriptorArray
verwaest@chromium.org [Wed, 30 May 2012 14:54:00 +0000 (14:54 +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/10455005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11682 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoKeep track of which maps are associated with prototype objects
erik.corry@gmail.com [Wed, 30 May 2012 14:40:57 +0000 (14:40 +0000)]
Keep track of which maps are associated with prototype objects
so we can tune the fast-case vs. hash map heuristics accordingly.
Review URL: https://chromiumcodereview.appspot.com/10448011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11681 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix broken change to d8 typed arrays.
rossberg@chromium.org [Wed, 30 May 2012 14:26:34 +0000 (14:26 +0000)]
Fix broken change to d8 typed arrays.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10441091

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11680 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoSome clean-up of typed array support in d8.
rossberg@chromium.org [Wed, 30 May 2012 13:35:29 +0000 (13:35 +0000)]
Some clean-up of typed array support in d8.

R=yangguo@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10392130

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11679 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix missing write barrier in store field stub.
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

12 years agoProxies: Fix receiver for setters inherited from proxies.
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

12 years agoProxies: Fix ToStringArray function so that it does not reject some keys.
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

12 years agoPrepare push to trunk. Now working on version 3.11.8.
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

12 years agoFixed JSObject::SetPropertyForResult (issue 2153)
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

12 years agoPrevent Windows buildbots from unnecessarily clobbering directories
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

12 years agoRevert r11665, r11666 and r11667 due to slowness.
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

12 years agoFixing debug build, missing parentheses
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

12 years agoFixing unused Map* in release build
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

12 years agoTraversableMap only dependent on DescriptorArray
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

12 years agoEnable map transitions for accessor properties.
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

12 years agoAdd explicit "python" to subprocess args in test wrapper script
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

12 years agoFix test.
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

12 years agoFix creating substring in string.replace(<global regexp>, <function>).
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

12 years agoAdd missing FastElements check.
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

12 years agoAdd comment to cctest status file.
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

12 years agoUpdate svn:ignore properties to ignore the following directories: bleeding_edge/build...
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

12 years agoClear pending functions list in FuncNameInferrer when it closes
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

12 years agomessages.js: Get better function names in stack traces.
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

12 years agoRe-land: Use map transitions when defining accessor properties.
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

12 years agoBroke line longer than 80 chars.
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

12 years agoPrepare push to trunk. Now working on version 3.11.7.
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

12 years agoMIPS: Array index computation dehoisting.
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

12 years agoSpeculative fix for ChromiumOS(ARM) cross-compile buildbots
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

12 years agoFix lint check.
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

12 years agoMIPS: Implement loop for global regexps in regexp assembler.
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

12 years agoFix build and test failures from packed array optimizations.
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

12 years agoFix RegExp.prototype.toString for incompatible receivers.
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

12 years agoImplement tracking and optimizations of packed arrays
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

12 years agoPrepare push to trunk. Now working on version 3.11.6.
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

12 years agoFix presubmit error in r11630.
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

12 years agoFix argument passing to generated regexp code in Win64.
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

12 years agoChange sentinel value for zapping of old-to-new pointers.
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

12 years agoFix harness for fuzzer to run for 100 iterations only.
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

12 years agoFix two call to masm->CallStub on x64: should pass ASTId.
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

12 years agoFix Win64 build.
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

12 years agoEliminate dominator and retained_size fields. They are calculating on front-end side...
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

12 years agoFix stack push order when reserving space for regexp registers on Windows.
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

12 years agoAdd harness script for JavaScript language fuzzer.
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

12 years agoImplement loop for global regexps in regexp assembler.
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

12 years agoEnsure integrity of ASCII strings.
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

12 years agoGrokdump -f: Automatically detect memory that is x86/x64 instructions or text and...
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

12 years agoPrepare push to trunk. Now working on version 3.11.5.
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

12 years agoSome cleanup to common.gypi. This fixes some host/target combinations that weren...
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

12 years agoDisable array index dehoisting because of performance regressions on Kraken imaging...
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

12 years agoHandle EINTR in socket functions and continue incomplete sends.
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

12 years agoFixing python deprecations.
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

12 years agoMake socket send and receive more robust and return 0 on failure.
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

12 years agoFix GCC 4.7 (C++11) compilation.
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

12 years agoSet '-m32' option for host and target platforms
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

12 years agoArray index computation dehoisting.
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

12 years agoPrepare push to trunk. Now working on version 3.11.4.
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

12 years agoDisable optimization for functions that have scopes that cannot be reconstructed...
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

12 years agoFix shared library build errors.
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

12 years agoDefine V8_EXPORT to nothing for clients of v8.
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

12 years agoCorrectly check for native error objects.
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

12 years agoRemove %_SwapElements. This inlined runtime contained an optimization that was dange...
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

12 years agoFix issue 825 (LiveEdit vs. function with no locals) for x64.
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

12 years agoSimplify v8.gyp.
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

12 years agoPrepare push to trunk. Now working on version 3.11.3.
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

12 years agoAmend regression test.
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