| Index: runtime/vm/cpuinfo_macos.cc
|
| diff --git a/runtime/vm/cpuinfo_macos.cc b/runtime/vm/cpuinfo_macos.cc
|
| index 6139f5602f10cf4af4cc91c961b9b94eab2202b1..b47720245dd504afbd5d17eb88d8435bfef48b5a 100644
|
| --- a/runtime/vm/cpuinfo_macos.cc
|
| +++ b/runtime/vm/cpuinfo_macos.cc
|
| @@ -8,8 +8,8 @@
|
| #include "vm/cpuinfo.h"
|
|
|
| #include <errno.h> // NOLINT
|
| -#include <sys/types.h> // NOLINT
|
| #include <sys/sysctl.h> // NOLINT
|
| +#include <sys/types.h> // NOLINT
|
|
|
| #include "platform/assert.h"
|
|
|
| @@ -28,10 +28,8 @@ void CpuInfo::InitOnce() {
|
| fields_[kCpuInfoArchitecture] = NULL;
|
| }
|
|
|
| -
|
| void CpuInfo::Cleanup() {}
|
|
|
| -
|
| bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) {
|
| ASSERT(method_ != kCpuInfoDefault);
|
| ASSERT(search_string != NULL);
|
| @@ -48,7 +46,6 @@ bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) {
|
| return (strcasestr(dest, search_string) != NULL);
|
| }
|
|
|
| -
|
| const char* CpuInfo::ExtractField(CpuInfoIndices idx) {
|
| ASSERT(method_ != kCpuInfoDefault);
|
| const char* field = FieldName(idx);
|
| @@ -70,7 +67,6 @@ const char* CpuInfo::ExtractField(CpuInfoIndices idx) {
|
| return result;
|
| }
|
|
|
| -
|
| bool CpuInfo::HasField(const char* field) {
|
| ASSERT(method_ != kCpuInfoDefault);
|
| ASSERT(field != NULL);
|
|
|