(Context cx, VarScope scope, Scriptable thisObj, Object[] args)
| 136 | } |
| 137 | |
| 138 | @Override |
| 139 | public Object call(Context cx, VarScope scope, Scriptable thisObj, Object[] args) { |
| 140 | if (!ScriptRuntime.hasTopCall(cx)) { |
| 141 | return ScriptRuntime.doTopCall(this, cx, scope, thisObj, args, isStrict()); |
| 142 | } |
| 143 | var realThis = getThisObj(thisObj); |
| 144 | return descriptor.getCode().execute(cx, this, Undefined.instance, scope, realThis, args); |
| 145 | } |
| 146 | |
| 147 | public final Scriptable getThisObj(Scriptable thisObj) { |
| 148 | if (descriptor.hasLexicalThis()) { |
nothing calls this directly
no test coverage detected