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

Side by Side Diff: src/arm/disasm-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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include <stdint.h> 55 #include <stdint.h>
56 #endif 56 #endif
57 57
58 #include "v8.h" 58 #include "v8.h"
59 59
60 #include "disasm.h" 60 #include "disasm.h"
61 #include "macro-assembler.h" 61 #include "macro-assembler.h"
62 #include "platform.h" 62 #include "platform.h"
63 63
64 64
65 namespace assembler { namespace arm { 65 namespace assembler {
66 namespace arm {
66 67
67 namespace v8i = v8::internal; 68 namespace v8i = v8::internal;
68 69
69 70
70 //------------------------------------------------------------------------------ 71 //------------------------------------------------------------------------------
71 72
72 // Decoder decodes and disassembles instructions into an output buffer. 73 // Decoder decodes and disassembles instructions into an output buffer.
73 // It uses the converter to convert register names and call destinations into 74 // It uses the converter to convert register names and call destinations into
74 // more informative description. 75 // more informative description.
75 class Decoder { 76 class Decoder {
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 buffer[0] = '\0'; 892 buffer[0] = '\0';
892 byte* prev_pc = pc; 893 byte* prev_pc = pc;
893 pc += d.InstructionDecode(buffer, pc); 894 pc += d.InstructionDecode(buffer, pc);
894 fprintf(f, "%p %08x %s\n", 895 fprintf(f, "%p %08x %s\n",
895 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); 896 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
896 } 897 }
897 } 898 }
898 899
899 900
900 } // namespace disasm 901 } // namespace disasm
OLDNEW
« src/accessors.h ('K') | « src/arm/debug-arm.cc ('k') | src/arm/frames-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698