mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 02:57:29 +09:00
1320408 - Part 13: Change DebugEnvironmentProxy::getMaybeSentinelValue to static method.
This commit is contained in:
parent
68b04671cb
commit
b237ae6437
4 changed files with 10 additions and 7 deletions
|
|
@ -2198,7 +2198,8 @@ js::LookupNameUnqualified(JSContext* cx, HandlePropertyName name, HandleObject e
|
|||
// environments.
|
||||
if (env->is<DebugEnvironmentProxy>()) {
|
||||
RootedValue v(cx);
|
||||
if (!env->as<DebugEnvironmentProxy>().getMaybeSentinelValue(cx, id, &v))
|
||||
Rooted<DebugEnvironmentProxy*> envProxy(cx, &env->as<DebugEnvironmentProxy>());
|
||||
if (!DebugEnvironmentProxy::getMaybeSentinelValue(cx, envProxy, id, &v))
|
||||
return false;
|
||||
isTDZ = IsUninitializedLexical(v);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue