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

Unified Diff: runtime/vm/verifier.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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/verifier.h ('k') | runtime/vm/version_in.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/verifier.cc
diff --git a/runtime/vm/verifier.cc b/runtime/vm/verifier.cc
index fc1186764e5331819f20d61aa226e22b4575cdde..3d4d54428c49b897dcd07990d12d1257dcb1e4ce 100644
--- a/runtime/vm/verifier.cc
+++ b/runtime/vm/verifier.cc
@@ -45,7 +45,6 @@ void VerifyObjectVisitor::VisitObject(RawObject* raw_obj) {
raw_obj->Validate(isolate_);
}
-
void VerifyPointersVisitor::VisitPointers(RawObject** first, RawObject** last) {
for (RawObject** current = first; current <= last; current++) {
RawObject* raw_obj = *current;
@@ -58,7 +57,6 @@ void VerifyPointersVisitor::VisitPointers(RawObject** first, RawObject** last) {
}
}
-
void VerifyWeakPointersVisitor::VisitHandle(uword addr) {
FinalizablePersistentHandle* handle =
reinterpret_cast<FinalizablePersistentHandle*>(addr);
@@ -66,7 +64,6 @@ void VerifyWeakPointersVisitor::VisitHandle(uword addr) {
visitor_->VisitPointer(&raw_obj);
}
-
void VerifyPointersVisitor::VerifyPointers(MarkExpectation mark_expectation) {
NoSafepointScope no_safepoint;
Thread* thread = Thread::Current();
@@ -82,12 +79,10 @@ void VerifyPointersVisitor::VerifyPointers(MarkExpectation mark_expectation) {
isolate->VisitWeakPersistentHandles(&weak_visitor);
}
-
#if defined(DEBUG)
VerifyCanonicalVisitor::VerifyCanonicalVisitor(Thread* thread)
: thread_(thread), instanceHandle_(Instance::Handle(thread->zone())) {}
-
void VerifyCanonicalVisitor::VisitObject(RawObject* obj) {
if (obj->GetClassId() >= kInstanceCid) {
if (obj->IsCanonical()) {
« no previous file with comments | « runtime/vm/verifier.h ('k') | runtime/vm/version_in.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698