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

Unified Diff: runtime/vm/weak_table.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/weak_code.cc ('k') | runtime/vm/zone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/weak_table.cc
diff --git a/runtime/vm/weak_table.cc b/runtime/vm/weak_table.cc
index a9e8c11be4a27fe84b66f00880fe312bcbda77d2..17acba46b903985f4abf4d37599533b5b8385595 100644
--- a/runtime/vm/weak_table.cc
+++ b/runtime/vm/weak_table.cc
@@ -29,7 +29,6 @@ intptr_t WeakTable::SizeFor(intptr_t count, intptr_t size) {
return result;
}
-
void WeakTable::SetValue(RawObject* key, intptr_t val) {
intptr_t mask = size() - 1;
intptr_t idx = Hash(key) & mask;
@@ -75,7 +74,6 @@ void WeakTable::SetValue(RawObject* key, intptr_t val) {
}
}
-
void WeakTable::Reset() {
intptr_t* old_data = data_;
used_ = 0;
@@ -85,7 +83,6 @@ void WeakTable::Reset() {
free(old_data);
}
-
void WeakTable::Rehash() {
intptr_t old_size = size();
intptr_t* old_data = data_;
« no previous file with comments | « runtime/vm/weak_code.cc ('k') | runtime/vm/zone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698