mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Issue #2099 - Remove unnecessary cast in GeneratorObject::suspend's do loop.
This resolves build bustage with --enable-debug.
This commit is contained in:
parent
22dc363c3a
commit
10ef0da5a0
1 changed files with 2 additions and 2 deletions
|
|
@ -86,8 +86,8 @@ GeneratorObject::suspend(JSContext* cx, HandleObject obj, AbstractFramePtr frame
|
|||
if (genObj->hasExpressionStack()) {
|
||||
MOZ_ASSERT(genObj->expressionStack().getDenseInitializedLength() == 0);
|
||||
auto result = SetOrExtendAnyBoxedOrUnboxedDenseElements(cx,
|
||||
&genObj->expressionStack().as<JSObject>(),
|
||||
0, vp, nvalues, ShouldUpdateTypes::DontUpdate);
|
||||
&genObj->expressionStack(), 0, vp, nvalues,
|
||||
ShouldUpdateTypes::DontUpdate);
|
||||
if (result == DenseElementResult::Success) {
|
||||
MOZ_ASSERT(genObj->expressionStack().getDenseInitializedLength() == nvalues);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue