Go to file
kmillikin@chromium.org 9c2d52eb0e Fix a bug in delete for lookup slots.
The function Runtime_LookupContext searches the context chain for a
LOOKUP slot and returns the object holding the slot.  It returned the
global context if the slot was not found or if it was found in a
function's context or arguments object.  This is not the correct
object to use for 'delete'.

Since this lookup function is only ever used when deleting LOOKUP
slots (those that have to go through a with or a scope with eval), it
is simply replaced with a Runtime_DeleteContextSlot function that does
the appropriate thing for all kinds of context lookups.

This fixes Chromium bug 70066.
http://code.google.com/p/chromium/issues/detail?id=70066

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6442 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-01-24 14:03:30 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
build Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
include Using unsigned shifts and masks when dealing with 64-bit addresses. 2011-01-19 11:16:23 +00:00
preparser Use the file opened from argv[1] in preparser-process.cc 2010-12-08 10:47:59 +00:00
samples Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
src Fix a bug in delete for lookup slots. 2011-01-24 14:03:30 +00:00
test Fix a bug in delete for lookup slots. 2011-01-24 14:03:30 +00:00
tools Fix xcode. 2011-01-20 21:53:34 +00:00
.gitignore Add '.cpplint-cache' to ignore lists for SVN and Git. This change also sets 'ignore' property on '.', although this change isn't visible in Rietveld. 2009-12-11 09:01:38 +00:00
AUTHORS nGW build 2010-12-02 15:37:45 +00:00
ChangeLog Prepare push to trunk. We are now working on 3.0.11. 2011-01-24 12:01:42 +00:00
LICENSE Fix the license info to correctly state Copyright "the V8 project 2011-01-19 09:20:18 +00:00
SConstruct Adding build script changes to support LiveObjectList functionality. 2011-01-20 08:38:01 +00:00