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

Issue 466033: Fast codegen: Working break and continue. (Closed)

Created:
11 years ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fast codegen: Working break and continue. Started framework for all intra-functional outward control transfers, including handling of try/finally.

Patch Set 1 #

Total comments: 42

Patch Set 2 : Addresse review comments #

Patch Set 3 : Fixed bug in for-loop, minor edits. #

Patch Set 4 : Fixed bug in ARM PopTryHandler, merge with head. #

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -54 lines) Patch
M src/arm/fast-codegen-arm.cc View 1 2 3 2 chunks +2 lines, -15 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 2 chunks +24 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M src/fast-codegen.h View 1 2 5 chunks +167 lines, -1 line 9 comments Download
M src/fast-codegen.cc View 1 2 3 9 chunks +80 lines, -7 lines 13 comments Download
M src/ia32/fast-codegen-ia32.cc View 1 2 3 2 chunks +1 line, -14 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 2 3 2 chunks +2 lines, -14 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Lasse Reichstein
11 years ago (2009-12-04 13:47:06 UTC) #1
Lasse Reichstein
11 years ago (2009-12-07 12:33:39 UTC) #2
Kevin Millikin (Chromium)
As we discussed, we might try some variation of NestingStack or NestingEnvironment as a name. ...
11 years ago (2009-12-07 14:27:35 UTC) #3
William Hesse
http://codereview.chromium.org/466033/diff/1/6 File src/fast-codegen.cc (right): http://codereview.chromium.org/466033/diff/1/6#newcode235 src/fast-codegen.cc:235: I wrote a big comment here, but I came ...
11 years ago (2009-12-08 01:46:59 UTC) #4
Lasse Reichstein
Addressed comments, please re-review. http://codereview.chromium.org/466033/diff/1/2 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/466033/diff/1/2#newcode41 src/arm/fast-codegen-arm.cc:41: // TODO(lrn) - set the ...
11 years ago (2009-12-09 10:25:13 UTC) #5
Kevin Millikin (Chromium)
LGTM, but I think the labels for breakable and continuable statements should be in the ...
11 years ago (2009-12-10 13:09:26 UTC) #6
Kevin Millikin (Chromium)
http://codereview.chromium.org/466033/diff/7001/7006 File src/fast-codegen.cc (right): http://codereview.chromium.org/466033/diff/7001/7006#newcode357 src/fast-codegen.cc:357: increment_loop_depth(); Another comment: it seems nicer to properly nest ...
11 years ago (2009-12-10 13:28:28 UTC) #7
Lasse Reichstein
11 years ago (2009-12-10 13:55:32 UTC) #8
http://codereview.chromium.org/466033/diff/7001/7006
File src/fast-codegen.cc (right):

http://codereview.chromium.org/466033/diff/7001/7006#newcode284
src/fast-codegen.cc:284: NestedStatement* current = nesting_stack_;
Fixed

http://codereview.chromium.org/466033/diff/7001/7006#newcode357
src/fast-codegen.cc:357: increment_loop_depth();
Fixed

http://codereview.chromium.org/466033/diff/7001/7006#newcode400
src/fast-codegen.cc:400: Iteration loop_stamt(this, stmt, &exit, &test);
Odd typo. Fixed.

http://codereview.chromium.org/466033/diff/7001/7007
File src/fast-codegen.h (right):

http://codereview.chromium.org/466033/diff/7001/7007#newcode91
src/fast-codegen.h:91: // Generate code to leave the nested statement. This
includes
It's documented here now, and I'll put it on the functions that are called as
well.

http://codereview.chromium.org/466033/diff/7001/7007#newcode106
src/fast-codegen.h:106: FastCodeGenerator *codegen_;
Fixed

http://codereview.chromium.org/466033/diff/7001/7007#newcode107
src/fast-codegen.h:107: NestedStatement *previous_;
Fixed

http://codereview.chromium.org/466033/diff/7001/7007#newcode124
src/fast-codegen.h:124: Statement* statement() { return target_; }
Fixed.

Powered by Google App Engine
This is Rietveld 408576698