Closed
Bug 1065623
Opened 10 years ago
Closed 10 years ago
Declare random_next in jsmath.h
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
It's defined in jsmath.cpp, but not declared in jsmath.h leading to jit/ExecutableAllocatorWin.cpp and vm/ThreadPool.cpp to declare it themselves and use it. Instead, we should just declare it in jsmath.h.
Assignee | ||
Comment 1•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=9b35fd1f6e9c
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Attachment #8487463 -
Flags: review?(jorendorff)
Assignee | ||
Comment 2•10 years ago
|
||
Updated to also expose random_initState and random_nextDouble, because we want to be able to have our own rng state that we can control to get deterministic testing in bug 1056373 and we are using a double between 0 and 1. Try push: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=5f3c765da94e
Attachment #8487463 -
Attachment is obsolete: true
Attachment #8487463 -
Flags: review?(jorendorff)
Attachment #8488813 -
Flags: review?(jorendorff)
Comment 3•10 years ago
|
||
Comment on attachment 8488813 [details] [diff] [review] declare-random_next.patch Review of attachment 8488813 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8488813 -
Flags: review?(jorendorff) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a4f865960cd3
Keywords: checkin-needed
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a4f865960cd3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•