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

Issue 332733002: Fixed undefined behavior in RNG. (Closed)

Created:
6 years, 6 months ago by Sven Panne
Modified:
6 years, 6 months ago
Reviewers:
dcarney
CC:
v8-dev
Visibility:
Public.

Description

Fixed undefined behavior in RNG. We're basically trading undefined behavior for implementation defined behavior, which should be OK for UBSan. :-) The generated code should be identical, at least I checked that for GCC 4.6.3 on x64. BUG=377790 LOG=y R=dcarney@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21828

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M src/utils/random-number-generator.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Sven Panne
6 years, 6 months ago (2014-06-12 13:19:46 UTC) #1
dcarney
lgtm
6 years, 6 months ago (2014-06-12 13:26:11 UTC) #2
Sven Panne
6 years, 6 months ago (2014-06-13 06:36:15 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r21828 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698