platform/upstream/v8.git
12 years agoMIPS: Some assembler-level optimizations on ARM.
yangguo@chromium.org [Tue, 31 Jan 2012 12:45:27 +0000 (12:45 +0000)]
MIPS: Some assembler-level optimizations on ARM.

Port r10541 (0aab14ba).

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9296046
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoMIPS: Improve register allocation for Lithium representation changes on ARM
danno@chromium.org [Tue, 31 Jan 2012 12:33:46 +0000 (12:33 +0000)]
MIPS: Improve register allocation for Lithium representation changes on ARM

Port r10538 (21c5dc1).

MIPS-specific changes:
-moved MacroAssembler::SmiTagCheckOverflow definition to macro-assembler-mips.cc from the header
-added optimized 3-argument version of said function
-removed the related, completely unused TrySmiTag function

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9296045
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoFix test case to correctly check expected result.
mstarzinger@chromium.org [Tue, 31 Jan 2012 12:31:24 +0000 (12:31 +0000)]
Fix test case to correctly check expected result.

R=vegorov@chromium.org
TEST=mjsunit/regress/regress-1229

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

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

12 years agoMore compile breakage.
erik.corry@gmail.com [Tue, 31 Jan 2012 12:15:21 +0000 (12:15 +0000)]
More compile breakage.
Review URL: https://chromiumcodereview.appspot.com/9303030

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

12 years agoAdd GC handling for new field in DeoptimizedFrameInfo.
yangguo@chromium.org [Tue, 31 Jan 2012 12:08:33 +0000 (12:08 +0000)]
Add GC handling for new field in DeoptimizedFrameInfo.

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

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

12 years agoFix compile error on Mac.
erik.corry@gmail.com [Tue, 31 Jan 2012 12:06:00 +0000 (12:06 +0000)]
Fix compile error on Mac.
Review URL: https://chromiumcodereview.appspot.com/9293032

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

12 years agoReduce memory use immediately after boot.
erik.corry@gmail.com [Tue, 31 Jan 2012 11:22:35 +0000 (11:22 +0000)]
Reduce memory use immediately after boot.
This is a recommit of https://chromiumcodereview.appspot.com/9289047
with changes noted in comments in the codereview tool.
Review URL: https://chromiumcodereview.appspot.com/9233050

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

12 years agoAdd a script to automatically merge patches to a branch
danno@chromium.org [Tue, 31 Jan 2012 11:17:17 +0000 (11:17 +0000)]
Add a script to automatically merge patches to a branch

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

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

12 years agoMIPS: Add signal context definitions for use with Android. (2nd try)
danno@chromium.org [Tue, 31 Jan 2012 08:41:16 +0000 (08:41 +0000)]
MIPS: Add signal context definitions for use with Android. (2nd try)

As with Arm, the kernel defines this stuff, but bionic lib does not.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9298016
Patch from Paul Lind <plind44@gmail.com>.

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

12 years agoGet rid of a useless helper method in the register allocator.
fschneider@chromium.org [Mon, 30 Jan 2012 15:40:50 +0000 (15:40 +0000)]
Get rid of a useless helper method in the register allocator.

Reading the virtual register from a LOperand is only needed used for
unallocated LOperands (LUnallocated). There is no need for having a
method for that on LOperand.
Review URL: http://codereview.chromium.org/9293003

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

12 years agoFix dictionary size for type feedback oracle.
mstarzinger@chromium.org [Mon, 30 Jan 2012 15:24:35 +0000 (15:24 +0000)]
Fix dictionary size for type feedback oracle.

R=erik.corry@gmail.com

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

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

12 years agoFix for an obscure ARM GCC bug
svenpanne@chromium.org [Mon, 30 Jan 2012 14:57:36 +0000 (14:57 +0000)]
Fix for an obscure ARM GCC bug

Removing 2 "static" modifiers which didn't really serve a purpose did
the trick...

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

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

12 years agoHandle CALLBACKS with map transitions when doing GC in the map tree.
svenpanne@chromium.org [Mon, 30 Jan 2012 14:23:35 +0000 (14:23 +0000)]
Handle CALLBACKS with map transitions when doing GC in the map tree.

This is yet anoter part of a long chain of CLs to achieve map sharing
when JavaScript accessors are used.

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

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

