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

Unified Diff: runtime/vm/cpuinfo_linux.cc

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 years, 6 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_android.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpuinfo_linux.cc
diff --git a/runtime/vm/cpuinfo_linux.cc b/runtime/vm/cpuinfo_linux.cc
index 232b4091c59fbde308f242abaf18efab9ef4aa17..3289a1573984d4f9af87e4641532fde22c0fe5ae 100644
--- a/runtime/vm/cpuinfo_linux.cc
+++ b/runtime/vm/cpuinfo_linux.cc
@@ -12,7 +12,7 @@
#include "platform/assert.h"
// As with Windows, on IA32 and X64, we use the cpuid instruction.
-// The analogous instruction is privileged on ARM and MIPS, so we resort to
+// The analogous instruction is privileged on ARM, so we resort to
// reading from /proc/cpuinfo.
namespace dart {
@@ -45,14 +45,6 @@ void CpuInfo::InitOnce() {
fields_[kCpuInfoArchitecture] = "CPU architecture";
method_ = kCpuInfoSystem;
ProcCpuInfo::InitOnce();
-#elif defined(HOST_ARCH_MIPS)
- fields_[kCpuInfoProcessor] = "system type";
- fields_[kCpuInfoModel] = "cpu model";
- fields_[kCpuInfoHardware] = "cpu model";
- fields_[kCpuInfoFeatures] = "ASEs implemented";
- fields_[kCpuInfoArchitecture] = "CPU architecture";
- method_ = kCpuInfoSystem;
- ProcCpuInfo::InitOnce();
#else
#error Unrecognized target architecture
#endif
« no previous file with comments | « runtime/vm/cpuinfo_android.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698