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

Side by Side Diff: src/globals.h

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/global-handles.cc ('k') | src/handles.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 // 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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include "../include/v8stdint.h" 8 #include "include/v8stdint.h"
9 9
10 #include "base/build_config.h" 10 #include "src/base/build_config.h"
11 #include "base/macros.h" 11 #include "src/base/macros.h"
12 #include "checks.h" 12 #include "src/checks.h"
13 13
14 // Unfortunately, the INFINITY macro cannot be used with the '-pedantic' 14 // Unfortunately, the INFINITY macro cannot be used with the '-pedantic'
15 // warning flag and certain versions of GCC due to a bug: 15 // warning flag and certain versions of GCC due to a bug:
16 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11931 16 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11931
17 // For now, we use the more involved template-based version from <limits>, but 17 // For now, we use the more involved template-based version from <limits>, but
18 // only when compiling with GCC versions affected by the bug (2.96.x - 4.0.x) 18 // only when compiling with GCC versions affected by the bug (2.96.x - 4.0.x)
19 #if V8_CC_GNU && V8_GNUC_PREREQ(2, 96, 0) && !V8_GNUC_PREREQ(4, 1, 0) 19 #if V8_CC_GNU && V8_GNUC_PREREQ(2, 96, 0) && !V8_GNUC_PREREQ(4, 1, 0)
20 # include <limits> // NOLINT 20 # include <limits> // NOLINT
21 # define V8_INFINITY std::numeric_limits<double>::infinity() 21 # define V8_INFINITY std::numeric_limits<double>::infinity()
22 #elif V8_LIBC_MSVCRT 22 #elif V8_LIBC_MSVCRT
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 enum MinusZeroMode { 757 enum MinusZeroMode {
758 TREAT_MINUS_ZERO_AS_ZERO, 758 TREAT_MINUS_ZERO_AS_ZERO,
759 FAIL_ON_MINUS_ZERO 759 FAIL_ON_MINUS_ZERO
760 }; 760 };
761 761
762 } } // namespace v8::internal 762 } } // namespace v8::internal
763 763
764 namespace i = v8::internal; 764 namespace i = v8::internal;
765 765
766 #endif // V8_GLOBALS_H_ 766 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/global-handles.cc ('k') | src/handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698