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

Side by Side Diff: src/base/build_config.h

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 5 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 | Annotate | Revision Log
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 #ifndef V8_BASE_BUILD_CONFIG_H_ 5 #ifndef V8_BASE_BUILD_CONFIG_H_
6 #define V8_BASE_BUILD_CONFIG_H_ 6 #define V8_BASE_BUILD_CONFIG_H_
7 7
8 #include "include/v8config.h" 8 #include "include/v8config.h"
9 9
10 // Processor architecture detection. For more info on what's defined, see: 10 // Processor architecture detection. For more info on what's defined, see:
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 #elif V8_TARGET_ARCH_X87 142 #elif V8_TARGET_ARCH_X87
143 #define V8_TARGET_LITTLE_ENDIAN 1 143 #define V8_TARGET_LITTLE_ENDIAN 1
144 #else 144 #else
145 #error Unknown target architecture endianness 145 #error Unknown target architecture endianness
146 #endif 146 #endif
147 147
148 #if V8_OS_MACOSX || defined(__FreeBSD__) || defined(__OpenBSD__) 148 #if V8_OS_MACOSX || defined(__FreeBSD__) || defined(__OpenBSD__)
149 #define USING_BSD_ABI 149 #define USING_BSD_ABI
150 #endif 150 #endif
151 151
152 // Number of bits to represent the page size for paged spaces. The value of 20
153 // gives 1Mb bytes per page.
154 const int kPageSizeBits = 20;
155
152 #endif // V8_BASE_BUILD_CONFIG_H_ 156 #endif // V8_BASE_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « src/assert-scope.h ('k') | src/base/cpu.h » ('j') | src/base/cpu.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698