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

Unified Diff: runtime/vm/weak_code.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/visitor.h ('k') | runtime/vm/weak_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/weak_code.cc
diff --git a/runtime/vm/weak_code.cc b/runtime/vm/weak_code.cc
index 7f2f4064ff37f551baba76af68badef9dae5b39a..c750d94155bcdb8fb309c6b91cdf5fc578dcc5db 100644
--- a/runtime/vm/weak_code.cc
+++ b/runtime/vm/weak_code.cc
@@ -17,7 +17,6 @@ bool WeakCodeReferences::HasCodes() const {
return !array_.IsNull() && (array_.Length() > 0);
}
-
void WeakCodeReferences::Register(const Code& value) {
if (!array_.IsNull()) {
// Try to find and reuse cleared WeakProperty to avoid allocating new one.
@@ -43,7 +42,6 @@ void WeakCodeReferences::Register(const Code& value) {
UpdateArrayTo(new_array);
}
-
bool WeakCodeReferences::IsOptimizedCode(const Array& dependent_code,
const Code& code) {
if (!code.is_optimized()) {
@@ -59,7 +57,6 @@ bool WeakCodeReferences::IsOptimizedCode(const Array& dependent_code,
return false;
}
-
void WeakCodeReferences::DisableCode() {
Thread* thread = Thread::Current();
const Array& code_objects = Array::Handle(thread->zone(), array_.raw());
« no previous file with comments | « runtime/vm/visitor.h ('k') | runtime/vm/weak_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698