Go to file
mvstanton@chromium.org c1e19bfc35 Bugfix: The general array constructor stub did not handle the case
properly when it is called with a function pointer in the type cell,
instead assuming that an AllocationSite object should be present. The
case where this can happen is if the cell is uninitialized, then the
first constructor call made is to the Array function of a different
context. In that case, we'll store the function pointer in the cell,
and then go ahead and call the array constructor stub too. The bug is
fixed by checking for the AllocationSite object map. If not found, the
constructor stub goes forward with a default ElementsKind, just as in
several other cases.

A test in allocation-site-info.js was beefed up to make sure the state
chain described above is traversed.

BUG=
R=hpayer@chromium.org, hpayer@google.com

Review URL: https://codereview.chromium.org/18277006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15555 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-07-08 14:41:54 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Introduce a handle zapping setting, and enable it by default for release and debug 2013-07-08 11:29:55 +00:00
include Create AllocationSite objects, pointed to by AllocationSiteInfo. 2013-07-08 10:02:16 +00:00
preparser Introduce a notion of "v8_code" in gyp config files. 2013-06-28 15:22:46 +00:00
samples Keep two empty lines between declarations for cpp files 2013-07-05 09:52:11 +00:00
src Bugfix: The general array constructor stub did not handle the case 2013-07-08 14:41:54 +00:00
test Bugfix: The general array constructor stub did not handle the case 2013-07-08 14:41:54 +00:00
tools Widen existing blink test expectations for Windows debug. 2013-07-08 11:33:25 +00:00
.gitignore Migrate blink tests that are not relevant to blink into a new V8 test suite called 'blink'. 2013-06-26 14:23:30 +00:00
AUTHORS Add methods to allow resuming execution after calling TerminateExecution(). 2013-04-22 15:01:45 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.20.4. 2013-07-08 08:35:11 +00:00
DEPS Add dependency to ICU 4.6 2013-07-01 08:32:41 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Introduce a handle zapping setting, and enable it by default for release and debug 2013-07-08 11:29:55 +00:00
Makefile.android MIPS: Add android build support for mips in gyp. 2013-02-25 16:39:03 +00:00
Makefile.nacl Allow a relativ path to the NaCl SDK when building. 2013-05-28 15:33:39 +00:00
OWNERS Add myself to OWNERS. 2013-06-27 11:37:47 +00:00
PRESUBMIT.py Keep two empty lines between declarations for cpp files 2013-07-05 09:52:11 +00:00