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

Side by Side Diff: src/ia32/assembler-ia32-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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 21 matching lines...) Expand all
32 // modified significantly by Google Inc. 32 // modified significantly by Google Inc.
33 // Copyright 2006-2008 the V8 project authors. All rights reserved. 33 // Copyright 2006-2008 the V8 project authors. All rights reserved.
34 34
35 // A light-weight IA32 Assembler. 35 // A light-weight IA32 Assembler.
36 36
37 #ifndef V8_IA32_ASSEMBLER_IA32_INL_H_ 37 #ifndef V8_IA32_ASSEMBLER_IA32_INL_H_
38 #define V8_IA32_ASSEMBLER_IA32_INL_H_ 38 #define V8_IA32_ASSEMBLER_IA32_INL_H_
39 39
40 #include "cpu.h" 40 #include "cpu.h"
41 41
42 namespace v8 { namespace internal { 42 namespace v8 {
43 namespace internal {
43 44
44 Condition NegateCondition(Condition cc) { 45 Condition NegateCondition(Condition cc) {
45 return static_cast<Condition>(cc ^ 1); 46 return static_cast<Condition>(cc ^ 1);
46 } 47 }
47 48
48 49
49 // The modes possibly affected by apply must be in kApplyMask. 50 // The modes possibly affected by apply must be in kApplyMask.
50 void RelocInfo::apply(int delta) { 51 void RelocInfo::apply(int delta) {
51 if (rmode_ == RUNTIME_ENTRY || IsCodeTarget(rmode_)) { 52 if (rmode_ == RUNTIME_ENTRY || IsCodeTarget(rmode_)) {
52 int32_t* p = reinterpret_cast<int32_t*>(pc_); 53 int32_t* p = reinterpret_cast<int32_t*>(pc_);
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 310
310 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { 311 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) {
311 // [disp/r] 312 // [disp/r]
312 set_modrm(0, ebp); 313 set_modrm(0, ebp);
313 set_dispr(disp, rmode); 314 set_dispr(disp, rmode);
314 } 315 }
315 316
316 } } // namespace v8::internal 317 } } // namespace v8::internal
317 318
318 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_ 319 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_
OLDNEW
« src/accessors.h ('K') | « src/ia32/assembler-ia32.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698