| 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_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
| 6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
| 7 | 7 |
| 8 #include "include/v8-debug.h" | 8 #include "include/v8-debug.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
| (...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1057 return optimizing_compiler_thread_; | 1057 return optimizing_compiler_thread_; |
| 1058 } | 1058 } |
| 1059 | 1059 |
| 1060 int id() const { return static_cast<int>(id_); } | 1060 int id() const { return static_cast<int>(id_); } |
| 1061 | 1061 |
| 1062 HStatistics* GetHStatistics(); | 1062 HStatistics* GetHStatistics(); |
| 1063 CompilationStatistics* GetTurboStatistics(); | 1063 CompilationStatistics* GetTurboStatistics(); |
| 1064 HTracer* GetHTracer(); | 1064 HTracer* GetHTracer(); |
| 1065 CodeTracer* GetCodeTracer(); | 1065 CodeTracer* GetCodeTracer(); |
| 1066 | 1066 |
| 1067 void DumpAndResetCompilationStats(); |
| 1068 |
| 1067 FunctionEntryHook function_entry_hook() { return function_entry_hook_; } | 1069 FunctionEntryHook function_entry_hook() { return function_entry_hook_; } |
| 1068 void set_function_entry_hook(FunctionEntryHook function_entry_hook) { | 1070 void set_function_entry_hook(FunctionEntryHook function_entry_hook) { |
| 1069 function_entry_hook_ = function_entry_hook; | 1071 function_entry_hook_ = function_entry_hook; |
| 1070 } | 1072 } |
| 1071 | 1073 |
| 1072 void* stress_deopt_count_address() { return &stress_deopt_count_; } | 1074 void* stress_deopt_count_address() { return &stress_deopt_count_; } |
| 1073 | 1075 |
| 1074 inline base::RandomNumberGenerator* random_number_generator(); | 1076 inline base::RandomNumberGenerator* random_number_generator(); |
| 1075 | 1077 |
| 1076 // Given an address occupied by a live code object, return that object. | 1078 // Given an address occupied by a live code object, return that object. |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1545 } | 1547 } |
| 1546 | 1548 |
| 1547 EmbeddedVector<char, 128> filename_; | 1549 EmbeddedVector<char, 128> filename_; |
| 1548 FILE* file_; | 1550 FILE* file_; |
| 1549 int scope_depth_; | 1551 int scope_depth_; |
| 1550 }; | 1552 }; |
| 1551 | 1553 |
| 1552 } } // namespace v8::internal | 1554 } } // namespace v8::internal |
| 1553 | 1555 |
| 1554 #endif // V8_ISOLATE_H_ | 1556 #endif // V8_ISOLATE_H_ |
| OLD | NEW |