diff options
Diffstat (limited to 'chromium/v8/src/objects/js-promise.tq')
-rw-r--r-- | chromium/v8/src/objects/js-promise.tq | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/v8/src/objects/js-promise.tq b/chromium/v8/src/objects/js-promise.tq index be8fb066375..01426fd6d2e 100644 --- a/chromium/v8/src/objects/js-promise.tq +++ b/chromium/v8/src/objects/js-promise.tq @@ -16,8 +16,8 @@ extern class JSPromise extends JSObject { } macro SetStatus(status: constexpr PromiseState): void { - assert(this.Status() == PromiseState::kPending); - assert(status != PromiseState::kPending); + dcheck(this.Status() == PromiseState::kPending); + dcheck(status != PromiseState::kPending); this.flags.status = status; } |