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

Side by Side Diff: src/globals.h

Issue 190883002: Update serializer to be able to deal with ool constant pool. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/flag-definitions.h ('k') | src/objects-inl.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 #elif V8_TARGET_ARCH_ARM 155 #elif V8_TARGET_ARCH_ARM
156 #define V8_TARGET_LITTLE_ENDIAN 1 156 #define V8_TARGET_LITTLE_ENDIAN 1
157 #elif V8_TARGET_ARCH_A64 157 #elif V8_TARGET_ARCH_A64
158 #define V8_TARGET_LITTLE_ENDIAN 1 158 #define V8_TARGET_LITTLE_ENDIAN 1
159 #elif V8_TARGET_ARCH_MIPS 159 #elif V8_TARGET_ARCH_MIPS
160 #define V8_TARGET_LITTLE_ENDIAN 1 160 #define V8_TARGET_LITTLE_ENDIAN 1
161 #else 161 #else
162 #error Unknown target architecture endiannes 162 #error Unknown target architecture endiannes
163 #endif 163 #endif
164 164
165 // Determine whether the architecture uses an out-of-line constant pool.
166 #define V8_OOL_CONSTANT_POOL 0
167
165 // Support for alternative bool type. This is only enabled if the code is 168 // Support for alternative bool type. This is only enabled if the code is
166 // compiled with USE_MYBOOL defined. This catches some nasty type bugs. 169 // compiled with USE_MYBOOL defined. This catches some nasty type bugs.
167 // For instance, 'bool b = "false";' results in b == true! This is a hidden 170 // For instance, 'bool b = "false";' results in b == true! This is a hidden
168 // source of bugs. 171 // source of bugs.
169 // However, redefining the bool type does have some negative impact on some 172 // However, redefining the bool type does have some negative impact on some
170 // platforms. It gives rise to compiler warnings (i.e. with 173 // platforms. It gives rise to compiler warnings (i.e. with
171 // MSVC) in the API header files when mixing code that uses the standard 174 // MSVC) in the API header files when mixing code that uses the standard
172 // bool with code that uses the redefined version. 175 // bool with code that uses the redefined version.
173 // This does not actually belong in the platform code, but needs to be 176 // This does not actually belong in the platform code, but needs to be
174 // defined here because the platform code uses bool, and platform.h is 177 // defined here because the platform code uses bool, and platform.h is
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 // the backend, so both modes are represented by the kStrictMode value. 436 // the backend, so both modes are represented by the kStrictMode value.
434 enum StrictModeFlag { 437 enum StrictModeFlag {
435 kNonStrictMode, 438 kNonStrictMode,
436 kStrictMode 439 kStrictMode
437 }; 440 };
438 441
439 442
440 } } // namespace v8::internal 443 } } // namespace v8::internal
441 444
442 #endif // V8_GLOBALS_H_ 445 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698