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

Issue 256041: Fast fix to make tree green. (Closed)

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

Description

Fast fix to make tree green. Committed: http://code.google.com/p/v8/source/detail?r=3015

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -7 lines) Patch
M src/checks.h View 2 chunks +2 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 7 chunks +13 lines, -7 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
antonm
11 years, 2 months ago (2009-10-02 18:48:47 UTC) #1
Lasse Reichstein
11 years, 2 months ago (2009-10-02 20:01:23 UTC) #2
Drive by comments.

http://codereview.chromium.org/256041/diff/1/2
File test/cctest/test-api.cc (right):

http://codereview.chromium.org/256041/diff/1/2#newcode706
Line 706: # define CAST_TO_INT64(x) (int(x))
It seems counter-intuitive to have a macro called CAST_TO_INT64 that casts to a
32-bit integer type.

I'd prefer CAST_TO_V8_INTEGER_VALUE (since it seems it casts to the return type
of Integer::Value).

I'd prefer C++ style casts, i.e., static_cast<int>(x).

Powered by Google App Engine
This is Rietveld 408576698