DescriptionRemove the redundant load on every context lookup.
There was an unnecessary load on every statically-resolved context lookup.
Remove it.
This revealed a hidden bug in const initializers inside 'with'. They claim
to be statically resolved (having slot type CONTEXT) but they occur in a
spot where the runtime context chain and the static scope chain do not
agree. This is fixed by special casing const initializers in the backend.
Committed: http://code.google.com/p/v8/source/detail?r=6635
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed review comments. #
Messages
Total messages: 3 (0 generated)
|