gecko-dev/js
igor%mir2.org 1c4a403de2 Removal of ScriptRuntime.getThis() : it was used by nested functions or
functions declared inside with statements to ensure that their thisObj
is not with or call scope as required by ECMA-262.

But due the changes to support E4X extensions such situation can only happen
when function is accessed as expression like in

var f = function() { }
...

f()

and typically it is exactly nested the functions that are accessed in this way.
So the patch adds optimized code that always check for proper thisObj to
ScriptRuntime.getValueFunctionAndThis and removes getThis and corresponding parsing/code generation code.

In this way when nested functions are accessed  as name or property no checks are done for them and Rhino code slightly shrinks.
2004-08-27 11:37:17 +00:00
..
benchmarks Bug 75405 js benchmarks need strict mode cleaning 2003-02-24 21:37:37 +00:00
docs Bug 240500 JS_DefineFunctions APIDoc for return is wrong 2004-04-15 16:20:34 +00:00
jsd Bug 240521 Crash [@ jsd_NewThreadState] when script is null 2004-08-08 19:56:49 +00:00
jsdj Bug 106386 rid source of misspellings 2002-03-19 04:30:17 +00:00
jsj
narcissus Fix IDENTIFIER resolution to use in, not hasOwnProperty, since we are metacircular on __proto__. 2004-05-17 23:10:53 +00:00
perf Updating README to reflect addition of collect.cgi to mozilla/js/perf/. 2003-12-23 22:46:04 +00:00
ref
rhino Removal of ScriptRuntime.getThis() : it was used by nested functions or 2004-08-27 11:37:17 +00:00
src Missed a #else in my previous checkin for bug 239562. 2004-08-27 01:59:09 +00:00
tests Treat bug "numbers" which aren't numbers as links instead of prepending a url base 2004-02-25 13:01:29 +00:00
.cvsignore
landbranch.pl
Makefile.in Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
makefile.win Adding placeholders to silence cvs warnings 2002-09-20 09:14:42 +00:00