12 years agoFind correct source position in inlined functions on debug break.
yangguo@chromium.org [Mon, 30 Jan 2012 13:07:01 +0000 (13:07 +0000)]
Find correct source position in inlined functions on debug break.

BUG=110010
TEST=test-debug/DebugBreakInline

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

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

12 years agoInline an inline function into the CHECK macro
svenpanne@chromium.org [Mon, 30 Jan 2012 13:02:48 +0000 (13:02 +0000)]
Inline an inline function into the CHECK macro

CheckHelper was only used within the macro itself. Furthermore, GCC
with -Winline was not always happy with the inline function. Simple
solution: Inline the inline function into the macro itself. Inlining
squared!

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

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

12 years agoRemoving some dead flags.
yangguo@chromium.org [Mon, 30 Jan 2012 12:25:29 +0000 (12:25 +0000)]
Removing some dead flags.

BUG=
TEST=

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

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

12 years agoRemove a dead method from lithium-* files.
fschneider@chromium.org [Mon, 30 Jan 2012 12:16:31 +0000 (12:16 +0000)]
Remove a dead method from lithium-* files.
Review URL: http://codereview.chromium.org/9297059

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

12 years agoMIPS: Fix and adapt debugger for new call target caches.
mstarzinger@chromium.org [Mon, 30 Jan 2012 11:10:14 +0000 (11:10 +0000)]
MIPS: Fix and adapt debugger for new call target caches.

Port of r10540.

R=yangguo@chromium.org
TEST=mjsunit/debug-stepout-scope

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

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

12 years agoMIPS: Implement target cache for constructor calls.
mstarzinger@chromium.org [Mon, 30 Jan 2012 10:58:22 +0000 (10:58 +0000)]
MIPS: Implement target cache for constructor calls.

Port r10531 (d61db240).

Original commit message:

This caches call targets of constructor calls by associating one element
caches with call sites. The type feedback oracle can use the recorded
valued to gather type information for monomorphic constructor call sites.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9298014
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoFix presubmit.
yangguo@chromium.org [Mon, 30 Jan 2012 10:49:25 +0000 (10:49 +0000)]
Fix presubmit.

BUG=
TEST=

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

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

12 years agoRevert 10542 (boot time memory reduction) due to map alignment
erik.corry@gmail.com [Mon, 30 Jan 2012 10:20:13 +0000 (10:20 +0000)]
Revert 10542 (boot time memory reduction) due to map alignment
issues on 64 bit.
Review URL: https://chromiumcodereview.appspot.com/9295047

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

12 years agoInclude what you use for the files zone*
yangguo@chromium.org [Mon, 30 Jan 2012 10:13:21 +0000 (10:13 +0000)]
Include what you use for the files zone*

BUG=
TEST=

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

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

12 years agoReduce boot-up memory use of V8.
erik.corry@gmail.com [Mon, 30 Jan 2012 09:15:34 +0000 (09:15 +0000)]
Reduce boot-up memory use of V8.
This is a recommit of http://codereview.chromium.org/9179012
after fixing what turned out to be unrelated out-of-memory
errors.
That was a rebase of http://codereview.chromium.org/9017009/
Review URL: https://chromiumcodereview.appspot.com/9289047

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

12 years agoSome assembler-level optimizations on ARM.
yangguo@chromium.org [Fri, 27 Jan 2012 16:54:22 +0000 (16:54 +0000)]
Some assembler-level optimizations on ARM.

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

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

12 years agoFix and adapt debugger for new call target caches.
mstarzinger@chromium.org [Fri, 27 Jan 2012 16:09:20 +0000 (16:09 +0000)]
Fix and adapt debugger for new call target caches.

R=yangguo@chromium.org
TEST=mjsunit/debug-stepout-scope

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

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

12 years agoBreak a circular include dependency.
kmillikin@chromium.org [Fri, 27 Jan 2012 15:53:24 +0000 (15:53 +0000)]
Break a circular include dependency.

1. heap-inl.h has a function Heap::_inline_get_heap_ that calls
Isolate::Current() defined in isolate.h, so heap-inl.h requires
isolate.h.

2. Isolate has an embedded Heap member, so isolate.h requires heap.h.

3. heap.h has inline functions functions defined that call
Heap::_inline_get_heap_, so heap.h requires heap-inl.h (!).

The upshot is that all three need to be included wherever one is.  A
simpler way is to break the cycle by moving the inlined functions in
heap.h to heap-inl.h.

