| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 11 matching lines...) Expand all Loading... |
| 22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #include "include/v8.h" | 28 #include "include/v8.h" |
| 29 #include "test/cctest/cctest.h" | 29 #include "test/cctest/cctest.h" |
| 30 | 30 |
| 31 #include "include/libplatform/libplatform.h" | 31 #include "include/libplatform/libplatform.h" |
| 32 #include "src/debug.h" | 32 #include "src/debug/debug.h" |
| 33 #include "test/cctest/print-extension.h" | 33 #include "test/cctest/print-extension.h" |
| 34 #include "test/cctest/profiler-extension.h" | 34 #include "test/cctest/profiler-extension.h" |
| 35 #include "test/cctest/trace-extension.h" | 35 #include "test/cctest/trace-extension.h" |
| 36 | 36 |
| 37 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 37 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
| 38 #include "src/startup-data-util.h" | 38 #include "src/startup-data-util.h" |
| 39 #endif // V8_USE_EXTERNAL_STARTUP_DATA | 39 #endif // V8_USE_EXTERNAL_STARTUP_DATA |
| 40 | 40 |
| 41 #if V8_OS_WIN | 41 #if V8_OS_WIN |
| 42 #include <windows.h> // NOLINT | 42 #include <windows.h> // NOLINT |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 CcTest::TearDown(); | 241 CcTest::TearDown(); |
| 242 // TODO(svenpanne) See comment above. | 242 // TODO(svenpanne) See comment above. |
| 243 // if (!disable_automatic_dispose_) v8::V8::Dispose(); | 243 // if (!disable_automatic_dispose_) v8::V8::Dispose(); |
| 244 v8::V8::ShutdownPlatform(); | 244 v8::V8::ShutdownPlatform(); |
| 245 delete platform; | 245 delete platform; |
| 246 return 0; | 246 return 0; |
| 247 } | 247 } |
| 248 | 248 |
| 249 RegisterThreadedTest *RegisterThreadedTest::first_ = NULL; | 249 RegisterThreadedTest *RegisterThreadedTest::first_ = NULL; |
| 250 int RegisterThreadedTest::count_ = 0; | 250 int RegisterThreadedTest::count_ = 0; |
| OLD | NEW |