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

Issue 302063004: BuildNumberToString: Check for undefined keys in the cache (Closed)

Created:
6 years, 6 months ago by Jakob Kummerow
Modified:
6 years, 6 months ago
Reviewers:
Benedikt Meurer
CC:
v8-dev
Visibility:
Public.

Description

BuildNumberToString: Check for undefined keys in the cache BUG=chromium:368114 LOG=y R=bmeurer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21586

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -14 lines) Patch
M src/hydrogen.cc View 1 chunk +20 lines, -14 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Jakob Kummerow
PTAL. We can't add a regression test because... long story :-) But I have an ...
6 years, 6 months ago (2014-05-30 16:56:52 UTC) #1
Benedikt Meurer
Nice catch, LGTM. Although I'd maybe avoid initializing the cache with undefined, and instead initialize ...
6 years, 6 months ago (2014-05-31 09:30:24 UTC) #2
Jakob Kummerow
Committed patchset #1 manually as r21586 (presubmit successful).
6 years, 6 months ago (2014-05-31 14:12:06 UTC) #3
Jakob Kummerow
6 years, 6 months ago (2014-05-31 14:14:14 UTC) #4
Message was sent while issue was closed.
On 2014/05/31 09:30:24, Benedikt Meurer wrote:
> Although I'd maybe avoid initializing the cache with undefined, and instead
> initialize all entries with (0,"0") or something like that.

Not that easy, because elsewhere we care about detecting collisions as opposed
to overwriting empty slots.

Powered by Google App Engine
This is Rietveld 408576698