R=vegorov@chromium.org
BUG=
TEST=

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

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

12 years agoImprove register allocation for Lithium representation changes on ARM
danno@chromium.org [Fri, 27 Jan 2012 14:55:20 +0000 (14:55 +0000)]
Improve register allocation for Lithium representation changes on ARM

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/9207006
Patch from Martyn Capewell <m.m.capewell@googlemail.com>.

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

12 years agoMIPS: Store transitioned JSArray maps in global context
danno@chromium.org [Fri, 27 Jan 2012 14:40:42 +0000 (14:40 +0000)]
MIPS: Store transitioned JSArray maps in global context

Port r10523 (79463).

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9298011
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoFix build for ARM in release mode after r10531.
mstarzinger@chromium.org [Fri, 27 Jan 2012 13:20:01 +0000 (13:20 +0000)]
Fix build for ARM in release mode after r10531.

TBR=erik.corry@gmail.com

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

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

12 years agoAnother fix for Linux64 compilation.
loislo@chromium.org [Fri, 27 Jan 2012 13:09:15 +0000 (13:09 +0000)]
Another fix for Linux64 compilation.

BUG=none
TEST=none
TBR=mnaganov

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

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

12 years agoDo not turn on typeof null reform with --harmony switch.
rossberg@chromium.org [Fri, 27 Jan 2012 13:07:39 +0000 (13:07 +0000)]
Do not turn on typeof null reform with --harmony switch.

R=yangguo@chromium.org
BUG=v8:1913
TEST=

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

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

12 years agoImplement target cache for constructor calls.
mstarzinger@chromium.org [Fri, 27 Jan 2012 13:03:19 +0000 (13:03 +0000)]
Implement target cache for constructor calls.

This caches call targets of constructor calls by associating one element
caches with call sites. The type feedback oracle can use the recorded
valued to gather type information for monomorphic constructor call sites.

R=kmillikin@chromium.org,vegorov@chromium.org

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

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

12 years agoBuild fix for Linux64 after r10529.
loislo@chromium.org [Fri, 27 Jan 2012 13:01:16 +0000 (13:01 +0000)]
Build fix for Linux64 after r10529.

BUG=none
TEST=none
TBR=mnaganov

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

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

12 years agoBuild fix for Win64 bot after r10528.
loislo@chromium.org [Fri, 27 Jan 2012 12:36:13 +0000 (12:36 +0000)]
Build fix for Win64 bot after r10528.

BUG=none
TEST=none
TBR=mnaganov

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

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

12 years agoDetailed heap snapshot usability improvement.
loislo@chromium.org [Fri, 27 Jan 2012 12:02:57 +0000 (12:02 +0000)]
Detailed heap snapshot usability improvement.

The detailed heap snapshot has two groups of nodes. The first one
is the group for v8 heap nodes and the second one is the group for
native objects. At the moment we have two different sets of native
objects. There are 'Detached DOM trees' and 'Document DOM trees' type of objects.

I think it'd be nice to replace one group containing all native objects with
separate groups for different types of native objects.

BUG=none
TEST=HeapSnapshotRetainedObjectInfo

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

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

12 years agoRollback 10525: MIPS: Add signal context definitions for use with Android.
danno@chromium.org [Fri, 27 Jan 2012 11:43:40 +0000 (11:43 +0000)]
Rollback 10525: MIPS: Add signal context definitions for use with Android.

TBR=ulan@chromium.org
BUG=
TEST=

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

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

12 years agoBy popular demand: Slightly more honest typing in ClearNonLiveMapTransitions
svenpanne@chromium.org [Fri, 27 Jan 2012 09:34:05 +0000 (09:34 +0000)]
By popular demand: Slightly more honest typing in ClearNonLiveMapTransitions

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

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

12 years agoMIPS: Add signal context definitions for use with Android.
danno@chromium.org [Fri, 27 Jan 2012 08:59:42 +0000 (08:59 +0000)]
MIPS: Add signal context definitions for use with Android.

As with Arm, the kernel defines this stuff, but bionic lib does not.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9298003
Patch from Paul Lind <plind44@gmail.com>.

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

12 years agoAdd undefined check for default Array map in ArrayCodeGenericCommon
danno@chromium.org [Thu, 26 Jan 2012 22:33:54 +0000 (22:33 +0000)]
Add undefined check for default Array map in ArrayCodeGenericCommon

