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: runtime/vm/pages.cc

Issue 711833002: Support verified heap pointer writes on ia32. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
Index: runtime/vm/pages.cc
===================================================================
--- runtime/vm/pages.cc (revision 41609)
+++ runtime/vm/pages.cc (working copy)
@@ -11,6 +11,7 @@
#include "vm/lockers.h"
#include "vm/object.h"
#include "vm/thread.h"
+#include "vm/verified_memory.h"
#include "vm/virtual_memory.h"
namespace dart {
@@ -59,7 +60,7 @@
HeapPage* HeapPage::Allocate(intptr_t size_in_words, PageType type) {
VirtualMemory* memory =
- VirtualMemory::Reserve(size_in_words << kWordSizeLog2);
+ VerifiedMemory::Reserve(size_in_words << kWordSizeLog2);
return Initialize(memory, type);
}

Powered by Google App Engine
This is Rietveld 408576698