Go to file
svenpanne@chromium.org e2af8fd68a 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
2012-01-23 10:50:14 +00:00
benchmarks Fix presubmit errors introduced by r10002. 2011-11-16 01:44:17 +00:00
build Provide a switch to specify -fno-strict-aliasing 2012-01-18 10:17:03 +00:00
include Provide a way for iterating through all external strings referenced from the JS heap 2012-01-13 15:14:45 +00:00
preparser Ignore flags with arguments in preparser-process. 2011-10-14 07:34:45 +00:00
samples Fix presubmit errors caused by updated depot tools 2011-09-08 19:57:14 +00:00
src Refactored iterative map traversal. 2012-01-23 10:50:14 +00:00
test Fix handling of function proxies in higher-order array and string methods, 2012-01-20 13:59:37 +00:00
tools Parallelize cpplint in presubmit and fix usage of DISALLOW_* macros. 2012-01-20 16:17:08 +00:00
.gitignore Add *.so to .gitignore. 2011-09-07 21:09:13 +00:00
AUTHORS Fix GCC 4.7 warnings, which are related to char being signed in GCC 2011-12-13 13:02:08 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.8.8. 2012-01-19 15:28:48 +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 Provide a switch to specify -fno-strict-aliasing 2012-01-18 10:17:03 +00:00
SConstruct Fixing include issues on *bsd when building with scons. Based on a patch by Ben Noordhuis. 2012-01-19 08:43:11 +00:00