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

Issue 313003: Support empty statements in the fast compiler. (Closed)

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

Description

Support empty statements in the fast compiler. Committed: http://code.google.com/p/v8/source/detail?r=3102

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M src/compiler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/fast-codegen.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
fschneider
Simple change to support empty statements.
11 years, 2 months ago (2009-10-21 11:16:40 UTC) #1
Kevin Millikin (Chromium)
LGTM. http://codereview.chromium.org/313003/diff/1/2 File src/compiler.cc (right): http://codereview.chromium.org/313003/diff/1/2#newcode528 Line 528: void CodeGenSelector::VisitEmptyStatement(EmptyStatement* stmt) {} Maybe a comment ...
11 years, 2 months ago (2009-10-21 11:50:01 UTC) #2
fschneider
11 years, 2 months ago (2009-10-21 11:55:31 UTC) #3
http://codereview.chromium.org/313003/diff/1/2
File src/compiler.cc (right):

http://codereview.chromium.org/313003/diff/1/2#newcode528
Line 528: void CodeGenSelector::VisitEmptyStatement(EmptyStatement* stmt) {}
On 2009/10/21 11:50:01, Kevin Millikin wrote:
> Maybe a comment in the function body saying // Empty statements are supported.
> or something?

Done.

Powered by Google App Engine
This is Rietveld 408576698