TBR=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoStore transitioned JSArray maps in global context
danno@chromium.org [Thu, 26 Jan 2012 21:47:57 +0000 (21:47 +0000)]
Store transitioned JSArray maps in global context

BUG=
TEST=

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

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

12 years agoMIPS: Added Android-specific version of cacheflush call.
danno@chromium.org [Thu, 26 Jan 2012 16:54:44 +0000 (16:54 +0000)]
MIPS: Added Android-specific version of cacheflush call.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9234059
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoUse cmp instead of tst to check for zero.
yangguo@chromium.org [Thu, 26 Jan 2012 16:05:28 +0000 (16:05 +0000)]
Use cmp instead of tst to check for zero.

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

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

12 years agoMIPS: Reverted the number of deopt entries to 4096.
fschneider@chromium.org [Thu, 26 Jan 2012 15:53:21 +0000 (15:53 +0000)]
MIPS: Reverted the number of deopt entries to 4096.

On MIPS we cannot double the number of deoptimization entries easily
because the generated code would contain long branches (>128K) and we use
BlockTrampolinePoolScope in the Deoptimizer::TableEntryGenerator::GeneratePrologue method.
Also, we cannot use the Jr instruction here because the Deoptimizer::CreateCode method asserts
that the generated code does not contain reloc information.

BUG=
TEST=
Patch from Daniel Kalmar.
Review URL: http://codereview.chromium.org/9169079

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

12 years agoFlush number string cache on GC (bug 1605). Also start with a small
erik.corry@gmail.com [Thu, 26 Jan 2012 11:32:01 +0000 (11:32 +0000)]
Flush number string cache on GC (bug 1605).  Also start with a small
number string cache and only grow it if needed, which will be useful
for saving boot time memory use.
This is a second try for  https://chromiumcodereview.appspot.com/923502
after fixing an unrelated stack overflow issue.
Review URL: https://chromiumcodereview.appspot.com/9169080

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

12 years agoMIPS: Support inlining at call-sites with mismatched number of arguments.
vegorov@chromium.org [Thu, 26 Jan 2012 11:26:45 +0000 (11:26 +0000)]
MIPS: Support inlining at call-sites with mismatched number of arguments.

Port r10483 (8785a3ef)

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9271068
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoFix intermittent stack overflow in Hydrogen code generation in tests.
erik.corry@gmail.com [Thu, 26 Jan 2012 11:14:19 +0000 (11:14 +0000)]
Fix intermittent stack overflow in Hydrogen code generation in tests.
Review URL: https://chromiumcodereview.appspot.com/9290044

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

12 years agoPrepare push to trunk. Now working on version 3.9.0.
yangguo@chromium.org [Thu, 26 Jan 2012 07:35:56 +0000 (07:35 +0000)]
Prepare push to trunk.  Now working on version 3.9.0.

R=svenpanne@chromium.org

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

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

12 years agoInclude what you use for allocation, api, assembler, and ast.
kmillikin@chromium.org [Wed, 25 Jan 2012 16:31:25 +0000 (16:31 +0000)]
Include what you use for allocation, api, assembler, and ast.

R=fschneider@chromium.org
BUG=
TEST=

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

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

12 years agoRevert 10502 (smaller number string cache) due to test failures.
erik.corry@gmail.com [Wed, 25 Jan 2012 15:17:26 +0000 (15:17 +0000)]
Revert 10502 (smaller number string cache) due to test failures.
Review URL: https://chromiumcodereview.appspot.com/9113060

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

12 years agoWhen preparing heap for breakpoints make sure not to flush away non-optimized code...
vegorov@chromium.org [Wed, 25 Jan 2012 15:11:59 +0000 (15:11 +0000)]
When preparing heap for breakpoints make sure not to flush away non-optimized code for inlined functions.

Debug::PrepareForBreakPoints was not fully populating active_functions list.

R=erik.corry@gmail.com
TEST=test/mjsunit/regress/regress-debug-code-recompilation.js

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

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

12 years agoFlush number string cache on GC (bug 1605). Also start with a small
erik.corry@gmail.com [Wed, 25 Jan 2012 14:27:58 +0000 (14:27 +0000)]
Flush number string cache on GC (bug 1605).  Also start with a small
number string cache and only grow it if needed, which will be useful
for saving boot time memory use.
Review URL: https://chromiumcodereview.appspot.com/9235029

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

