| 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 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback); | 1105 void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback); |
| 1106 void FireMicrotasksCompletedCallback(); | 1106 void FireMicrotasksCompletedCallback(); |
| 1107 | 1107 |
| 1108 void SetPromiseRejectCallback(PromiseRejectCallback callback); | 1108 void SetPromiseRejectCallback(PromiseRejectCallback callback); |
| 1109 void ReportPromiseReject(Handle<JSObject> promise, Handle<Object> value, | 1109 void ReportPromiseReject(Handle<JSObject> promise, Handle<Object> value, |
| 1110 v8::PromiseRejectEvent event); | 1110 v8::PromiseRejectEvent event); |
| 1111 | 1111 |
| 1112 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info, | 1112 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info, |
| 1113 MaybeHandle<Object>* result, | 1113 MaybeHandle<Object>* result, |
| 1114 MaybeHandle<Object>* maybe_exception); | 1114 MaybeHandle<Object>* maybe_exception); |
| 1115 void PromiseResolveThenableJob(Handle<PromiseContainer> container, | 1115 void PromiseResolveThenableJob(Handle<PromiseResolveThenableJobInfo> info, |
| 1116 MaybeHandle<Object>* result, | 1116 MaybeHandle<Object>* result, |
| 1117 MaybeHandle<Object>* maybe_exception); | 1117 MaybeHandle<Object>* maybe_exception); |
| 1118 void EnqueueMicrotask(Handle<Object> microtask); | 1118 void EnqueueMicrotask(Handle<Object> microtask); |
| 1119 void RunMicrotasks(); | 1119 void RunMicrotasks(); |
| 1120 bool IsRunningMicrotasks() const { return is_running_microtasks_; } | 1120 bool IsRunningMicrotasks() const { return is_running_microtasks_; } |
| 1121 | 1121 |
| 1122 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); | 1122 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); |
| 1123 void CountUsage(v8::Isolate::UseCounterFeature feature); | 1123 void CountUsage(v8::Isolate::UseCounterFeature feature); |
| 1124 | 1124 |
| 1125 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); | 1125 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1685 | 1685 |
| 1686 EmbeddedVector<char, 128> filename_; | 1686 EmbeddedVector<char, 128> filename_; |
| 1687 FILE* file_; | 1687 FILE* file_; |
| 1688 int scope_depth_; | 1688 int scope_depth_; |
| 1689 }; | 1689 }; |
| 1690 | 1690 |
| 1691 } // namespace internal | 1691 } // namespace internal |
| 1692 } // namespace v8 | 1692 } // namespace v8 |
| 1693 | 1693 |
| 1694 #endif // V8_ISOLATE_H_ | 1694 #endif // V8_ISOLATE_H_ |
| OLD | NEW |