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

Unified Diff: runtime/vm/code_observers.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/code_observers.h ('k') | runtime/vm/code_patcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_observers.cc
diff --git a/runtime/vm/code_observers.cc b/runtime/vm/code_observers.cc
index ec47c8fc41309f879298d04b0aa80776da6051f8..485f94a9b02e4df66ab67dce05857597b7cb7801 100644
--- a/runtime/vm/code_observers.cc
+++ b/runtime/vm/code_observers.cc
@@ -2,7 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-
#include "vm/code_observers.h"
#include "vm/os.h"
@@ -16,7 +15,6 @@ Mutex* CodeObservers::mutex_ = NULL;
intptr_t CodeObservers::observers_length_ = 0;
CodeObserver** CodeObservers::observers_ = NULL;
-
void CodeObservers::Register(CodeObserver* observer) {
observers_length_++;
observers_ = reinterpret_cast<CodeObserver**>(
@@ -27,7 +25,6 @@ void CodeObservers::Register(CodeObserver* observer) {
observers_[observers_length_ - 1] = observer;
}
-
void CodeObservers::NotifyAll(const char* name,
uword base,
uword prologue_offset,
@@ -41,7 +38,6 @@ void CodeObservers::NotifyAll(const char* name,
}
}
-
bool CodeObservers::AreActive() {
for (intptr_t i = 0; i < observers_length_; i++) {
if (observers_[i]->IsActive()) return true;
@@ -49,7 +45,6 @@ bool CodeObservers::AreActive() {
return false;
}
-
void CodeObservers::DeleteAll() {
for (intptr_t i = 0; i < observers_length_; i++) {
delete observers_[i];
@@ -59,7 +54,6 @@ void CodeObservers::DeleteAll() {
observers_ = NULL;
}
-
void CodeObservers::InitOnce() {
ASSERT(mutex_ == NULL);
mutex_ = new Mutex();
@@ -67,7 +61,6 @@ void CodeObservers::InitOnce() {
OS::RegisterCodeObservers();
}
-
#endif // !PRODUCT
} // namespace dart
« no previous file with comments | « runtime/vm/code_observers.h ('k') | runtime/vm/code_patcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698