platform/upstream/v8.git
12 years agoRemove some unused and unneeded flags.
erik.corry@gmail.com [Tue, 11 Oct 2011 09:28:06 +0000 (09:28 +0000)]
Remove some unused and unneeded flags.
Review URL: http://codereview.chromium.org/8228004

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

12 years agoMove declaration of SerializedScopeInfo from variables.h to objects.h
fschneider@chromium.org [Tue, 11 Oct 2011 08:41:19 +0000 (08:41 +0000)]
Move declaration of SerializedScopeInfo from variables.h to objects.h

This eliminates compile-errors when assigning Handle<SerializedScopeInfo> to
Handle<Object> in a place where the declaration was not available because
variables.h was not included.

As a result I had to also move the enum Variable::Mode to v8globals.h and
rename it to VariableMode.
Review URL: http://codereview.chromium.org/8221004

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

12 years agoFixing assertion.
yangguo@chromium.org [Mon, 10 Oct 2011 16:18:20 +0000 (16:18 +0000)]
Fixing assertion.

R=mstarzinger@chromium.org

Review URL: http://codereview.chromium.org/8218013

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

12 years agoFixing issue 1757 (string slices of external strings).
yangguo@chromium.org [Mon, 10 Oct 2011 16:09:03 +0000 (16:09 +0000)]
Fixing issue 1757 (string slices of external strings).

BUG=v8:1757
TEST=regress-1757.js

Review URL: http://codereview.chromium.org/8217011

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

