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

Unified Diff: runtime/vm/stack_frame.cc

Issue 1016503005: Rename NoGCScope -> NoSafepointScope. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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/snapshot.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.cc
===================================================================
--- runtime/vm/stack_frame.cc (revision 44579)
+++ runtime/vm/stack_frame.cc (working copy)
@@ -81,7 +81,7 @@
// helper functions to the raw object interface.
ASSERT(isolate_ == Isolate::Current());
ASSERT(visitor != NULL);
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
Code code;
code = LookupDartCode();
if (!code.IsNull()) {
@@ -173,7 +173,7 @@
// We add a no gc scope to ensure that the code below does not trigger
// a GC as we are handling raw object references here. It is possible
// that the code is called while a GC is in progress, that is ok.
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
RawCode* code = GetCodeObject();
ASSERT(code == Code::null() || code->ptr()->owner_ != Function::null());
return code;
@@ -184,7 +184,7 @@
// We add a no gc scope to ensure that the code below does not trigger
// a GC as we are handling raw object references here. It is possible
// that the code is called while a GC is in progress, that is ok.
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
const uword pc_marker =
*(reinterpret_cast<uword*>(fp() + (kPcMarkerSlotFromFp * kWordSize)));
if (pc_marker != 0) {
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698