12 years agoRefactoring only: Extracted 2 methods from ClearNonLiveTransitions
svenpanne@chromium.org [Wed, 25 Jan 2012 14:22:59 +0000 (14:22 +0000)]
Refactoring only: Extracted 2 methods from ClearNonLiveTransitions

This simple refactoring makes it very clear that clearing non-live transitions
actually consists of 2 quite separate things. Things would even be nicer if the
prototype transitions were represented by a separate data structure instead of
reusing FixedArray in an interesting way once again.

As an additional bonus, this CL makes it possible to read each of the methods in
question on a 30" screen without scrolling!

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

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

12 years agoFix responsiveness of high promotion mode heuristics.
mstarzinger@chromium.org [Wed, 25 Jan 2012 13:46:42 +0000 (13:46 +0000)]
Fix responsiveness of high promotion mode heuristics.

This changes the heuristics for the high promotion mode to be checked
on all GCs (including scavenges), so that changes in the applications
behavior are recognized earlier. It also fixes miscalculations in the
survival counter and rate which caused heuristics to fail completely.

R=vegorov@chromium.org
BUG=v8:1899

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

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

12 years agoProvide access to function inferred name in v8 public API
yurys@chromium.org [Wed, 25 Jan 2012 12:45:54 +0000 (12:45 +0000)]
Provide access to function inferred name in v8 public API
Review URL: https://chromiumcodereview.appspot.com/9146039

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

12 years agoFix disasm assertions for undefined instructions.
danno@chromium.org [Wed, 25 Jan 2012 12:43:32 +0000 (12:43 +0000)]
Fix disasm assertions for undefined instructions.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/9228006
Patch from Martyn Capewell <m.m.capewell@googlemail.com>.

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

12 years agoMIPS: added --mips-arch-variant option to test.py.
danno@chromium.org [Wed, 25 Jan 2012 12:37:59 +0000 (12:37 +0000)]
MIPS: added --mips-arch-variant option to test.py.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9270005
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoSilence warning from presubmit lint script
danno@chromium.org [Wed, 25 Jan 2012 12:32:05 +0000 (12:32 +0000)]
Silence warning from presubmit lint script

R=yangguo@chromium.org
BUG=
TEST=

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

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

12 years agoDo not follow accessor map transitions when marking descriptor arrays.
svenpanne@chromium.org [Wed, 25 Jan 2012 08:50:55 +0000 (08:50 +0000)]
Do not follow accessor map transitions when marking descriptor arrays.

Note that we currently have no such transitions, but we will in the future, and
we have to avoid keeping maps live too long.

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

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

12 years agoHandle map transitions in CALLBACKS when doing map tree traversal.
svenpanne@chromium.org [Wed, 25 Jan 2012 07:26:07 +0000 (07:26 +0000)]
Handle map transitions in CALLBACKS when doing map tree traversal.

We will have such transitions in the future and this CL is necessary to keep
slack tracking working then.

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

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

12 years agoInclude what you use in accessors.{h,cc}.
kmillikin@chromium.org [Wed, 25 Jan 2012 00:16:07 +0000 (00:16 +0000)]
Include what you use in accessors.{h,cc}.

R=fschneider@chromium.org
BUG=
TEST=

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

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

12 years agoFix building with clang
jkummerow@chromium.org [Tue, 24 Jan 2012 16:36:55 +0000 (16:36 +0000)]
Fix building with clang

BUG=v8:1912

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

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

12 years agoInitially unmap one of the semispaces to reduce memory use at boot time.
erik.corry@gmail.com [Tue, 24 Jan 2012 16:00:19 +0000 (16:00 +0000)]
Initially unmap one of the semispaces to reduce memory use at boot time.
Review URL: https://chromiumcodereview.appspot.com/9117035

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

12 years agoReduce the space used by the stack for the profiling thread.
erik.corry@gmail.com [Tue, 24 Jan 2012 15:48:16 +0000 (15:48 +0000)]
Reduce the space used by the stack for the profiling thread.
Review URL: https://chromiumcodereview.appspot.com/9117032

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

12 years agoFix JS2C, so that macros with multiple parameters actually WORK.
rossberg@chromium.org [Tue, 24 Jan 2012 14:29:02 +0000 (14:29 +0000)]
Fix JS2C, so that macros with multiple parameters actually WORK.