12 years agoAdd hinting to improve ASLR for macos (all allocations) and linux (newly added alloca...
vegorov@chromium.org [Mon, 10 Oct 2011 14:17:42 +0000 (14:17 +0000)]
Add hinting to improve ASLR for macos (all allocations) and linux (newly added allocation types).

TEST=N/A
BUG=1749

Review URL: http://codereview.chromium.org/8115014
Patch from Cris Neckar <cdn@chromium.org>.

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

12 years agoPrepare push to trunk. We are now working on 3.6.7.
svenpanne@chromium.org [Mon, 10 Oct 2011 13:14:49 +0000 (13:14 +0000)]
Prepare push to trunk. We are now working on 3.6.7.
Review URL: http://codereview.chromium.org/8220002

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

12 years agoDisabling string slices.
yangguo@chromium.org [Mon, 10 Oct 2011 12:17:50 +0000 (12:17 +0000)]
Disabling string slices.

Review URL: http://codereview.chromium.org/8217006

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

12 years agoPrepare push to trunk. We are now working on 3.6.7.
svenpanne@chromium.org [Mon, 10 Oct 2011 11:38:09 +0000 (11:38 +0000)]
Prepare push to trunk. We are now working on 3.6.7.
Review URL: http://codereview.chromium.org/8224001

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

12 years agoAdd a regression test for an already fixed issue.
kmillikin@chromium.org [Mon, 10 Oct 2011 10:46:27 +0000 (10:46 +0000)]
Add a regression test for an already fixed issue.

Add a regression test for Chromium issue 99167.

R=vegorov@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8222002

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

12 years agoDisable short-circuiting of cons-strings when compaction is pending.
vegorov@chromium.org [Mon, 10 Oct 2011 10:35:08 +0000 (10:35 +0000)]
Disable short-circuiting of cons-strings when compaction is pending.

Otherwise fast path of scavenger gets a bit too complicated and heavy.

R=mstarzinger@chromium.org

Review URL: http://codereview.chromium.org/8217002

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

12 years agoFix presubmit error.
fschneider@chromium.org [Mon, 10 Oct 2011 10:32:16 +0000 (10:32 +0000)]
Fix presubmit error.

TBR=kmillikin@chromium.org
Review URL: http://codereview.chromium.org/8223001

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

12 years agoFixing bogus assertion.
yangguo@chromium.org [Mon, 10 Oct 2011 10:14:39 +0000 (10:14 +0000)]
Fixing bogus assertion.

Review URL: http://codereview.chromium.org/8222001

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

12 years agoTests for evil side-effects during 'internal methods'.
rossberg@chromium.org [Mon, 10 Oct 2011 09:59:03 +0000 (09:59 +0000)]
Tests for evil side-effects during 'internal methods'.

R=kmillikin@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8200002

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

12 years agoMake accessors for oddball objects return Oddball* instead of Object*.
fschneider@chromium.org [Mon, 10 Oct 2011 09:21:48 +0000 (09:21 +0000)]
Make accessors for oddball objects return Oddball* instead of Object*.

Fix a use of the hole value and the undefined value before initialization when
initializing V8. Before we just read a NULL value from them.
Review URL: http://codereview.chromium.org/8130002

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

12 years agoSeparate tests specific to function proxies in a separate file.
rossberg@chromium.org [Mon, 10 Oct 2011 08:58:44 +0000 (08:58 +0000)]
Separate tests specific to function proxies in a separate file.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8218003

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

12 years agoMake GCC 4.5.x happy.
svenpanne@chromium.org [Mon, 10 Oct 2011 08:57:13 +0000 (08:57 +0000)]
Make GCC 4.5.x happy.
Review URL: http://codereview.chromium.org/8216005

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

12 years agoEnable string slices.
yangguo@chromium.org [Mon, 10 Oct 2011 08:35:01 +0000 (08:35 +0000)]
Enable string slices.

Review URL: http://codereview.chromium.org/8218002

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

12 years agoActivate smi-only optimizations for large array literals.
danno@chromium.org [Mon, 10 Oct 2011 08:31:06 +0000 (08:31 +0000)]
Activate smi-only optimizations for large array literals.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/8177005

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

12 years agoFixed status file of es5conform test suite.
mstarzinger@chromium.org [Fri, 7 Oct 2011 15:02:42 +0000 (15:02 +0000)]
Fixed status file of es5conform test suite.

R=erik.corry@gmail.com
TEST=es5conform

Review URL: http://codereview.chromium.org/8202005

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

12 years agoRemove a static initializer that could potentially slow down startup time.
erik.corry@gmail.com [Fri, 7 Oct 2011 14:41:08 +0000 (14:41 +0000)]
Remove a static initializer that could potentially slow down startup time.
BUG=1753
Review URL: http://codereview.chromium.org/8198005

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

12 years agoFix string whitespace trimming of byte order marks.
mstarzinger@chromium.org [Fri, 7 Oct 2011 14:33:46 +0000 (14:33 +0000)]
Fix string whitespace trimming of byte order marks.

R=rossberg@chromium.org
TEST=test262

Review URL: http://codereview.chromium.org/8195006

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

12 years agoFix some array functions to behave as specified.
mstarzinger@chromium.org [Fri, 7 Oct 2011 14:07:33 +0000 (14:07 +0000)]
Fix some array functions to behave as specified.

This fixes the handling of primitives and the order of how side effects
are visible in some array functions as specified by the ES5.

R=rossberg@chromium.org
TEST=test262

Review URL: http://codereview.chromium.org/8197002

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

12 years agoUse "text/html" as the svn:mime-type for the spinning
kasperl@chromium.org [Fri, 7 Oct 2011 12:15:29 +0000 (12:15 +0000)]
Use "text/html" as the svn:mime-type for the spinning
balls index.html file.
Review URL: http://codereview.chromium.org/8197006

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

12 years agoChange cached powers of 10 to avoid constants that need a static
erik.corry@gmail.com [Fri, 7 Oct 2011 08:21:21 +0000 (08:21 +0000)]
Change cached powers of 10 to avoid constants that need a static
initializer to be called on process startup instead of being in
the read-only section.
Review URL: http://codereview.chromium.org/8177018

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

12 years agoUpdate test harness and status file for Test262.
mstarzinger@chromium.org [Fri, 7 Oct 2011 07:30:45 +0000 (07:30 +0000)]
Update test harness and status file for Test262.

R=rossberg@chromium.org
TEST=test262

Review URL: http://codereview.chromium.org/8171005

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

12 years agoFast allocation of block contexts.
keuchel@chromium.org [Thu, 6 Oct 2011 15:59:02 +0000 (15:59 +0000)]
Fast allocation of block contexts.

Review URL: http://codereview.chromium.org/8066002

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

12 years agoFix load of potentially eval-shadowed let bindings.
keuchel@chromium.org [Thu, 6 Oct 2011 15:24:20 +0000 (15:24 +0000)]
Fix load of potentially eval-shadowed let bindings.

BUG=
TEST=test/mjsunit/harmony/block-let-semantics.js

Review URL: http://codereview.chromium.org/8118032

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

12 years agoDon't count duplicate assignments to the same property as distinct ones.
kmillikin@chromium.org [Thu, 6 Oct 2011 12:38:18 +0000 (12:38 +0000)]
Don't count duplicate assignments to the same property as distinct ones.

In the ThisNamedPropertyAssignmentFinder, duplicate assignments to the same
property were counted as distinct assignments.  As a simple fix, subsequent
ones overwrite the previously recorded assignment.

This will reorder the assignments, but it is safe since they are restricted
to have only constants and parameters on the right-hand side (and there are
no assignments to the parameters).

R=vegorov@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8139037

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

12 years agoAdd presubmit=no and werror=no flags to Makefile
jkummerow@chromium.org [Thu, 6 Oct 2011 11:08:41 +0000 (11:08 +0000)]
Add presubmit=no and werror=no flags to Makefile

Review URL: http://codereview.chromium.org/8159015

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

12 years agoChange implementation of JSObject::HasHiddenProperties to work as before 9510.
lrn@chromium.org [Thu, 6 Oct 2011 10:54:35 +0000 (10:54 +0000)]
Change implementation of JSObject::HasHiddenProperties to work as before 9510.

Review URL: http://codereview.chromium.org/8161014

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

12 years agoSimplify calling generated code from the runtime.
kmillikin@chromium.org [Thu, 6 Oct 2011 09:31:38 +0000 (09:31 +0000)]
Simplify calling generated code from the runtime.

Instead of expecting Object** arrays at the outermost level, expect
Handle<Object> arrays and reinterpret_cast them only just before invoking
the generated code.

R=rossberg@chromium.org,fschneider@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8133020

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

12 years agoFix a prototype chain traversal not expecting proxies.
rossberg@chromium.org [Thu, 6 Oct 2011 08:46:38 +0000 (08:46 +0000)]
Fix a prototype chain traversal not expecting proxies.

R=kmillikin@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8144011

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

12 years agoUse correct trap for lookup in prototype proxy.
rossberg@chromium.org [Thu, 6 Oct 2011 08:42:10 +0000 (08:42 +0000)]
Use correct trap for lookup in prototype proxy.

R=kmillikin@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8133023

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

12 years agoRefactor JSObject::SetFastElement.
jkummerow@chromium.org [Wed, 5 Oct 2011 13:56:30 +0000 (13:56 +0000)]
Refactor JSObject::SetFastElement.

This fixes a bug where the length of FAST_DOUBLE_ELEMENTS arrays was not
set correctly, and another bug where appending a double element to a
SMI_ONLY array would convert it to FAST_ELEMENTS instead of
FAST_DOUBLE_ELEMENTS.

Review URL: http://codereview.chromium.org/8028026

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

12 years agoGC pauses visualization tool.
vegorov@chromium.org [Wed, 5 Oct 2011 13:40:49 +0000 (13:40 +0000)]
GC pauses visualization tool.

R=erik.corry@gmail.com

Review URL: http://codereview.chromium.org/8139001

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

12 years agoPorting r9456 to arm (Optimize KeyedStoreGeneric for Smi arrays).
yangguo@chromium.org [Wed, 5 Oct 2011 11:39:34 +0000 (11:39 +0000)]
Porting r9456 to arm (Optimize KeyedStoreGeneric for Smi arrays).

Review URL: http://codereview.chromium.org/8065004

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

12 years agoPrepare push to trunk. We are now working on 3.6.6.
erik.corry@gmail.com [Wed, 5 Oct 2011 11:24:13 +0000 (11:24 +0000)]
Prepare push to trunk.  We are now working on 3.6.6.
Review URL: http://codereview.chromium.org/8144001

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

12 years agoRevert "Added ability to lock strings to prevent their representation or encoding...
lrn@chromium.org [Wed, 5 Oct 2011 11:09:34 +0000 (11:09 +0000)]
Revert "Added ability to lock strings to prevent their representation or encoding from changing."

This reverts r9424.

Review URL: http://codereview.chromium.org/8143018

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

12 years agoFix Kraken segfaults on ARM.
vegorov@chromium.org [Wed, 5 Oct 2011 10:50:24 +0000 (10:50 +0000)]
Fix Kraken segfaults on ARM.

DoStoreKeyedFastElement was passing incorrect slot address (off by 1) to the RecordWrite.

R=erik.corry@gmail.com
BUG=v8:1742

Review URL: http://codereview.chromium.org/8139026

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

12 years agoKeep MemoryChunk::LiveBytes in sync when marking deque overflows.
vegorov@chromium.org [Wed, 5 Oct 2011 09:42:20 +0000 (09:42 +0000)]
Keep MemoryChunk::LiveBytes in sync when marking deque overflows.

R=erik.corry@gmail.com
BUG=v8:1672

Review URL: http://codereview.chromium.org/8139025

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

12 years agoMake 'Become' safe for retries.
rossberg@chromium.org [Wed, 5 Oct 2011 09:41:54 +0000 (09:41 +0000)]
Make 'Become' safe for retries.

R=ricow@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8138003

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

12 years agoRemove some obsolete GC-safe accessors.
mstarzinger@chromium.org [Wed, 5 Oct 2011 08:12:36 +0000 (08:12 +0000)]
Remove some obsolete GC-safe accessors.

R=yangguo@chromium.org
BUG=v8:1490

Review URL: http://codereview.chromium.org/8142023

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

12 years agoFix sputnik test expectations to no longer expect the wrong behavior.
lrn@chromium.org [Wed, 5 Oct 2011 08:11:53 +0000 (08:11 +0000)]
Fix sputnik test expectations to no longer expect the wrong behavior.

Review URL: http://codereview.chromium.org/8139023

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

12 years agoFix issue 1361 - Implement ES5 Array.prototype.toString.
lrn@chromium.org [Wed, 5 Oct 2011 07:08:23 +0000 (07:08 +0000)]
Fix issue 1361 - Implement ES5 Array.prototype.toString.

BUG=v8:1361
TEST=mjsunit/array-tostring

Review URL: http://codereview.chromium.org/8124025

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

12 years agoFix compilation error and add missing file to GYP.
mstarzinger@chromium.org [Tue, 4 Oct 2011 16:32:34 +0000 (16:32 +0000)]
Fix compilation error and add missing file to GYP.

R=ricow@chromium.org

Review URL: http://codereview.chromium.org/8136004

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

12 years agoFix verification of weak maps during initialization.
mstarzinger@chromium.org [Tue, 4 Oct 2011 15:54:57 +0000 (15:54 +0000)]
Fix verification of weak maps during initialization.

R=rossberg@chromium.org

Review URL: http://codereview.chromium.org/8135003

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

12 years agoFix preparation for sorting of external arrays.
mstarzinger@chromium.org [Tue, 4 Oct 2011 13:49:50 +0000 (13:49 +0000)]
Fix preparation for sorting of external arrays.

R=rossberg@chromium.org
BUG=98773
TEST=mjsunit/regress/regress-98773

Review URL: http://codereview.chromium.org/8122020

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

12 years agoRemove two left-over uses of Function.prototype.apply that I overlooked when merging...
rossberg@chromium.org [Tue, 4 Oct 2011 12:48:16 +0000 (12:48 +0000)]
Remove two left-over uses of Function.prototype.apply that I overlooked when merging proxy CLs.

R=ricow@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8116027

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

12 years agoSimplify compares in KeyedStoreIC::GenerateGeneric.
yangguo@chromium.org [Tue, 4 Oct 2011 12:17:08 +0000 (12:17 +0000)]
Simplify compares in KeyedStoreIC::GenerateGeneric.

Review URL: http://codereview.chromium.org/8068024

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

12 years agoAdjust contents of kAheadOfTime to match write-barrier stub called from CompileArrayP...
vegorov@chromium.org [Tue, 4 Oct 2011 11:38:12 +0000 (11:38 +0000)]
Adjust contents of kAheadOfTime to match write-barrier stub called from CompileArrayPushCall.

R=erik.corry@gmail.com
BUG=v8:1729

Review URL: http://codereview.chromium.org/8113034

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

12 years agoDon't always compact when collecting.
erik.corry@gmail.com [Tue, 4 Oct 2011 09:12:02 +0000 (09:12 +0000)]
Don't always compact when collecting.
Review URL: http://codereview.chromium.org/8124022

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

12 years agoClean list of external references from internal objects like the hole value.
fschneider@chromium.org [Tue, 4 Oct 2011 09:07:50 +0000 (09:07 +0000)]
Clean list of external references from internal objects like the hole value.
Review URL: http://codereview.chromium.org/8114032

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

12 years agoMove logic for hidden properties into the JSObject.
lrn@chromium.org [Tue, 4 Oct 2011 07:45:25 +0000 (07:45 +0000)]
Move logic for hidden properties into the JSObject.

Previously, the logic using the hidden properties backing object was
spread accross use sites. Now it's all contained in JSObject, with
only simple accessors available.
Also change the backing object to be a StringDictionary rather than a JSObject.
There's still room for improvement by making a hash-table that don't
store property details as well.

Review URL: http://codereview.chromium.org/8050013

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

12 years agoFix issue 1415 - allow surrogate pair codes in decodeURIComponent.
lrn@chromium.org [Tue, 4 Oct 2011 07:15:07 +0000 (07:15 +0000)]
Fix issue 1415 - allow surrogate pair codes in decodeURIComponent.

Also some cleanup of uri.js.

BUG=v8:1415
TEST=mjsunit/regress/regress-1415

Review URL: http://codereview.chromium.org/8118004

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

12 years agoFix incorrect function name inference in case of assignment / global assignment.
mikhail.naganov@gmail.com [Mon, 3 Oct 2011 19:18:05 +0000 (19:18 +0000)]
Fix incorrect function name inference in case of assignment / global assignment.

R=kmillikin@chromium.org
BUG=v8:1732
TEST=test-func-name-inference/GlobalAssignmentAndCall,AssignmentAndCall

Review URL: http://codereview.chromium.org/8112007

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

12 years agoClean up the x86 assembler API.
kmillikin@chromium.org [Mon, 3 Oct 2011 11:44:39 +0000 (11:44 +0000)]
Clean up the x86 assembler API.

The API is inconsistent about when a register must be coerced to an operand
and when it can be used as a register.  Simplify usage by never requiring it
to be wrapped.

R=fschneider@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8086021

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

12 years agoRemove #include "isolate-inl.h" from v8.h.
kmillikin@chromium.org [Mon, 3 Oct 2011 11:13:20 +0000 (11:13 +0000)]
Remove #include "isolate-inl.h" from v8.h.

Include it only in the .cc files where it's needed.

R=fschneider@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8117001

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

12 years agoFix build error.
lrn@chromium.org [Mon, 3 Oct 2011 10:40:39 +0000 (10:40 +0000)]
Fix build error.

Review URL: http://codereview.chromium.org/8117002

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

12 years agoFix bug in x64 RegExp detecting start of string.
lrn@chromium.org [Mon, 3 Oct 2011 10:31:01 +0000 (10:31 +0000)]
Fix bug in x64 RegExp detecting start of string.

Also add missing MIPS case in regexp tracer.

Fixes issues v8:1748 and v8:1746

BUG=v8:1748, v8:1746
TEST=mjsunit/regress/regress-1748.js

Review URL: http://codereview.chromium.org/8116001

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

12 years agoCheck enumerability of array indices correctly in propertyIsEnumerable.
lrn@chromium.org [Mon, 3 Oct 2011 09:15:58 +0000 (09:15 +0000)]
Check enumerability of array indices correctly in propertyIsEnumerable.

Fix issue 1692.

BUG=v8:1692
TEST=mjsunit/regress/regress-1692

Review URL: http://codereview.chromium.org/8113001

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

12 years agoRevert "Support for precise stepping in functions compiled before debugging was start...
sgjesse@chromium.org [Sat, 1 Oct 2011 08:47:12 +0000 (08:47 +0000)]
Revert "Support for precise stepping in functions compiled before debugging was started (step 2)"

TBR=kmillikin@chromium.org

BUG=
TEST=

Review URL: http://codereview.chromium.org//8101011

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

12 years agoReapply "Support for precise stepping in functions compiled before debugging was...
sgjesse@chromium.org [Sat, 1 Oct 2011 05:39:14 +0000 (05:39 +0000)]
Reapply "Support for precise stepping in functions compiled before debugging was started (step 2)"

This is to get a clean run in the buildbot.

TBR=kmillikin@chromium.org

BUG=
TEST=

Review URL: http://codereview.chromium.org//8098020

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

12 years agoRevert "Support for precise stepping in functions compiled before debugging was start...
sgjesse@chromium.org [Fri, 30 Sep 2011 13:27:38 +0000 (13:27 +0000)]
Revert "Support for precise stepping in functions compiled before debugging was started (step 2)"

This reverts commits r9499, r9497 and r9489.

Then changed caused a number of failures.

TBR=kmillikin@chromium.org

BUG=
TEST=

Review URL: http://codereview.chromium.org//8086020

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

12 years agoTry to fix Win64 build
sgjesse@chromium.org [Fri, 30 Sep 2011 13:06:31 +0000 (13:06 +0000)]
Try to fix Win64 build

TBR=kmillikin@chromium.org

BUG=
TEST=

Review URL: http://codereview.chromium.org//8085024

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

12 years agoFix map modification in transition tree traversal.
mstarzinger@chromium.org [Fri, 30 Sep 2011 13:03:48 +0000 (13:03 +0000)]
Fix map modification in transition tree traversal.

While traversing the transition tree we build a work-list using the map
field of maps. Setting those map values with a write barrier causes
black-to-gray changes on maps which are currently not recognized as
such, hence their computed size might be off.

R=vegorov@chromium.org
BUG=v8:1672
TEST=cctest/test-decls/Present

Review URL: http://codereview.chromium.org/8082023

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

12 years agoMake sure heap is iteratable before iterating it.
sgjesse@chromium.org [Fri, 30 Sep 2011 12:12:09 +0000 (12:12 +0000)]
Make sure heap is iteratable before iterating it.

This line was accidentally removed in r9489.

TBR=kmillikin@chromium.org

BUG=
TEST=

Review URL: http://codereview.chromium.org//8086018

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

12 years agoFix presubmit error in mark-compact.cc
vegorov@chromium.org [Fri, 30 Sep 2011 11:09:31 +0000 (11:09 +0000)]
Fix presubmit error in mark-compact.cc

TBR=erik.corry@gmail.com

Review URL: http://codereview.chromium.org/8089016

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

12 years agoRemove the use of <limits> from strtod.cc. It is unused.
ager@chromium.org [Fri, 30 Sep 2011 09:16:01 +0000 (09:16 +0000)]
Remove the use of <limits> from strtod.cc. It is unused.

The only remaining use of <limits> is in globals.h for a range of GCC
versions for which the INFINITY macro is broken.

R=danno@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/8083030

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

12 years agoAdjust assertions in UpdateSlot to match UpdatePointer in PointersUpdatingVisitor.
vegorov@chromium.org [Fri, 30 Sep 2011 08:45:28 +0000 (08:45 +0000)]
Adjust assertions in UpdateSlot to match UpdatePointer in PointersUpdatingVisitor.

R=erik.corry@gmail.com
BUG=v8:1740

Review URL: http://codereview.chromium.org/8081001

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

12 years agoSupport for precise stepping in functions compiled before debugging was started ...
sgjesse@chromium.org [Fri, 30 Sep 2011 08:39:56 +0000 (08:39 +0000)]
Support for precise stepping in functions compiled before debugging was started (step 2)

This change will ensure that full code with debug break slots is compiled and activated for all functions which already have activation frames.

This additional handling is only for functions which have activations on the stack, and that activation is of the full code compiled without debug break slots. In that case the full code is recompiled with debug break slots. It is ensured that the full code is compiled generating the exact same instructions - except for the additional debug break slots - as before. The return address on the stack is then patched to continue execution in the new code.

Also fixed SortedListBSearch to actually use the passed comparision function.

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

BUG=
TEST=

Review URL: http://codereview.chromium.org//8050010

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

12 years agoFixing MinGW build.
yangguo@chromium.org [Fri, 30 Sep 2011 07:46:13 +0000 (07:46 +0000)]
Fixing MinGW build.

BUG=v8:1695

Review URL: http://codereview.chromium.org/8081015

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

12 years agoMake sure that heap is iterable prior to iterating it in Logger:: methods.
mikhail.naganov@gmail.com [Thu, 29 Sep 2011 15:07:00 +0000 (15:07 +0000)]
Make sure that heap is iterable prior to iterating it in Logger:: methods.

R=vegorov@chromium.org
BUG=v8:1700
TEST=none

Review URL: http://codereview.chromium.org/8079002

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

12 years agoPorting r9456 to x64 (Optimize KeyedStoreGeneric for Smi arrays).
yangguo@chromium.org [Thu, 29 Sep 2011 14:08:21 +0000 (14:08 +0000)]
Porting r9456 to x64 (Optimize KeyedStoreGeneric for Smi arrays).

Review URL: http://codereview.chromium.org/8054043

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

12 years agoEnable --smi-only-arrays flag in test case for no-snapshot build.
yangguo@chromium.org [Thu, 29 Sep 2011 14:00:53 +0000 (14:00 +0000)]
Enable --smi-only-arrays flag in test case for no-snapshot build.

TEST=element-kind.js

Review URL: http://codereview.chromium.org/8077008

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

12 years agoEnable code flushing for full (non-incremental) collections.
vegorov@chromium.org [Thu, 29 Sep 2011 13:51:47 +0000 (13:51 +0000)]
Enable code flushing for full (non-incremental) collections.

This will ensure that we will flush code when we hit memory limits.

R=erik.corry@gmail.com
BUG=v8:1609

Review URL: http://codereview.chromium.org/8060053

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

12 years agoReenable assertion after issue was fixed.
mstarzinger@chromium.org [Thu, 29 Sep 2011 13:36:34 +0000 (13:36 +0000)]
Reenable assertion after issue was fixed.

R=lrn@chromium.org
BUG=v8:1672

Review URL: http://codereview.chromium.org/8066009

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

12 years agoTemporary change to try to catch missing pregenerated stubs early with
erik.corry@gmail.com [Thu, 29 Sep 2011 12:53:27 +0000 (12:53 +0000)]
Temporary change to try to catch missing pregenerated stubs early with
a CHECK instead of an ASSERT.
Review URL: http://codereview.chromium.org/8073025

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

12 years agoImplement shrinking of paged spaces during sweeping.
mstarzinger@chromium.org [Thu, 29 Sep 2011 12:27:31 +0000 (12:27 +0000)]
Implement shrinking of paged spaces during sweeping.

For each paged space we release all but one of the unused pages after
marking (when we know the number of live bytes) but before actually
sweeping it. This is not yet done for lazy swept pages.

R=erik.corry@gmail.com
BUG=v8:1614

Review URL: http://codereview.chromium.org/7891010

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

12 years agoFix leakage of virtual address space on Linux platform.
vegorov@chromium.org [Thu, 29 Sep 2011 12:23:05 +0000 (12:23 +0000)]
Fix leakage of virtual address space on Linux platform.

Ensure that unmap return values are checked in debug mode.

R=erik.corry@gmail.com
BUG=v8:1701

Review URL: http://codereview.chromium.org/8060052

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

12 years agoDon't need to protect pregenerated stubs from flushing from the
erik.corry@gmail.com [Thu, 29 Sep 2011 11:52:05 +0000 (11:52 +0000)]
Don't need to protect pregenerated stubs from flushing from the
cache.  They are in a different cache that is not flushed.  Keep
the marking of pregenerated stubs for assertion purposes.
Review URL: http://codereview.chromium.org/8065028

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

12 years agoFix build with debuggersupport=off.
yangguo@chromium.org [Thu, 29 Sep 2011 08:55:36 +0000 (08:55 +0000)]
Fix build with debuggersupport=off.

BUG=v8:899

Review URL: http://codereview.chromium.org/8073020

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

12 years agoPass correct anchor_slot for EMBEDDED_OBJECT pointers from code objects.
vegorov@chromium.org [Wed, 28 Sep 2011 17:45:58 +0000 (17:45 +0000)]
Pass correct anchor_slot for EMBEDDED_OBJECT pointers from code objects.

Correctly initialize newly created large-object pages when incremental marking with compaction is in progress.

R=erik.corry@gmail.com
BUG=v8:1737

Review URL: http://codereview.chromium.org/8070002

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

12 years agoFix use of non-gc safe pointer in regexp code.
ricow@chromium.org [Wed, 28 Sep 2011 16:10:17 +0000 (16:10 +0000)]
Fix use of non-gc safe pointer in regexp code.
Review URL: http://codereview.chromium.org/8034002

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

12 years agoFixing test case from r9469.
yangguo@chromium.org [Wed, 28 Sep 2011 14:26:23 +0000 (14:26 +0000)]
Fixing test case from r9469.

Review URL: http://codereview.chromium.org/8038046

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

12 years agoSmall simplification of HChange instruction.
fschneider@chromium.org [Wed, 28 Sep 2011 14:01:40 +0000 (14:01 +0000)]
Small simplification of HChange instruction.

Use existing flag to mark HChange instructions that deoptimize on undefined.

Also there is no need to store the source representation explicitly.
Review URL: http://codereview.chromium.org/8066007

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

12 years agoFixing headers for Windows 2000.
yangguo@chromium.org [Wed, 28 Sep 2011 13:40:03 +0000 (13:40 +0000)]
Fixing headers for Windows 2000.

BUG=v8:1724

Review URL: http://codereview.chromium.org/8068002
Patch from Vovan Shutoff <vovan@shutoff.ru>.

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

12 years agoDisable array-join test. We know it is flaky and it is
erik.corry@gmail.com [Wed, 28 Sep 2011 13:29:00 +0000 (13:29 +0000)]
Disable array-join test.  We know it is flaky and it is
making it hard to see other failures on the build bot.
Review URL: http://codereview.chromium.org/8036018

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

12 years agoFixed deadlock in the debugger agent in Windows.
yangguo@chromium.org [Wed, 28 Sep 2011 13:27:20 +0000 (13:27 +0000)]
Fixed deadlock in the debugger agent in Windows.

BUG=v8:1723
TEST=cctest test-debug/DebuggerAgent

Review URL: http://codereview.chromium.org/8069002

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

12 years agoFix the no-VFP3 build on ARM.
erik.corry@gmail.com [Wed, 28 Sep 2011 13:20:09 +0000 (13:20 +0000)]
Fix the no-VFP3 build on ARM.
Review URL: http://codereview.chromium.org/8066008

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

12 years agoAdjust assertion in Heap::IdleNotification.
vegorov@chromium.org [Wed, 28 Sep 2011 12:55:34 +0000 (12:55 +0000)]
Adjust assertion in Heap::IdleNotification.

R=mstarzinger@chromium.org
BUG=v8:1715

Review URL: http://codereview.chromium.org/8038045

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

12 years agoMove the is_pregenerated flag so it does not overlap other flags.
erik.corry@gmail.com [Wed, 28 Sep 2011 12:23:40 +0000 (12:23 +0000)]
Move the is_pregenerated flag so it does not overlap other flags.
Remove the before-or-after InstanceOf stub rule, which was too
subtle and lacked checking ssertions.
Unify the way the CEntry stub is pregenerated so that it is done
in the same way.
Review URL: http://codereview.chromium.org/8065006

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

12 years agoRemove HEnvironment::CheckDepth.
vegorov@chromium.org [Wed, 28 Sep 2011 11:58:40 +0000 (11:58 +0000)]
Remove HEnvironment::CheckDepth.

R=fschneider@chromium.org
BUG=v8:1727

Review URL: http://codereview.chromium.org/8066005

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

12 years agoLimit depth of inlining for --stress-opt runs to avoid going into infinite recursion.
fschneider@chromium.org [Wed, 28 Sep 2011 11:34:54 +0000 (11:34 +0000)]
Limit depth of inlining for --stress-opt runs to avoid going into infinite recursion.
Review URL: http://codereview.chromium.org/8060033

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

12 years agoTemporarily switch on always-compact to flush out crash bugs.
erik.corry@gmail.com [Wed, 28 Sep 2011 11:15:23 +0000 (11:15 +0000)]
Temporarily switch on always-compact to flush out crash bugs.
Review URL: http://codereview.chromium.org/8068001

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

12 years agoMake MSVS happy with ExternalAsciiStringResourceImpl
jkummerow@chromium.org [Wed, 28 Sep 2011 11:01:17 +0000 (11:01 +0000)]
Make MSVS happy with ExternalAsciiStringResourceImpl

TEST=MSVS 2008 no longer generates warning C4251 for ExternalAsciiStringResourceImpl

Review URL: http://codereview.chromium.org/8056019

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

12 years agoFix the build on ARM.
erik.corry@gmail.com [Wed, 28 Sep 2011 11:00:41 +0000 (11:00 +0000)]
Fix the build on ARM.
Review URL: http://codereview.chromium.org/8065005

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

12 years agoEvacuateNewSpaceAndCandidates should explicitly skip dead large objects.
vegorov@chromium.org [Wed, 28 Sep 2011 10:45:27 +0000 (10:45 +0000)]
EvacuateNewSpaceAndCandidates should explicitly skip dead large objects.

LargeObjectSpace is swept at the very end of SweepSpaces.

R=mstarzinger@chromium.org
BUG=v8:1736

Review URL: http://codereview.chromium.org/8060013

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

12 years agoMake sure we don't flush the pregenerated stubs, since they need
erik.corry@gmail.com [Wed, 28 Sep 2011 10:32:12 +0000 (10:32 +0000)]
Make sure we don't flush the pregenerated stubs, since they need
to be always present, so that we can call them from other stubs
without trying to generate stubs while we are generating stubs.
Review URL: http://codereview.chromium.org/8052029

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

12 years agoAdd /bigobj parameter to cctest to make MSVS happy.
jkummerow@chromium.org [Wed, 28 Sep 2011 09:13:30 +0000 (09:13 +0000)]
Add /bigobj parameter to cctest to make MSVS happy.

TEST=MSVS 2008 compiles cctest without warnings/errors.

Review URL: http://codereview.chromium.org/8052031

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

12 years agoOptimize KeyedStoreGeneric for Smi arrays.
danno@chromium.org [Tue, 27 Sep 2011 16:15:29 +0000 (16:15 +0000)]
Optimize KeyedStoreGeneric for Smi arrays.

BUG=
TEST=

Review URL: http://codereview.chromium.org/8022002

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