Reviewers: fschneider,

Message:
PTAL.

Description:
Hydrogen support for context allocated harmony bindings.

This CL adds support for loading from and storing to context slots
belonging to harmony let or const bound variables. Checks for the
hole value are performed and the function is deoptimized if they fail.
The full-codegen generated code will take care of properly throwing
a reference error in these cases.

TEST=mjsunit/harmony/block-let-crankshaft.js


Please review this at http://codereview.chromium.org/8820015/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/arm/lithium-arm.cc
  M src/arm/lithium-codegen-arm.cc
  M src/hydrogen-instructions.h
  M src/hydrogen.cc
  M src/ia32/lithium-codegen-ia32.cc
  M src/ia32/lithium-ia32.cc
  M src/x64/lithium-codegen-x64.cc
  M src/x64/lithium-x64.cc
  M test/mjsunit/harmony/block-let-crankshaft.js


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

Reply via email to