Removing one more time creating of bogus activation for InterpretedScript added with the previous change

This commit is contained in:
igor%mir2.org 2002-04-19 20:58:03 +00:00
parent 36e1d960b7
commit da6a3546f0

View File

@ -1513,7 +1513,7 @@ public class Interpreter extends LabelTable {
DebugFrame debuggerFrame = null;
boolean useActivationVars = false;
if (cx.debugger != null) {
if (!theData.itsNeedsActivation) {
if (theData.itsFunctionType != 0 && !theData.itsNeedsActivation) {
useActivationVars = true;
scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript,
thisObj, args);