Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Side by Side Diff: src/v8.cc

Issue 104583003: [platform] Implement a worker pool (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 14 matching lines...) Expand all
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 "v8.h" 28 #include "v8.h"
29 29
30 #include "assembler.h" 30 #include "assembler.h"
31 #include "isolate.h" 31 #include "isolate.h"
32 #include "elements.h" 32 #include "elements.h"
33 #include "bootstrapper.h" 33 #include "bootstrapper.h"
34 #include "debug.h" 34 #include "debug.h"
35 #ifdef V8_USE_DEFAULT_PLATFORM
36 #include "default-platform.h"
37 #endif
38 #include "deoptimizer.h" 35 #include "deoptimizer.h"
39 #include "frames.h" 36 #include "frames.h"
40 #include "heap-profiler.h" 37 #include "heap-profiler.h"
41 #include "hydrogen.h" 38 #include "hydrogen.h"
39 #ifdef V8_USE_DEFAULT_PLATFORM
40 #include "libplatform/default-platform.h"
41 #endif
42 #include "lithium-allocator.h" 42 #include "lithium-allocator.h"
43 #include "objects.h" 43 #include "objects.h"
44 #include "once.h" 44 #include "once.h"
45 #include "platform.h" 45 #include "platform.h"
46 #include "sampler.h" 46 #include "sampler.h"
47 #include "runtime-profiler.h" 47 #include "runtime-profiler.h"
48 #include "serialize.h" 48 #include "serialize.h"
49 #include "store-buffer.h" 49 #include "store-buffer.h"
50 50
51 namespace v8 { 51 namespace v8 {
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 platform_ = NULL; 199 platform_ = NULL;
200 } 200 }
201 201
202 202
203 v8::Platform* V8::GetCurrentPlatform() { 203 v8::Platform* V8::GetCurrentPlatform() {
204 ASSERT(platform_); 204 ASSERT(platform_);
205 return platform_; 205 return platform_;
206 } 206 }
207 207
208 } } // namespace v8::internal 208 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698