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

Side by Side Diff: src/preparser.cc

Issue 145593003: v8config.h: set V8_CC_MSVC when building with clang-cl (Closed) Base URL: https://github.com/v8/v8.git@master
Patch Set: Introduce V8_LIBC_MSVCRT Created 6 years, 10 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/platform.h ('k') | no next file » | 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 2011 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 24 matching lines...) Expand all
35 #include "conversions-inl.h" 35 #include "conversions-inl.h"
36 #include "globals.h" 36 #include "globals.h"
37 #include "hashmap.h" 37 #include "hashmap.h"
38 #include "list.h" 38 #include "list.h"
39 #include "preparse-data-format.h" 39 #include "preparse-data-format.h"
40 #include "preparse-data.h" 40 #include "preparse-data.h"
41 #include "preparser.h" 41 #include "preparser.h"
42 #include "unicode.h" 42 #include "unicode.h"
43 #include "utils.h" 43 #include "utils.h"
44 44
45 #if V8_CC_MSVC && (_MSC_VER < 1800) 45 #if V8_LIBC_MSVCRT && (_MSC_VER < 1800)
46 namespace std { 46 namespace std {
47 47
48 // Usually defined in math.h, but not in MSVC until VS2013+. 48 // Usually defined in math.h, but not in MSVC until VS2013+.
49 // Abstracted to work 49 // Abstracted to work
50 int isfinite(double value); 50 int isfinite(double value);
51 51
52 } // namespace std 52 } // namespace std
53 #endif 53 #endif
54 54
55 namespace v8 { 55 namespace v8 {
(...skipping 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 ASSERT(IsAccessorAccessorConflict(old_type, type)); 1640 ASSERT(IsAccessorAccessorConflict(old_type, type));
1641 // Both accessors of the same type. 1641 // Both accessors of the same type.
1642 parser()->ReportMessageAt(scanner()->location(), 1642 parser()->ReportMessageAt(scanner()->location(),
1643 "accessor_get_set"); 1643 "accessor_get_set");
1644 } 1644 }
1645 *ok = false; 1645 *ok = false;
1646 } 1646 }
1647 } 1647 }
1648 1648
1649 } } // v8::internal 1649 } } // v8::internal
OLDNEW
« no previous file with comments | « src/platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698