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

Side by Side Diff: src/arm/assembler-arm-inl.h

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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 23 matching lines...) Expand all
34 // significantly by Google Inc. 34 // significantly by Google Inc.
35 // Copyright 2006-2008 the V8 project authors. All rights reserved. 35 // Copyright 2006-2008 the V8 project authors. All rights reserved.
36 36
37 #ifndef V8_ARM_ASSEMBLER_ARM_INL_H_ 37 #ifndef V8_ARM_ASSEMBLER_ARM_INL_H_
38 #define V8_ARM_ASSEMBLER_ARM_INL_H_ 38 #define V8_ARM_ASSEMBLER_ARM_INL_H_
39 39
40 #include "arm/assembler-arm.h" 40 #include "arm/assembler-arm.h"
41 #include "cpu.h" 41 #include "cpu.h"
42 42
43 43
44 namespace v8 { namespace internal { 44 namespace v8 {
45 namespace internal {
45 46
46 Condition NegateCondition(Condition cc) { 47 Condition NegateCondition(Condition cc) {
47 ASSERT(cc != al); 48 ASSERT(cc != al);
48 return static_cast<Condition>(cc ^ ne); 49 return static_cast<Condition>(cc ^ ne);
49 } 50 }
50 51
51 52
52 void RelocInfo::apply(int delta) { 53 void RelocInfo::apply(int delta) {
53 if (RelocInfo::IsInternalReference(rmode_)) { 54 if (RelocInfo::IsInternalReference(rmode_)) {
54 // absolute code pointer inside code object moves with the code object. 55 // absolute code pointer inside code object moves with the code object.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // CPU::FlushICache(pc, sizeof(target)); 241 // CPU::FlushICache(pc, sizeof(target));
241 // However, on ARM, no instruction was actually patched by the assignment 242 // However, on ARM, no instruction was actually patched by the assignment
242 // above; the target address is not part of an instruction, it is patched in 243 // above; the target address is not part of an instruction, it is patched in
243 // the constant pool and is read via a data access; the instruction accessing 244 // the constant pool and is read via a data access; the instruction accessing
244 // this address in the constant pool remains unchanged. 245 // this address in the constant pool remains unchanged.
245 } 246 }
246 247
247 } } // namespace v8::internal 248 } } // namespace v8::internal
248 249
249 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ 250 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_
OLDNEW
« src/accessors.h ('K') | « src/arm/assembler-arm.cc ('k') | src/arm/builtins-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698