Go to file
mstarzinger@chromium.org ce1e10f5fc Make __proto__ a foreign callback on Object.prototype.
This moves the __proto__ property to Object.prototype and turns it into
a callback property actually present in the descriptor array as opposed
to a hack in the properties lookup. For now it still is a "magic" data
property using foreign callbacks and not an accessor property visible to
JavaScript.

The second effect of this change is that JSON.parse() no longer treats
the __proto__ property specially, it will be defined as any other data
property. Note that object literals still have their special handling.

R=rossberg@chromium.org
BUG=v8:621,v8:1949,v8:2441
TEST=mjsunit,cctest,test262

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13728 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-02-26 10:46:00 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build MIPS: Add android build support for mips in gyp. 2013-02-25 16:39:03 +00:00
include Improve the JitCodeEventHandler API to add support for line position information. 2013-02-18 18:06:12 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Add Isolate parameter to Persistent class. 2013-01-25 08:31:46 +00:00
src Make __proto__ a foreign callback on Object.prototype. 2013-02-26 10:46:00 +00:00
test Make __proto__ a foreign callback on Object.prototype. 2013-02-26 10:46:00 +00:00
tools Split profile-generator 2013-02-21 12:10:40 +00:00
.gitignore git should ignore .d8_history (d8 readline history) 2012-11-13 21:43:38 +00:00
AUTHORS Add Makefile options to build for the Raspberry Pi (armv7=0, arm_fpu=vfp2). 2013-01-03 08:56:05 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.17.5. 2013-02-25 15:47:52 +00:00
DEPS Pull more recent gyp. 2012-09-26 09:12:45 +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 MIPS: Add android build support for mips in gyp. 2013-02-25 16:39:03 +00:00
Makefile.android MIPS: Add android build support for mips in gyp. 2013-02-25 16:39:03 +00:00
OWNERS Add OWNERS file 2012-10-08 11:58:08 +00:00
PRESUBMIT.py Add PRESUBMIT script to V8 2012-10-08 13:49:57 +00:00
SConstruct Remove support for Live Object List and inspector module. 2013-01-16 15:44:26 +00:00