R=svenpanne@chromium.org
BUG=
TEST=

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

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

12 years agoFix bug 542, misleading documentation of v8::Locker.
erik.corry@gmail.com [Tue, 24 Jan 2012 13:07:21 +0000 (13:07 +0000)]
Fix bug 542, misleading documentation of v8::Locker.
Review URL: https://chromiumcodereview.appspot.com/9160028

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

12 years agoFix shared library build.
yangguo@chromium.org [Tue, 24 Jan 2012 12:10:28 +0000 (12:10 +0000)]
Fix shared library build.

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

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

12 years agoIntroduce readbinary function in d8 to read binary files.
yangguo@chromium.org [Tue, 24 Jan 2012 11:55:11 +0000 (11:55 +0000)]
Introduce readbinary function in d8 to read binary files.

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

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

12 years agoFix Win64 compilation failure introduced by r10483.
vegorov@chromium.org [Tue, 24 Jan 2012 09:05:15 +0000 (09:05 +0000)]
Fix Win64 compilation failure introduced by r10483.

R=erik.corry@gmail.com

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

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

12 years agoUntabify test/mjsunit/debug-evaluate-locals-optimized-double.js.
vegorov@chromium.org [Tue, 24 Jan 2012 08:48:33 +0000 (08:48 +0000)]
Untabify test/mjsunit/debug-evaluate-locals-optimized-double.js.

TBR=danno@chromium.org

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

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

12 years agoSupport inlining at call-sites with mismatched number of arguments.
vegorov@chromium.org [Tue, 24 Jan 2012 08:43:12 +0000 (08:43 +0000)]
Support inlining at call-sites with mismatched number of arguments.

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

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

12 years agoRemove unnecessary IGNORE policy from Lithium operands.
fschneider@chromium.org [Tue, 24 Jan 2012 02:13:28 +0000 (02:13 +0000)]
Remove unnecessary IGNORE policy from Lithium operands.

1. This policy was only used for unused spill operands. I'm assigning
an INVALID LOperand to those instead. As a result, we only need
3 bits to encode the policy and have one more available for virtual
registers.

2. Furthermore, corrected the calculation of the maximal number of virtual
registers and changed the upper limit for the size of the Hydrogen IR
accordingly.

3. Doubled the maximal number of deoptimization entries to 8K.
Review URL: http://codereview.chromium.org/9160018

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

12 years agoPut a slow assert under the enable_slow_asserts flag.
fschneider@chromium.org [Tue, 24 Jan 2012 01:46:26 +0000 (01:46 +0000)]
Put a slow assert under the enable_slow_asserts flag.

Otherwise really large functions take too long to compile
in debug mode.
Review URL: http://codereview.chromium.org/9212040

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

12 years agoAdd range information to external array loads.
fschneider@chromium.org [Mon, 23 Jan 2012 18:11:36 +0000 (18:11 +0000)]
Add range information to external array loads.
Review URL: http://codereview.chromium.org/9226014

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

12 years agoFurther robustify the keyed lookup cache against unlucky hash
erik.corry@gmail.com [Mon, 23 Jan 2012 16:18:10 +0000 (16:18 +0000)]
Further robustify the keyed lookup cache against unlucky hash
seeds.  This change is performance neutral on most snapshot
VM builds, but provides a big improvement on string-fasta
on around 5% of builds.
Review URL: https://chromiumcodereview.appspot.com/9193015

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

12 years agoPrepare push to trunk. Now working on version 3.8.9.
jkummerow@chromium.org [Mon, 23 Jan 2012 14:34:49 +0000 (14:34 +0000)]
Prepare push to trunk.  Now working on version 3.8.9.

R=yangguo@chromium.org

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

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

12 years agoReplaced LookupResult::IsProperty by LookupResult::IsFound where possible.
svenpanne@chromium.org [Mon, 23 Jan 2012 12:01:47 +0000 (12:01 +0000)]
Replaced LookupResult::IsProperty by LookupResult::IsFound where possible.

Yak shaving for map sharing with accessor properties contd.: When CALLBACKS can
have map transitions, simply looking at the property type is not sufficient
anymore to decide if a property is there or not. One has to look at the actual
contents of the descriptor entry then, but this breaks down sometimes when the
lookup is being done with a NULL holder. Luckily enough, we can oftren replace
IsProperty by the simpler IsFound, because we inspect the type immediately
afterwards, anyway.

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

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

