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

Unified Diff: runtime/vm/gdb_helpers.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/gc_sweeper.cc ('k') | runtime/vm/globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gdb_helpers.cc
diff --git a/runtime/vm/gdb_helpers.cc b/runtime/vm/gdb_helpers.cc
index b50d912e0edf5010d2db0204e46cfde31ca88760..a15676cb957e85938be8f22033ca221a5642589d 100644
--- a/runtime/vm/gdb_helpers.cc
+++ b/runtime/vm/gdb_helpers.cc
@@ -15,13 +15,11 @@ void _printRawObject(RawObject* object) {
OS::PrintErr("%s\n", Object::Handle(object).ToCString());
}
-
DART_EXPORT
Object* _handle(RawObject* object) {
return &Object::Handle(object);
}
-
// An utility method for convenient printing of dart stack traces when
// inside 'gdb'. Note: This function will only work when there is a
// valid exit frame information. It will not work when a breakpoint is
@@ -33,7 +31,6 @@ void _printDartStackTrace() {
OS::PrintErr("=== Current Trace:\n%s===\n", stacktrace.ToCString());
}
-
// Like _printDartStackTrace, but works in a NoSafepointScope. Use it if you're
// in the middle of a GC or interested in stub frames.
DART_EXPORT
@@ -48,7 +45,6 @@ void _printStackTrace() {
}
}
-
class PrintObjectPointersVisitor : public ObjectPointerVisitor {
public:
PrintObjectPointersVisitor() : ObjectPointerVisitor(Isolate::Current()) {}
@@ -61,7 +57,6 @@ class PrintObjectPointersVisitor : public ObjectPointerVisitor {
}
};
-
DART_EXPORT
void _printStackTraceWithLocals() {
PrintObjectPointersVisitor visitor;
« no previous file with comments | « runtime/vm/gc_sweeper.cc ('k') | runtime/vm/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698