Moved from stack to inline execution.
git-svn-id: svn://10.0.0.236/trunk@33132 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -22,7 +22,6 @@ class TryNode extends ControlNode {
|
||||
|
||||
ControlNode eval(Environment theEnv)
|
||||
{
|
||||
int stackHeight = theEnv.theStack.size();
|
||||
try {
|
||||
ControlNode c = tryBody;
|
||||
while (c != null) c = c.eval(theEnv);
|
||||
@@ -32,7 +31,6 @@ class TryNode extends ControlNode {
|
||||
for (int i = 0; i < count; i++) {
|
||||
ExpressionNode e = (ExpressionNode)(catchExpr.elementAt(i));
|
||||
String id = ((JSObject)e).value;
|
||||
theEnv.theStack.setStack(stackHeight);
|
||||
theEnv.scope.contents.put(id, x.getValue()); // XXX YAARGH !!!
|
||||
return (ControlNode)(catchCode.elementAt(i));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user