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

Unified Diff: src/heap.cc

Issue 80513004: Revert 17963, 17962 and 17955: Random number generator in JS changes (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove Yang's changes, too Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/globals.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index dcab156377005c3918c7875d2c6e76a01286e4a8..b5fe18454e31005d64bb7e611a25dd60449eea67 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -1765,9 +1765,7 @@ struct WeakListVisitor<Context> {
}
}
- static void VisitPhantomObject(Heap*, Context* context) {
- // A bit of a hack, see the comment at the end of Genesis::Genesis().
- delete[] reinterpret_cast<uint32_t*>(context->random_state());
+ static void VisitPhantomObject(Heap*, Context*) {
}
static int WeakNextOffset() {
« no previous file with comments | « src/globals.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698