| 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 <memory> | 8 #include <memory> |
| 9 #include <queue> | 9 #include <queue> |
| 10 | 10 |
| (...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1148 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info, | 1148 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info, |
| 1149 MaybeHandle<Object>* result, | 1149 MaybeHandle<Object>* result, |
| 1150 MaybeHandle<Object>* maybe_exception); | 1150 MaybeHandle<Object>* maybe_exception); |
| 1151 void PromiseResolveThenableJob(Handle<PromiseResolveThenableJobInfo> info, | 1151 void PromiseResolveThenableJob(Handle<PromiseResolveThenableJobInfo> info, |
| 1152 MaybeHandle<Object>* result, | 1152 MaybeHandle<Object>* result, |
| 1153 MaybeHandle<Object>* maybe_exception); | 1153 MaybeHandle<Object>* maybe_exception); |
| 1154 void EnqueueMicrotask(Handle<Object> microtask); | 1154 void EnqueueMicrotask(Handle<Object> microtask); |
| 1155 void RunMicrotasks(); | 1155 void RunMicrotasks(); |
| 1156 bool IsRunningMicrotasks() const { return is_running_microtasks_; } | 1156 bool IsRunningMicrotasks() const { return is_running_microtasks_; } |
| 1157 | 1157 |
| 1158 void AddWeakRefExecution(JSWeakRef* ref); |
| 1159 |
| 1158 Handle<Symbol> SymbolFor(Heap::RootListIndex dictionary_index, | 1160 Handle<Symbol> SymbolFor(Heap::RootListIndex dictionary_index, |
| 1159 Handle<String> name, bool private_symbol); | 1161 Handle<String> name, bool private_symbol); |
| 1160 | 1162 |
| 1161 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); | 1163 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); |
| 1162 void CountUsage(v8::Isolate::UseCounterFeature feature); | 1164 void CountUsage(v8::Isolate::UseCounterFeature feature); |
| 1163 | 1165 |
| 1164 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); | 1166 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); |
| 1165 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; } | 1167 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; } |
| 1166 | 1168 |
| 1167 std::string GetTurboCfgFileName(); | 1169 std::string GetTurboCfgFileName(); |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1809 | 1811 |
| 1810 EmbeddedVector<char, 128> filename_; | 1812 EmbeddedVector<char, 128> filename_; |
| 1811 FILE* file_; | 1813 FILE* file_; |
| 1812 int scope_depth_; | 1814 int scope_depth_; |
| 1813 }; | 1815 }; |
| 1814 | 1816 |
| 1815 } // namespace internal | 1817 } // namespace internal |
| 1816 } // namespace v8 | 1818 } // namespace v8 |
| 1817 | 1819 |
| 1818 #endif // V8_ISOLATE_H_ | 1820 #endif // V8_ISOLATE_H_ |
| OLD | NEW |