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

Issue 14506: Fixed constant calculation that's not allowed on windows. (Closed)

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

Description

Changed (1<<31)-1 into INT_MAX.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M src/ast.h View 3 chunks +4 lines, -2 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
Quick review.
12 years ago (2008-12-17 11:56:47 UTC) #1
Mads Ager (chromium)
12 years ago (2008-12-17 12:00:48 UTC) #2
LGTM

http://codereview.chromium.org/14506/diff/1/2
File src/ast.h (right):

http://codereview.chromium.org/14506/diff/1/2#newcode31
Line 31: #include <limits.h>
Remove this and use kMaxInt from globals.h?

Powered by Google App Engine
This is Rietveld 408576698