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

Side by Side Diff: src/compiler/register-configuration.cc

Issue 1143133002: Regularize namespace closing curlies (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/compiler/move-optimizer.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/register-configuration.h" 5 #include "src/compiler/register-configuration.h"
6 #include "src/globals.h" 6 #include "src/globals.h"
7 #include "src/macro-assembler.h" 7 #include "src/macro-assembler.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 28 matching lines...) Expand all
39 const char* 39 const char*
40 general_register_name_table_[Register::kMaxNumAllocatableRegisters]; 40 general_register_name_table_[Register::kMaxNumAllocatableRegisters];
41 const char* 41 const char*
42 double_register_name_table_[DoubleRegister::kMaxNumAllocatableRegisters]; 42 double_register_name_table_[DoubleRegister::kMaxNumAllocatableRegisters];
43 }; 43 };
44 44
45 45
46 static base::LazyInstance<ArchDefaultRegisterConfiguration>::type 46 static base::LazyInstance<ArchDefaultRegisterConfiguration>::type
47 kDefaultRegisterConfiguration = LAZY_INSTANCE_INITIALIZER; 47 kDefaultRegisterConfiguration = LAZY_INSTANCE_INITIALIZER;
48 48
49 } // namepace 49 } // namespace
50 50
51 51
52 const RegisterConfiguration* RegisterConfiguration::ArchDefault() { 52 const RegisterConfiguration* RegisterConfiguration::ArchDefault() {
53 return &kDefaultRegisterConfiguration.Get(); 53 return &kDefaultRegisterConfiguration.Get();
54 } 54 }
55 55
56 RegisterConfiguration::RegisterConfiguration( 56 RegisterConfiguration::RegisterConfiguration(
57 int num_general_registers, int num_double_registers, 57 int num_general_registers, int num_double_registers,
58 int num_aliased_double_registers, const char* const* general_register_names, 58 int num_aliased_double_registers, const char* const* general_register_names,
59 const char* const* double_register_names) 59 const char* const* double_register_names)
60 : num_general_registers_(num_general_registers), 60 : num_general_registers_(num_general_registers),
61 num_double_registers_(num_double_registers), 61 num_double_registers_(num_double_registers),
62 num_aliased_double_registers_(num_aliased_double_registers), 62 num_aliased_double_registers_(num_aliased_double_registers),
63 general_register_names_(general_register_names), 63 general_register_names_(general_register_names),
64 double_register_names_(double_register_names) {} 64 double_register_names_(double_register_names) {}
65 65
66 66
67 } // namespace compiler 67 } // namespace compiler
68 } // namespace internal 68 } // namespace internal
69 } // namespace v8 69 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/move-optimizer.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698