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

Side by Side Diff: src/arm/simulator-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 2008 the V8 project authors. All rights reserved. 1 // Copyright 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 18 matching lines...) Expand all
29 29
30 #include "v8.h" 30 #include "v8.h"
31 31
32 #include "disasm.h" 32 #include "disasm.h"
33 #include "arm/constants-arm.h" 33 #include "arm/constants-arm.h"
34 #include "arm/simulator-arm.h" 34 #include "arm/simulator-arm.h"
35 35
36 #if !defined(__arm__) 36 #if !defined(__arm__)
37 37
38 // Only build the simulator if not compiling for real ARM hardware. 38 // Only build the simulator if not compiling for real ARM hardware.
39 namespace assembler { namespace arm { 39 namespace assembler {
40 namespace arm {
40 41
41 using ::v8::internal::Object; 42 using ::v8::internal::Object;
42 using ::v8::internal::PrintF; 43 using ::v8::internal::PrintF;
43 using ::v8::internal::OS; 44 using ::v8::internal::OS;
44 using ::v8::internal::ReadLine; 45 using ::v8::internal::ReadLine;
45 using ::v8::internal::DeleteArray; 46 using ::v8::internal::DeleteArray;
46 47
47 // This macro provides a platform independent use of sscanf. The reason for 48 // This macro provides a platform independent use of sscanf. The reason for
48 // SScanF not being implemented in a platform independent was through 49 // SScanF not being implemented in a platform independent was through
49 // ::v8::internal::OS in the same way as SNPrintF is that the Windows C Run-Time 50 // ::v8::internal::OS in the same way as SNPrintF is that the Windows C Run-Time
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 set_register(r10, r10_val); 1679 set_register(r10, r10_val);
1679 set_register(r11, r11_val); 1680 set_register(r11, r11_val);
1680 1681
1681 int result = get_register(r0); 1682 int result = get_register(r0);
1682 return reinterpret_cast<Object*>(result); 1683 return reinterpret_cast<Object*>(result);
1683 } 1684 }
1684 1685
1685 } } // namespace assembler::arm 1686 } } // namespace assembler::arm
1686 1687
1687 #endif // !defined(__arm__) 1688 #endif // !defined(__arm__)
OLDNEW
« src/accessors.h ('K') | « src/arm/simulator-arm.h ('k') | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698