We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f8fad commit 7827e11Copy full SHA for 7827e11
lib/Runtime/ByteCode/ByteCodeEmitter.cpp
@@ -4006,6 +4006,11 @@ void ByteCodeGenerator::StartEmitCatch(ParseNodeCatch *pnodeCatch)
4006
sym->SetIsGlobalCatch(true);
4007
}
4008
4009
+ if (sym->NeedsScopeObject())
4010
+ {
4011
+ scope->SetIsObject();
4012
+ }
4013
+
4014
Assert(sym->GetScopeSlot() == Js::Constants::NoProperty);
4015
if (sym->NeedsSlotAlloc(this, funcInfo))
4016
{
@@ -4029,6 +4034,11 @@ void ByteCodeGenerator::StartEmitCatch(ParseNodeCatch *pnodeCatch)
4029
4034
4030
4035
4031
4036
4037
4038
4039
4040
4041
4032
4042
if (scope->GetMustInstantiate())
4033
4043
4044
if (sym->IsInSlot(this, funcInfo))
0 commit comments