OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |