%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. bitfield struct JSPromiseFlags extends uint31 { status: PromiseState: 2 bit; has_handler: bool: 1 bit; handled_hint: bool: 1 bit; is_silent: bool: 1 bit; async_task_id: int32: 22 bit; } extern class JSPromise extends JSObject { macro Status(): PromiseState { return this.flags.status; } macro SetStatus(status: constexpr PromiseState): void { assert(this.Status() == PromiseState::kPending); assert(status != PromiseState::kPending); this.flags.status = status; } macro HasHandler(): bool { return this.flags.has_handler; } macro SetHasHandler(): void { this.flags.has_handler = true; } // Smi 0 terminated list of PromiseReaction objects in case the JSPromise was // not settled yet, otherwise the result. reactions_or_result: Zero|PromiseReaction|JSAny; flags: SmiTagged<JSPromiseFlags>; } @doNotGenerateCast extern class JSPromiseConstructor extends JSFunction generates 'TNode<JSFunction>';