http://codereview.chromium.org/7230047/diff/1/src/arm/full-codegen-arm.cc
File src/arm/full-codegen-arm.cc (right):

http://codereview.chromium.org/7230047/diff/1/src/arm/full-codegen-arm.cc#newcode1872
src/arm/full-codegen-arm.cc:1872: case Slot::CONTEXT:
Const initialization can be nested inside a with or catch, but with our
current semantics they are hoisted.

We could implement the loop up the context chain in generated code (even
unroll the loop once the chain length is known statically), but I've
opted to just call the runtime.

http://codereview.chromium.org/7230047/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to