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

Unified Diff: runtime/vm/visitor.h

Issue 1292063004: Add NoSafepointScope to ObjectPointerVisitor. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Move implementation. Created 5 years, 4 months 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 | « runtime/vm/scavenger.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/visitor.h
diff --git a/runtime/vm/visitor.h b/runtime/vm/visitor.h
index 70fe619e215df01ff34ad7f4c16c3f81b3fd4e2a..a69349d81760a1f9996472f1217e1dc2cf116492 100644
--- a/runtime/vm/visitor.h
+++ b/runtime/vm/visitor.h
@@ -5,6 +5,7 @@
#ifndef VM_VISITOR_H_
#define VM_VISITOR_H_
+#include "vm/allocation.h"
#include "vm/globals.h"
#include "vm/growable_array.h"
@@ -38,6 +39,7 @@ class ObjectPointerVisitor {
private:
Isolate* isolate_;
+ NoSafepointScope no_safepoints_;
DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectPointerVisitor);
};
« no previous file with comments | « runtime/vm/scavenger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698