DescriptionMaterializedLiteral expressions need to cache expression depth.
A problem arises in recursive literal expressions due to recent
changes that defer allocation of constant literal properties
from parse time. We were calculating expression depth as a
side-effect of a lazy constant property build, but subsequent
calls for the depth always returned 1. Cache the correct depth
in the MaterializedLiteral instead.
(Related-to/very-partial-revert-of
https://codereview.chromium.org/61873003)
R=ulan@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=17929
Patch Set 1 #Patch Set 2 : Updated with feedback from Ulan. #
Messages
Total messages: 4 (0 generated)
|