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

Issue 199263005: - Avoid exposing the 64-bit state of the PRNG to Dart code. (Closed)

Created:
6 years, 9 months ago by Ivan Posva
Modified:
6 years, 9 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Avoid exposing the 64-bit state of the PRNG to Dart code. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=33778

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -36 lines) Patch
M runtime/lib/math.cc View 1 2 3 chunks +20 lines, -15 lines 1 comment Download
M runtime/lib/math_patch.dart View 1 2 2 chunks +13 lines, -20 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Ivan Posva
6 years, 9 months ago (2014-03-17 20:32:29 UTC) #1
siva
lgtm https://codereview.chromium.org/199263005/diff/40001/runtime/lib/math.cc File runtime/lib/math.cc (right): https://codereview.chromium.org/199263005/diff/40001/runtime/lib/math.cc#newcode190 runtime/lib/math.cc:190: seed |= (static_cast<uint64_t>(rnd->NextUInt32())) << 32; I would write ...
6 years, 9 months ago (2014-03-17 21:19:04 UTC) #2
Ivan Posva
6 years, 9 months ago (2014-03-17 21:27:28 UTC) #3
Message was sent while issue was closed.
Committed patchset #3 manually as r33778 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698