Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Issue 8806012: Hydrogen support for stack local harmony bindings in function scope. (Closed)

Created:
9 years ago by Steven
Modified:
9 years ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Hydrogen support for stack local harmony bindings in function scope. This is the first CL in a series that add support for the harmony scoping features to crankshaft. This CL specifically adds support for stack allocated 'let' and 'const' declared variables in function scopes. TEST=mjsunit/harmony/block-let-crankshaft.js Committed: http://code.google.com/p/v8/source/detail?r=10171

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -16 lines) Patch
M src/hydrogen.cc View 5 chunks +35 lines, -14 lines 0 comments Download
M test/mjsunit/harmony/block-let-crankshaft.js View 1 chunk +110 lines, -2 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Steven
PTAL.
9 years ago (2011-12-05 15:10:11 UTC) #1
Jakob Kummerow
9 years ago (2011-12-05 16:40:36 UTC) #2
LGTM.
It's funny how you can add functionality to Crankshaft basically by adding
bailouts :-)

http://codereview.chromium.org/8806012/diff/1/test/mjsunit/harmony/block-let-...
File test/mjsunit/harmony/block-let-crankshaft.js (right):

http://codereview.chromium.org/8806012/diff/1/test/mjsunit/harmony/block-let-...
test/mjsunit/harmony/block-let-crankshaft.js:28: // Flags: --harmony-scoping
--allow-natives-syntax --trace-bailout
I think you should remove --trace-bailout before landing this.

Powered by Google App Engine
This is Rietveld 408576698