Home
last modified time | relevance | path

Searched refs:promise_ (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/wasm/
Dwasm-js.cc213 : promise_(isolate->global_handles()->Create(*promise)) {} in AsyncCompilationResolver()
216 i::GlobalHandles::Destroy(i::Handle<i::Object>::cast(promise_).location()); in ~AsyncCompilationResolver()
223 i::JSPromise::Resolve(promise_, result); in OnCompilationSucceeded()
225 promise_->GetIsolate()->has_pending_exception()); in OnCompilationSucceeded()
232 i::JSPromise::Reject(promise_, error_reason); in OnCompilationFailed()
234 promise_->GetIsolate()->has_pending_exception()); in OnCompilationFailed()
239 i::Handle<i::JSPromise> promise_; member in v8::__anon1a99e68b0111::__anon1a99e68b0211::AsyncCompilationResolver
249 : promise_(isolate->global_handles()->Create(*promise)) {} in InstantiateModuleResultResolver()
252 i::GlobalHandles::Destroy(i::Handle<i::Object>::cast(promise_).location()); in ~InstantiateModuleResultResolver()
258 i::JSPromise::Resolve(promise_, instance); in OnInstantiationSucceeded()
[all …]
/external/v8/src/
Disolate.h1890 : promise_(promise), prev_(prev) {} in PromiseOnStack()
1891 Handle<JSObject> promise() { return promise_; } in promise()
1895 Handle<JSObject> promise_;
Dapi.cc7527 : promise_( in AsyncCompilationResolver()
7532 i::GlobalHandles::Destroy(i::Handle<i::Object>::cast(promise_).location()); in ~AsyncCompilationResolver()
7537 i::JSPromise::Resolve(promise_, result); in OnCompilationSucceeded()
7539 promise_->GetIsolate()->has_pending_exception()); in OnCompilationSucceeded()
7544 i::JSPromise::Reject(promise_, error_reason); in OnCompilationFailed()
7546 promise_->GetIsolate()->has_pending_exception()); in OnCompilationFailed()
7550 i::Handle<i::JSPromise> promise_; member in v8::AsyncCompilationResolver
/external/v8/include/
Dv8.h4555 Persistent<Promise, CopyablePersistentTraits<Promise>> promise_;
4557 Persistent<Promise> promise_;
6615 : promise_(promise),
6620 V8_INLINE Local<Promise> GetPromise() const { return promise_; }
6625 Local<Promise> promise_;