OLD | NEW |
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 #ifdef V8_SHARED | 43 #ifdef V8_SHARED |
44 #include <assert.h> | 44 #include <assert.h> |
45 #endif // V8_SHARED | 45 #endif // V8_SHARED |
46 | 46 |
47 #ifndef V8_SHARED | 47 #ifndef V8_SHARED |
48 #include <algorithm> | 48 #include <algorithm> |
49 #endif // !V8_SHARED | 49 #endif // !V8_SHARED |
50 | 50 |
51 #ifdef V8_SHARED | 51 #ifdef V8_SHARED |
52 #include "../include/v8-defaults.h" | |
53 #include "../include/v8-testing.h" | 52 #include "../include/v8-testing.h" |
54 #endif // V8_SHARED | 53 #endif // V8_SHARED |
55 | 54 |
56 #ifdef ENABLE_VTUNE_JIT_INTERFACE | 55 #ifdef ENABLE_VTUNE_JIT_INTERFACE |
57 #include "third_party/vtune/v8-vtune.h" | 56 #include "third_party/vtune/v8-vtune.h" |
58 #endif | 57 #endif |
59 | 58 |
60 #include "d8.h" | 59 #include "d8.h" |
61 | 60 |
62 #ifndef V8_SHARED | 61 #ifndef V8_SHARED |
63 #include "api.h" | 62 #include "api.h" |
64 #include "checks.h" | 63 #include "checks.h" |
65 #include "d8-debug.h" | 64 #include "d8-debug.h" |
66 #include "debug.h" | 65 #include "debug.h" |
67 #include "natives.h" | 66 #include "natives.h" |
68 #include "platform.h" | 67 #include "platform.h" |
69 #include "v8.h" | 68 #include "v8.h" |
70 #include "v8-defaults.h" | |
71 #endif // V8_SHARED | 69 #endif // V8_SHARED |
72 | 70 |
73 #if !defined(_WIN32) && !defined(_WIN64) | 71 #if !defined(_WIN32) && !defined(_WIN64) |
74 #include <unistd.h> // NOLINT | 72 #include <unistd.h> // NOLINT |
75 #endif | 73 #endif |
76 | 74 |
77 #ifndef ASSERT | 75 #ifndef ASSERT |
78 #define ASSERT(condition) assert(condition) | 76 #define ASSERT(condition) assert(condition) |
79 #endif | 77 #endif |
80 | 78 |
(...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1785 } | 1783 } |
1786 | 1784 |
1787 } // namespace v8 | 1785 } // namespace v8 |
1788 | 1786 |
1789 | 1787 |
1790 #ifndef GOOGLE3 | 1788 #ifndef GOOGLE3 |
1791 int main(int argc, char* argv[]) { | 1789 int main(int argc, char* argv[]) { |
1792 return v8::Shell::Main(argc, argv); | 1790 return v8::Shell::Main(argc, argv); |
1793 } | 1791 } |
1794 #endif | 1792 #endif |
OLD | NEW |