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

Unified Diff: runtime/lib/linked_hash_map.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/lib/isolate.cc ('k') | runtime/lib/math.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/linked_hash_map.cc
diff --git a/runtime/lib/linked_hash_map.cc b/runtime/lib/linked_hash_map.cc
index 7c96ed43fa43e2e7f331e88a6a87b76191d6c642..8f7fefa5a1979a6e6aaf5721864541e0c1195f6e 100644
--- a/runtime/lib/linked_hash_map.cc
+++ b/runtime/lib/linked_hash_map.cc
@@ -19,7 +19,6 @@ DEFINE_NATIVE_ENTRY(LinkedHashMap_getIndex, 1) {
return map.index();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_setIndex, 2) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
@@ -28,14 +27,12 @@ DEFINE_NATIVE_ENTRY(LinkedHashMap_setIndex, 2) {
return Object::null();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_getData, 1) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
return map.data();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_setData, 2) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
@@ -44,14 +41,12 @@ DEFINE_NATIVE_ENTRY(LinkedHashMap_setData, 2) {
return Object::null();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_getHashMask, 1) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
return map.hash_mask();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_setHashMask, 2) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
@@ -60,14 +55,12 @@ DEFINE_NATIVE_ENTRY(LinkedHashMap_setHashMask, 2) {
return Object::null();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_getDeletedKeys, 1) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
return map.deleted_keys();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_setDeletedKeys, 2) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
@@ -76,14 +69,12 @@ DEFINE_NATIVE_ENTRY(LinkedHashMap_setDeletedKeys, 2) {
return Object::null();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_getUsedData, 1) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
return map.used_data();
}
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_setUsedData, 2) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/lib/math.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698