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

Unified Diff: runtime/vm/cpu_mips.cc

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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/cpu_mips.h ('k') | runtime/vm/cpu_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpu_mips.cc
diff --git a/runtime/vm/cpu_mips.cc b/runtime/vm/cpu_mips.cc
index f220706a47125c983d3357a90f769a3fb8e5c839..902f59cb0f1196650771c7b02324de9b1a4a82e9 100644
--- a/runtime/vm/cpu_mips.cc
+++ b/runtime/vm/cpu_mips.cc
@@ -14,7 +14,7 @@
#if !defined(USING_SIMULATOR)
#include <asm/cachectl.h> /* NOLINT */
#include <sys/syscall.h> /* NOLINT */
-#include <unistd.h> /* NOLINT */
+#include <unistd.h> /* NOLINT */
#endif
namespace dart {
@@ -25,9 +25,9 @@ void CPU::FlushICache(uword start, uword size) {
// See http://www.linux-mips.org/wiki/Cacheflush_Syscall.
res = syscall(__NR_cacheflush, start, size, ICACHE);
ASSERT(res == 0);
-#else // defined(HOST_ARCH_MIPS)
- // When running in simulated mode we do not need to flush the ICache because
- // we are not running on the actual hardware.
+#else // defined(HOST_ARCH_MIPS)
+// When running in simulated mode we do not need to flush the ICache because
+// we are not running on the actual hardware.
#endif // defined(HOST_ARCH_MIPS)
}
@@ -35,9 +35,9 @@ void CPU::FlushICache(uword start, uword size) {
const char* CPU::Id() {
return
#if defined(USING_SIMULATOR)
- "sim"
+ "sim"
#endif // !defined(HOST_ARCH_MIPS)
- "mips";
+ "mips";
}
@@ -55,8 +55,8 @@ void HostCPUFeatures::InitOnce() {
// Has a floating point unit.
ASSERT(CpuInfo::FieldContains(kCpuInfoModel, "FPU"));
- // We want to know the ISA version, but on MIPS, CpuInfo can't tell us, so
- // we use the same ISA version that Dart's C++ compiler targeted.
+// We want to know the ISA version, but on MIPS, CpuInfo can't tell us, so
+// we use the same ISA version that Dart's C++ compiler targeted.
#if defined(_MIPS_ARCH_MIPS32R2)
mips_version_ = MIPS32r2;
#elif defined(_MIPS_ARCH_MIPS32)
« no previous file with comments | « runtime/vm/cpu_mips.h ('k') | runtime/vm/cpu_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698