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

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

Issue 1777593003: S390: Platform specific includes in common files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use new Macro for object in roots array too. Created 4 years, 9 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/profiler/sampler.cc ('k') | src/simulator.h » ('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/register-configuration.h" 5 #include "src/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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 kMaxAllocatableDoubleRegisterCount, 84 kMaxAllocatableDoubleRegisterCount,
85 kMaxAllocatableDoubleRegisterCount, 85 kMaxAllocatableDoubleRegisterCount,
86 #elif V8_TARGET_ARCH_MIPS64 86 #elif V8_TARGET_ARCH_MIPS64
87 kMaxAllocatableGeneralRegisterCount, 87 kMaxAllocatableGeneralRegisterCount,
88 kMaxAllocatableDoubleRegisterCount, 88 kMaxAllocatableDoubleRegisterCount,
89 kMaxAllocatableDoubleRegisterCount, 89 kMaxAllocatableDoubleRegisterCount,
90 #elif V8_TARGET_ARCH_PPC 90 #elif V8_TARGET_ARCH_PPC
91 kMaxAllocatableGeneralRegisterCount, 91 kMaxAllocatableGeneralRegisterCount,
92 kMaxAllocatableDoubleRegisterCount, 92 kMaxAllocatableDoubleRegisterCount,
93 kMaxAllocatableDoubleRegisterCount, 93 kMaxAllocatableDoubleRegisterCount,
94 #elif V8_TARGET_ARCH_S390
95 kMaxAllocatableGeneralRegisterCount,
96 kMaxAllocatableDoubleRegisterCount,
97 kMaxAllocatableDoubleRegisterCount,
94 #else 98 #else
95 #error Unsupported target architecture. 99 #error Unsupported target architecture.
96 #endif 100 #endif
97 kAllocatableGeneralCodes, kAllocatableDoubleCodes, 101 kAllocatableGeneralCodes, kAllocatableDoubleCodes,
98 kGeneralRegisterNames, kDoubleRegisterNames) { 102 kGeneralRegisterNames, kDoubleRegisterNames) {
99 } 103 }
100 }; 104 };
101 105
102 106
103 template <RegisterConfiguration::CompilerSelector compiler> 107 template <RegisterConfiguration::CompilerSelector compiler>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 157 }
154 for (int i = 0; i < num_allocatable_double_registers_; ++i) { 158 for (int i = 0; i < num_allocatable_double_registers_; ++i) {
155 allocatable_double_codes_mask_ |= (1 << allocatable_double_codes_[i]); 159 allocatable_double_codes_mask_ |= (1 << allocatable_double_codes_[i]);
156 } 160 }
157 } 161 }
158 162
159 #undef REGISTER_COUNT 163 #undef REGISTER_COUNT
160 164
161 } // namespace internal 165 } // namespace internal
162 } // namespace v8 166 } // namespace v8
OLDNEW
« no previous file with comments | « src/profiler/sampler.cc ('k') | src/simulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698