mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-29 02:27:30 +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()) {
|
if (genObj->hasExpressionStack()) {
|
||||||
MOZ_ASSERT(genObj->expressionStack().getDenseInitializedLength() == 0);
|
MOZ_ASSERT(genObj->expressionStack().getDenseInitializedLength() == 0);
|
||||||
auto result = SetOrExtendAnyBoxedOrUnboxedDenseElements(cx,
|
auto result = SetOrExtendAnyBoxedOrUnboxedDenseElements(cx,
|
||||||
&genObj->expressionStack().as<JSObject>(),
|
&genObj->expressionStack(), 0, vp, nvalues,
|
||||||
0, vp, nvalues, ShouldUpdateTypes::DontUpdate);
|
ShouldUpdateTypes::DontUpdate);
|
||||||
if (result == DenseElementResult::Success) {
|
if (result == DenseElementResult::Success) {
|
||||||
MOZ_ASSERT(genObj->expressionStack().getDenseInitializedLength() == nvalues);
|
MOZ_ASSERT(genObj->expressionStack().getDenseInitializedLength() == nvalues);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue