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

Side by Side Diff: src/arm/cpu-arm.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 16 matching lines...) Expand all
27 27
28 // CPU specific code for arm independent of OS goes here. 28 // CPU specific code for arm independent of OS goes here.
29 #if defined(__arm__) 29 #if defined(__arm__)
30 #include <sys/syscall.h> // for cache flushing. 30 #include <sys/syscall.h> // for cache flushing.
31 #endif 31 #endif
32 32
33 #include "v8.h" 33 #include "v8.h"
34 34
35 #include "cpu.h" 35 #include "cpu.h"
36 36
37 namespace v8 { namespace internal { 37 namespace v8 {
38 namespace internal {
38 39
39 void CPU::Setup() { 40 void CPU::Setup() {
40 // Nothing to do. 41 // Nothing to do.
41 } 42 }
42 43
43 44
44 void CPU::FlushICache(void* start, size_t size) { 45 void CPU::FlushICache(void* start, size_t size) {
45 #if !defined (__arm__) 46 #if !defined (__arm__)
46 // Not generating ARM instructions for C-code. This means that we are 47 // Not generating ARM instructions for C-code. This means that we are
47 // building an ARM emulator based target. No I$ flushes are necessary. 48 // building an ARM emulator based target. No I$ flushes are necessary.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 116
116 void CPU::DebugBreak() { 117 void CPU::DebugBreak() {
117 #if !defined (__arm__) 118 #if !defined (__arm__)
118 UNIMPLEMENTED(); // when building ARM emulator target 119 UNIMPLEMENTED(); // when building ARM emulator target
119 #else 120 #else
120 asm volatile("bkpt 0"); 121 asm volatile("bkpt 0");
121 #endif 122 #endif
122 } 123 }
123 124
124 } } // namespace v8::internal 125 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/arm/constants-arm.h ('k') | src/arm/debug-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698