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

Side by Side Diff: src/codegen.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 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 #if V8_TARGET_ARCH_IA32 81 #if V8_TARGET_ARCH_IA32
82 #include "ia32/codegen-ia32.h" 82 #include "ia32/codegen-ia32.h"
83 #elif V8_TARGET_ARCH_X64 83 #elif V8_TARGET_ARCH_X64
84 #include "x64/codegen-x64.h" 84 #include "x64/codegen-x64.h"
85 #elif V8_TARGET_ARCH_ARM 85 #elif V8_TARGET_ARCH_ARM
86 #include "arm/codegen-arm.h" 86 #include "arm/codegen-arm.h"
87 #endif 87 #endif
88 88
89 #include "register-allocator.h" 89 #include "register-allocator.h"
90 90
91 namespace v8 { namespace internal { 91 namespace v8 {
92 namespace internal {
92 93
93 94
94 // Code generation can be nested. Code generation scopes form a stack 95 // Code generation can be nested. Code generation scopes form a stack
95 // of active code generators. 96 // of active code generators.
96 class CodeGeneratorScope BASE_EMBEDDED { 97 class CodeGeneratorScope BASE_EMBEDDED {
97 public: 98 public:
98 explicit CodeGeneratorScope(CodeGenerator* cgen) { 99 explicit CodeGeneratorScope(CodeGenerator* cgen) {
99 previous_ = top_; 100 previous_ = top_;
100 top_ = cgen; 101 top_ = cgen;
101 } 102 }
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 PrintF("ArgumentsAccessStub (type %d)\n", type_); 349 PrintF("ArgumentsAccessStub (type %d)\n", type_);
349 } 350 }
350 #endif 351 #endif
351 }; 352 };
352 353
353 354
354 } // namespace internal 355 } // namespace internal
355 } // namespace v8 356 } // namespace v8
356 357
357 #endif // V8_CODEGEN_H_ 358 #endif // V8_CODEGEN_H_
OLDNEW
« src/accessors.h ('K') | « src/code-stubs.cc ('k') | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698