зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1185106 - Despondent followup: Fix an assertion so that maybe the tests will pass and it can finally land. (rs=Waldo)
This commit is contained in:
Родитель
db54bd0968
Коммит
f452a57a7c
|
@ -1788,7 +1788,7 @@ CodeGenerator::visitLambda(LLambda* lir)
|
|||
emitLambdaInit(output, scopeChain, info);
|
||||
|
||||
if (info.flags & JSFunction::EXTENDED) {
|
||||
MOZ_ASSERT(info.fun->allowSuperProperty());
|
||||
MOZ_ASSERT(info.fun->allowSuperProperty() || info.fun->isAsync());
|
||||
static_assert(FunctionExtended::NUM_EXTENDED_SLOTS == 2, "All slots must be initialized");
|
||||
masm.storeValue(UndefinedValue(), Address(output, FunctionExtended::offsetOfExtendedSlot(0)));
|
||||
masm.storeValue(UndefinedValue(), Address(output, FunctionExtended::offsetOfExtendedSlot(1)));
|
||||
|
|
Загрузка…
Ссылка в новой задаче