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

Issue 6966033: Remove some dead code from full-codegen on all platforms. (Closed)

Created:
9 years, 7 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove some dead code from full-codegen on all platforms. BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=8047

Patch Set 1 #

Total comments: 4

Patch Set 2 : Reinsert guard for (function != NULL), add comments. #

Total comments: 3

Patch Set 3 : included the x64 version this time. #

Patch Set 4 : Changed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -54 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 3 1 chunk +12 lines, -13 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 1 chunk +11 lines, -13 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 1 chunk +13 lines, -14 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 2 chunks +11 lines, -14 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
William Hesse
9 years, 7 months ago (2011-05-24 12:11:00 UTC) #1
Kevin Millikin (Chromium)
http://codereview.chromium.org/6966033/diff/1/src/arm/full-codegen-arm.cc File src/arm/full-codegen-arm.cc (right): http://codereview.chromium.org/6966033/diff/1/src/arm/full-codegen-arm.cc#newcode743 src/arm/full-codegen-arm.cc:743: ASSERT(mode != Variable::CONST); This needs a comment that a ...
9 years, 7 months ago (2011-05-24 12:57:27 UTC) #2
William Hesse
Suggested changes made. http://codereview.chromium.org/6966033/diff/1/src/arm/full-codegen-arm.cc File src/arm/full-codegen-arm.cc (right): http://codereview.chromium.org/6966033/diff/1/src/arm/full-codegen-arm.cc#newcode743 src/arm/full-codegen-arm.cc:743: ASSERT(mode != Variable::CONST); On 2011/05/24 12:57:27, ...
9 years, 7 months ago (2011-05-24 14:21:43 UTC) #3
Kevin Millikin (Chromium)
9 years, 7 months ago (2011-05-24 14:36:25 UTC) #4
I think you forgot to upload the updated x64 version.

LGTM with the analogous x64 change.

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

http://codereview.chromium.org/6966033/diff/3001/src/arm/full-codegen-arm.cc#...
src/arm/full-codegen-arm.cc:749: // A const declaration aliasing a parameter is
a illegal redeclaration.
"a" ==> "an" :)

http://codereview.chromium.org/6966033/diff/3001/src/arm/full-codegen-arm.cc#...
src/arm/full-codegen-arm.cc:752: // Store the function for a function
declaration.
This whole function is doing nothing for a regular var declaration and storing
the function for a function declaration (also initializing to the hole for
constants).  I don't really think a special comment is needed here.

http://codereview.chromium.org/6966033/diff/3001/src/x64/full-codegen-x64.cc
File src/x64/full-codegen-x64.cc (right):

http://codereview.chromium.org/6966033/diff/3001/src/x64/full-codegen-x64.cc#...
src/x64/full-codegen-x64.cc:718: ASSERT(function != NULL);
You still can't assert this here.

Powered by Google App Engine
This is Rietveld 408576698