12 years agoRefactored iterative map traversal.
svenpanne@chromium.org [Mon, 23 Jan 2012 10:50:14 +0000 (10:50 +0000)]
Refactored iterative map traversal.

The main goal is to cleanly separate between the several parts involved in the traversal:

 * iterating over all transitions in a descriptor array

 * iterating over all prototype transitions

 * storing the parent and the current local traversal position in a map

 * the iterative traversal algorithm itself

The previous algorithm for iterating over prototype transitions did a little bit too much here, iterating over the whole array instead only the filled part. This has been fixed on the way, too.

With this CL, it will be much easier to make the necessary changes to the descriptor array iterator to correctly handle map transitions for accessor properties. Furthermore, perhaps we represent transitions a bit different in the future, making finding them a bit easier. This would make some code in this CL (and elsewhere) quite a bit shorter and more efficient.

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

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

12 years agoCleaning up after r10471.
yangguo@chromium.org [Mon, 23 Jan 2012 08:39:49 +0000 (08:39 +0000)]
Cleaning up after r10471.

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

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

12 years agoRemoving experimental i18n code from v8 repository. Internationalization support...
yangguo@chromium.org [Mon, 23 Jan 2012 08:09:22 +0000 (08:09 +0000)]
Removing experimental i18n code from v8 repository. Internationalization support is hosted under code.google.com/p/v8-i18n for couple months now.

TEST=Chromium/WebKit builds should pass.

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

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

12 years agoLimit number of loop iterations in Heap::ReserveSpace.
vegorov@chromium.org [Fri, 20 Jan 2012 17:21:26 +0000 (17:21 +0000)]
Limit number of loop iterations in Heap::ReserveSpace.

This allows to avoid infinite loops in pathalogical cases e.g. when OS refuses to give new pages to V8.

R=erik.corry@gmail.com
BUG=99027

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

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

12 years agoParallelize cpplint in presubmit and fix usage of DISALLOW_* macros.
yangguo@chromium.org [Fri, 20 Jan 2012 16:17:08 +0000 (16:17 +0000)]
Parallelize cpplint in presubmit and fix usage of DISALLOW_* macros.

BUG=v8:1653

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

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

12 years agoRemove stray GVN flag in TransitionElementsKind
danno@chromium.org [Fri, 20 Jan 2012 15:55:06 +0000 (15:55 +0000)]
Remove stray GVN flag in TransitionElementsKind

TBR=mstarzinger@chromium.org
BUG=none
TEST=build turns green

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

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

12 years agoFix solaris build (VirtualMemory).
yangguo@chromium.org [Fri, 20 Jan 2012 15:43:38 +0000 (15:43 +0000)]
Fix solaris build (VirtualMemory).

BUG=v8:1761
TEST=

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

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

12 years agoRemoved IsPropertyOrTransition method.
svenpanne@chromium.org [Fri, 20 Jan 2012 15:10:35 +0000 (15:10 +0000)]
Removed IsPropertyOrTransition method.

It had only 2 uses: One use could be rewritten in a simpler way, and the other
is actually more readable after inlining and fixing the comments.

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

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

12 years agoMIPS: Make sure transitioned arrays efficiently call builtin Array functions
danno@chromium.org [Fri, 20 Jan 2012 14:17:26 +0000 (14:17 +0000)]
MIPS: Make sure transitioned arrays efficiently call builtin Array functions

Port r10356 (69da81).

Original commit message:
Loosen the requirement for Map equivalency on several map checks, including checks up the prototype chain, that are not sensitive to ElementsKinds. These selected map checks should also match against FAST_DOUBLE_ELEMENT and FAST_ELEMENT transitions of the original map. This specifically helps all variants of transitioned JSArrays to still efficiently call builtins like push, pop and sort.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9265007
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoSplit GVN flags from flags in Hydrogen instructions.
danno@chromium.org [Fri, 20 Jan 2012 14:08:20 +0000 (14:08 +0000)]
Split GVN flags from flags in Hydrogen instructions.

BUG=
TEST=

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

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

