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

Issue 115500: Use a large enough variable in CompilationCache::LookupScript to avoid overfl... (Closed)

Created:
11 years, 7 months ago by Lei Zhang
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Use a large enough variable in CompilationCache::LookupScript to avoid overflow.

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M src/compilation-cache.cc View 1 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kasper Lund
LGTM. Does this CL completely fix http://code.google.com/p/v8/issues/detail?id=347
11 years, 7 months ago (2009-05-19 05:40:47 UTC) #1
Søren Thygesen Gjesse
http://codereview.chromium.org/115500/diff/1/2 File src/compilation-cache.cc (right): http://codereview.chromium.org/115500/diff/1/2#newcode141 Line 141: int generation = static_cast<int>(SCRIPT); // First generation. Please ...
11 years, 7 months ago (2009-05-19 06:27:22 UTC) #2
Evan Martin
I believe part of the reason gcc requires casts between int and enum is because ...
11 years, 7 months ago (2009-05-19 17:23:48 UTC) #3
Lei Zhang
Added comment. Someone from the v8 team probably need to commit this and then upstream ...
11 years, 7 months ago (2009-05-19 19:06:12 UTC) #4
Kasper Lund
11 years, 7 months ago (2009-05-20 06:47:25 UTC) #5
Submitted (slightly modified) as bleeding_edge@2004.

Powered by Google App Engine
This is Rietveld 408576698