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

Unified Diff: runtime/vm/method_recognizer.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/method_recognizer.h ('k') | runtime/vm/metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/method_recognizer.cc
diff --git a/runtime/vm/method_recognizer.cc b/runtime/vm/method_recognizer.cc
index 16d25bbf3b5a1f3ddd66c9154ff741a1cfa87f01..dc195c6cfdaf403156c7ea8a10000d058bfe5fab 100644
--- a/runtime/vm/method_recognizer.cc
+++ b/runtime/vm/method_recognizer.cc
@@ -14,17 +14,14 @@ MethodRecognizer::Kind MethodRecognizer::RecognizeKind(
return function.recognized_kind();
}
-
bool MethodRecognizer::AlwaysInline(const Function& function) {
return function.always_inline();
}
-
bool MethodRecognizer::PolymorphicTarget(const Function& function) {
return function.is_polymorphic_target();
}
-
intptr_t MethodRecognizer::ResultCid(const Function& function) {
switch (function.recognized_kind()) {
#define DEFINE_CASE(cname, fname, ename, result_type, fingerprint) \
@@ -37,7 +34,6 @@ intptr_t MethodRecognizer::ResultCid(const Function& function) {
}
}
-
intptr_t MethodRecognizer::MethodKindToReceiverCid(Kind kind) {
switch (kind) {
case kImmutableArrayGetIndexed:
@@ -118,7 +114,6 @@ intptr_t MethodRecognizer::MethodKindToReceiverCid(Kind kind) {
return kIllegalCid;
}
-
#define KIND_TO_STRING(class_name, function_name, enum_name, type, fp) \
#enum_name,
static const char* recognized_list_method_name[] = {
@@ -131,7 +126,6 @@ const char* MethodRecognizer::KindToCString(Kind kind) {
return "?";
}
-
#if !defined(DART_PRECOMPILED_RUNTIME)
void MethodRecognizer::InitializeState() {
GrowableArray<Library*> libs(3);
@@ -185,5 +179,4 @@ void MethodRecognizer::InitializeState() {
}
#endif // !defined(DART_PRECOMPILED_RUNTIME)
-
} // namespace dart
« no previous file with comments | « runtime/vm/method_recognizer.h ('k') | runtime/vm/metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698