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

Side by Side Diff: src/v8.h

Issue 7167006: Merge arguments branch to bleeding merge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix test arguments.js." Created 9 years, 6 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/type-info.cc ('k') | src/v8natives.js » ('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 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 16 matching lines...) Expand all
28 // 28 //
29 // Top include for all V8 .cc files. 29 // Top include for all V8 .cc files.
30 // 30 //
31 31
32 #ifndef V8_V8_H_ 32 #ifndef V8_V8_H_
33 #define V8_V8_H_ 33 #define V8_V8_H_
34 34
35 #if defined(GOOGLE3) 35 #if defined(GOOGLE3)
36 // Google3 special flag handling. 36 // Google3 special flag handling.
37 #if defined(DEBUG) && defined(NDEBUG) 37 #if defined(DEBUG) && defined(NDEBUG)
38 // V8 only uses DEBUG and whenever it is set we are building a debug 38 // If both are defined in Google3, then we are building an optimized v8 with
39 // version of V8. We do not use NDEBUG and simply undef it here for 39 // assertions enabled.
40 // consistency.
41 #undef NDEBUG 40 #undef NDEBUG
41 #elif !defined(DEBUG) && !defined(NDEBUG)
42 // If neither is defined in Google3, then we are building a debug v8. Mark it
43 // as such.
44 #define DEBUG
42 #endif 45 #endif
43 #endif // defined(GOOGLE3) 46 #endif // defined(GOOGLE3)
44 47
45 // V8 only uses DEBUG, but included external files 48 // V8 only uses DEBUG, but included external files
46 // may use NDEBUG - make sure they are consistent. 49 // may use NDEBUG - make sure they are consistent.
47 #if defined(DEBUG) && defined(NDEBUG) 50 #if defined(DEBUG) && defined(NDEBUG)
48 #error both DEBUG and NDEBUG are set 51 #error both DEBUG and NDEBUG are set
49 #endif 52 #endif
50 53
51 // Basic includes 54 // Basic includes
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 static bool has_been_disposed_; 122 static bool has_been_disposed_;
120 // True if we are using the crankshaft optimizing compiler. 123 // True if we are using the crankshaft optimizing compiler.
121 static bool use_crankshaft_; 124 static bool use_crankshaft_;
122 }; 125 };
123 126
124 } } // namespace v8::internal 127 } } // namespace v8::internal
125 128
126 namespace i = v8::internal; 129 namespace i = v8::internal;
127 130
128 #endif // V8_V8_H_ 131 #endif // V8_V8_H_
OLDNEW
« no previous file with comments | « src/type-info.cc ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698