12 years agoFix handling of function proxies in higher-order array and string methods,
rossberg@chromium.org [Fri, 20 Jan 2012 13:59:37 +0000 (13:59 +0000)]
Fix handling of function proxies in higher-order array and string methods,
which use yet another way to determine strict vs non-strict function receivers.

R=kmillikin@chromium.org
BUG=
TEST=

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

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

12 years agoFix keyed lookup cache to have 2 entried per bucket instead
erik.corry@gmail.com [Fri, 20 Jan 2012 13:43:21 +0000 (13:43 +0000)]
Fix keyed lookup cache to have 2 entried per bucket instead
of one in order to reduce collisions.
Review URL: https://chromiumcodereview.appspot.com/9269004

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

12 years agoMIPS: Change inlined cache of intanceof stub to use indirection through cell.
vegorov@chromium.org [Fri, 20 Jan 2012 12:50:39 +0000 (12:50 +0000)]
MIPS: Change inlined cache of intanceof stub to use indirection through cell.

Port r10380 (46f646).

Original commit message:
The stub was directly patching caller's code without issuing write barrier which violated incremental marking invariants.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9159008
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoMIPS: Allow call-known-global and call-constant-function to be used
vegorov@chromium.org [Fri, 20 Jan 2012 12:49:43 +0000 (12:49 +0000)]
MIPS: Allow call-known-global and call-constant-function to be used
for call-sites with mismatched number of arguments.

Port r10424 (92a05c9c).

Original commit message:
Adjust InvokeFunction to avoid generating dead code when number when arity mismatch is detected in compile time.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9150026
Patch from Daniel Kalmar <kalmard@homejinni.com>.

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

12 years agoAdd regression test for r10451.
mstarzinger@chromium.org [Fri, 20 Jan 2012 12:44:04 +0000 (12:44 +0000)]
Add regression test for r10451.

R=vegorov@chromium.org
TEST=cctest/test-heap/PrototypeTransitionClearing

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

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

12 years agoEnable asynchronous remote debugging with d8.
yangguo@chromium.org [Fri, 20 Jan 2012 11:59:00 +0000 (11:59 +0000)]
Enable asynchronous remote debugging with d8.

BUG=v8:1691
TEST=

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

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

12 years agoFix missing write-barrier for prototype transitions.
mstarzinger@chromium.org [Thu, 19 Jan 2012 18:50:01 +0000 (18:50 +0000)]
Fix missing write-barrier for prototype transitions.

R=vegorov@chromium.org

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

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

12 years agoFix shared library build.
yangguo@chromium.org [Thu, 19 Jan 2012 17:04:34 +0000 (17:04 +0000)]
Fix shared library build.

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

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

12 years agoFix remote debugger crash.
yangguo@chromium.org [Thu, 19 Jan 2012 16:52:16 +0000 (16:52 +0000)]
Fix remote debugger crash.

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

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

12 years agoPrepare push to trunk. Now working on version 3.8.8.
ulan@chromium.org [Thu, 19 Jan 2012 15:28:48 +0000 (15:28 +0000)]
Prepare push to trunk.  Now working on version 3.8.8.

R=jkummerow@chromium.org

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

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

12 years agoRevert "Immediately use the generic stub when storing into COW arrays"
jkummerow@chromium.org [Thu, 19 Jan 2012 14:58:54 +0000 (14:58 +0000)]
Revert "Immediately use the generic stub when storing into COW arrays"

Due to unexpected performance implications.

This reverts r10429.

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

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

12 years agoAdd missing SmiUntag for string hash calculation in
erik.corry@gmail.com [Thu, 19 Jan 2012 14:43:25 +0000 (14:43 +0000)]
Add missing SmiUntag for string hash calculation in
in-snapshot code on IA32.
Review URL: https://chromiumcodereview.appspot.com/9254027

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

12 years agoMIPS: Use shift and add instead of mul on ARM for integer hash. This is a commit...
erik.corry@gmail.com [Thu, 19 Jan 2012 14:08:48 +0000 (14:08 +0000)]
MIPS: Use shift and add instead of mul on ARM for integer hash.  This is a commit of codereview.chromium.org/9192011/ for Daniel Kalmar

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

12 years agoAdd an assert to the serializer.
erik.corry@gmail.com [Thu, 19 Jan 2012 13:51:45 +0000 (13:51 +0000)]
Add an assert to the serializer.
Review URL: https://chromiumcodereview.appspot.com/9159010

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