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

Unified Diff: runtime/vm/unibrow.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/type_table.h ('k') | runtime/vm/unicode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unibrow.cc
diff --git a/runtime/vm/unibrow.cc b/runtime/vm/unibrow.cc
index e39a6d3b96ba9e32c0589cf98c74d7062cd3982f..4dbb507ad34ebae1897074cfee92bbd52adc2848 100644
--- a/runtime/vm/unibrow.cc
+++ b/runtime/vm/unibrow.cc
@@ -4,8 +4,8 @@
//
// This file was generated at 2014-10-08 15:25:47.940335 (in v8, copied to dart)
-#include "vm/unibrow-inl.h"
#include "vm/unibrow.h"
+#include "vm/unibrow-inl.h"
#include <stdio.h>
#include <stdlib.h>
@@ -27,17 +27,14 @@ static inline int32_t TableGet(const int32_t* table, intptr_t index) {
return table[D * index];
}
-
static inline int32_t GetEntry(int32_t entry) {
return entry & (kStartBit - 1);
}
-
static inline bool IsStart(int32_t entry) {
return (entry & kStartBit) != 0;
}
-
/**
* Look up a character in the unicode table using a mix of binary and
* interpolation search. For a uniformly distributed array
@@ -84,7 +81,6 @@ struct MultiCharacterSpecialCase {
int32_t chars[kW];
};
-
// Look up the mapping for the given character in the specified table,
// which is of the specified length and uses the specified special case
// mapping for multi-char mappings. The next parameter is the character
@@ -186,7 +182,6 @@ static intptr_t LookupMapping(const int32_t* table,
}
}
-
// Letter: point.category in ['Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'Nl']
// clang-format off
static const uint16_t kLetterTable0Size = 431;
« no previous file with comments | « runtime/vm/type_table.h ('k') | runtime/vm/unicode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698