OLD | NEW |
1 // Copyright 2007-2011 the V8 project authors. All rights reserved. | 1 // Copyright 2007-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 20 matching lines...) Expand all Loading... |
31 #include <limits.h> | 31 #include <limits.h> |
32 | 32 |
33 #include "src/v8.h" | 33 #include "src/v8.h" |
34 | 34 |
35 #include "src/api.h" | 35 #include "src/api.h" |
36 #include "src/base/platform/platform.h" | 36 #include "src/base/platform/platform.h" |
37 #include "src/base/smart-pointers.h" | 37 #include "src/base/smart-pointers.h" |
38 #include "src/compilation-cache.h" | 38 #include "src/compilation-cache.h" |
39 #include "src/execution.h" | 39 #include "src/execution.h" |
40 #include "src/isolate.h" | 40 #include "src/isolate.h" |
41 #include "src/parser.h" | 41 #include "src/parsing/parser.h" |
42 #include "src/unicode-inl.h" | 42 #include "src/unicode-inl.h" |
43 #include "src/utils.h" | 43 #include "src/utils.h" |
44 #include "test/cctest/cctest.h" | 44 #include "test/cctest/cctest.h" |
45 | 45 |
46 using ::v8::Context; | 46 using ::v8::Context; |
47 using ::v8::Extension; | 47 using ::v8::Extension; |
48 using ::v8::Function; | 48 using ::v8::Function; |
49 using ::v8::HandleScope; | 49 using ::v8::HandleScope; |
50 using ::v8::Local; | 50 using ::v8::Local; |
51 using ::v8::Object; | 51 using ::v8::Object; |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 kSimpleExtensionSource)); | 729 kSimpleExtensionSource)); |
730 const char* extension_names[] = { "test0", "test1", | 730 const char* extension_names[] = { "test0", "test1", |
731 "test2", "test3", "test4", | 731 "test2", "test3", "test4", |
732 "test5", "test6", "test7" }; | 732 "test5", "test6", "test7" }; |
733 i::List<JoinableThread*> threads(kNThreads); | 733 i::List<JoinableThread*> threads(kNThreads); |
734 for (int i = 0; i < kNThreads; i++) { | 734 for (int i = 0; i < kNThreads; i++) { |
735 threads.Add(new IsolateGenesisThread(8, extension_names)); | 735 threads.Add(new IsolateGenesisThread(8, extension_names)); |
736 } | 736 } |
737 StartJoinAndDeleteThreads(threads); | 737 StartJoinAndDeleteThreads(threads); |
738 } | 738 } |
OLD | NEW |