| 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) ||
|
|
|