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 #ifndef V8_D8_H_ | 5 #ifndef V8_D8_H_ |
6 #define V8_D8_H_ | 6 #define V8_D8_H_ |
7 | 7 |
8 #ifndef V8_SHARED | 8 #ifndef V8_SHARED |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/base/platform/time.h" | 10 #include "src/base/platform/time.h" |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 static base::LazyMutex context_mutex_; | 456 static base::LazyMutex context_mutex_; |
457 static const base::TimeTicks kInitialTicks; | 457 static const base::TimeTicks kInitialTicks; |
458 | 458 |
459 static base::LazyMutex workers_mutex_; | 459 static base::LazyMutex workers_mutex_; |
460 static bool allow_new_workers_; | 460 static bool allow_new_workers_; |
461 static i::List<Worker*> workers_; | 461 static i::List<Worker*> workers_; |
462 static i::List<SharedArrayBuffer::Contents> externalized_shared_contents_; | 462 static i::List<SharedArrayBuffer::Contents> externalized_shared_contents_; |
463 | 463 |
464 static Counter* GetCounter(const char* name, bool is_histogram); | 464 static Counter* GetCounter(const char* name, bool is_histogram); |
465 static Local<String> Stringify(Isolate* isolate, Local<Value> value); | 465 static Local<String> Stringify(Isolate* isolate, Local<Value> value); |
| 466 static void WriteInterpreterDispatchCounters(Isolate* isolate); |
466 #endif // !V8_SHARED | 467 #endif // !V8_SHARED |
467 static void Initialize(Isolate* isolate); | 468 static void Initialize(Isolate* isolate); |
468 static void RunShell(Isolate* isolate); | 469 static void RunShell(Isolate* isolate); |
469 static bool SetOptions(int argc, char* argv[]); | 470 static bool SetOptions(int argc, char* argv[]); |
470 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); | 471 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); |
471 }; | 472 }; |
472 | 473 |
473 | 474 |
474 } // namespace v8 | 475 } // namespace v8 |
475 | 476 |
476 | 477 |
477 #endif // V8_D8_H_ | 478 #endif // V8_D8_H_ |
OLD | NEW |