зеркало из https://github.com/mozilla/pjs.git
c97a786c6e
Rhino: deal with all Throwables in Interpreter.interpret Date: Thu, 12 Jul 2001 14:27:34 +0200 From: Igor Bukanov <igor@icesoft.no> Organization: Wind River To: Norris Boyd <nboyd@atg.com> The attached patch modifies the catch code in Interpreter.interpret to catch general Throwable exceptions to allow cleanup after throwing an Error instance from Context.observeInstructionCount. =================== Subject: Rhino: change of InterpreterData.itsLineNumberTable from Hahstable to UintHash Date: Thu, 12 Jul 2001 15:51:38 +0200 From: Igor Bukanov <igor@icesoft.no> Organization: Wind River To: Norris Boyd <nboyd@atg.com> The patch linetable_patch changes InterpreterData.itsLineNumberTable from Hahstable to UintHash and debug/DebuggableScript.java to return int[] array instead of Enumeration. It was run produced via diff -ru javascript.0 javascript The patch debugger_patch contains update for toolsrc/org/mozilla/javascript/tools/debugger/Main.java to reflect above api changes. =============================== Subject: Rhino: patch not to store VariableTable in InterpreterData Date: Thu, 12 Jul 2001 16:34:18 +0200 From: Igor Bukanov <igor@icesoft.no> Organization: Wind River To: Norris Boyd <nboyd@atg.com> The patch removes the "VariableTable itsVariableTable" field from InterpreterData so it would not be stored in InterpretedFunction/InterpretedScript and could be garbage collected after interpreter byte code generation is finished. The usage of theData.itsVariableTable it Interpreter.interpret is replaced by accessing argNames/argCount fields from the passed NativeFunction. |
||
---|---|---|
.. | ||
org/mozilla | ||
build.xml | ||
manifest |