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

Unified Diff: runtime/vm/cpuinfo_win.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/cpuinfo_test.cc ('k') | runtime/vm/custom_isolate_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpuinfo_win.cc
diff --git a/runtime/vm/cpuinfo_win.cc b/runtime/vm/cpuinfo_win.cc
index 7d0820a0c852b9e6021399858b49c00c8f9fbbf2..bef8c84d0e79b24c313e196d89fc2a035481bb34 100644
--- a/runtime/vm/cpuinfo_win.cc
+++ b/runtime/vm/cpuinfo_win.cc
@@ -5,8 +5,8 @@
#include "vm/globals.h"
#if defined(HOST_OS_WINDOWS)
-#include "vm/cpuinfo.h"
#include "vm/cpuid.h"
+#include "vm/cpuinfo.h"
// __cpuid()
#include <intrin.h> // NOLINT
@@ -32,24 +32,20 @@ void CpuInfo::InitOnce() {
fields_[kCpuInfoArchitecture] = NULL;
}
-
void CpuInfo::Cleanup() {
CpuId::Cleanup();
}
-
bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) {
ASSERT(method_ != kCpuInfoDefault);
return strstr(CpuId::field(idx), search_string);
}
-
const char* CpuInfo::ExtractField(CpuInfoIndices idx) {
ASSERT(method_ != kCpuInfoDefault);
return CpuId::field(idx);
}
-
bool CpuInfo::HasField(const char* field) {
ASSERT(method_ != kCpuInfoDefault);
return (strcmp(field, fields_[kCpuInfoProcessor]) == 0) ||
« no previous file with comments | « runtime/vm/cpuinfo_test.cc ('k') | runtime/vm/custom_isolate_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698