Merged r11838, r11841 into trunk branch.

Remove unused-but-set variable from objects.cc.

Fixing bugs in promotion of elements transitions (r11750). - Fixed invalid memory access when reading enum-cache from descriptor array with elements transitions but 0 real descriptors. - Fixed infinite recursion in the intrusive map iterator when visiting elements transitions. - Properly cached non-fastmode elements transitions.

R=danno@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10568008

git-svn-id: http://v8.googlecode.com/svn/trunk@11844 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
3 files changed