| OLD | NEW |
| 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 | 5 |
| 6 // Defined when linking against shared lib on Windows. | 6 // Defined when linking against shared lib on Windows. |
| 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) | 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) |
| 8 #define V8_SHARED | 8 #define V8_SHARED |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #if !defined(V8_SHARED) && defined(ENABLE_GDB_JIT_INTERFACE) | 29 #if !defined(V8_SHARED) && defined(ENABLE_GDB_JIT_INTERFACE) |
| 30 #include "src/gdb-jit.h" | 30 #include "src/gdb-jit.h" |
| 31 #endif | 31 #endif |
| 32 | 32 |
| 33 #ifdef ENABLE_VTUNE_JIT_INTERFACE | 33 #ifdef ENABLE_VTUNE_JIT_INTERFACE |
| 34 #include "src/third_party/vtune/v8-vtune.h" | 34 #include "src/third_party/vtune/v8-vtune.h" |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 #include "src/d8.h" | 37 #include "src/d8.h" |
| 38 #include "src/ostreams.h" |
| 38 | 39 |
| 39 #include "include/libplatform/libplatform.h" | 40 #include "include/libplatform/libplatform.h" |
| 40 #ifndef V8_SHARED | 41 #ifndef V8_SHARED |
| 41 #include "src/api.h" | 42 #include "src/api.h" |
| 42 #include "src/base/cpu.h" | 43 #include "src/base/cpu.h" |
| 43 #include "src/base/logging.h" | 44 #include "src/base/logging.h" |
| 44 #include "src/base/platform/platform.h" | 45 #include "src/base/platform/platform.h" |
| 45 #include "src/base/sys-info.h" | 46 #include "src/base/sys-info.h" |
| 46 #include "src/basic-block-profiler.h" | 47 #include "src/basic-block-profiler.h" |
| 47 #include "src/snapshot/natives.h" | 48 #include "src/snapshot/natives.h" |
| (...skipping 2514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2562 } | 2563 } |
| 2563 | 2564 |
| 2564 } // namespace v8 | 2565 } // namespace v8 |
| 2565 | 2566 |
| 2566 | 2567 |
| 2567 #ifndef GOOGLE3 | 2568 #ifndef GOOGLE3 |
| 2568 int main(int argc, char* argv[]) { | 2569 int main(int argc, char* argv[]) { |
| 2569 return v8::Shell::Main(argc, argv); | 2570 return v8::Shell::Main(argc, argv); |
| 2570 } | 2571 } |
| 2571 #endif | 2572 #endif |
| OLD | NEW |