Commit Graph

305 Commits

Author SHA1 Message Date
David Mandelin
f575742690 [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
David Mandelin
8057a267e7 [JAEGER] Bug 590088: copy only variables into call objects that may be referred to later, r=dvander 2010-08-27 15:54:30 -07:00
David Mandelin
ab97c995fd [JAEGER] Merge from tracemonkey. 2010-08-26 10:35:24 -07:00
Jeff Walden
23c30a7beb Unwrap the target before checking for callability, so that wrappers don't wrongly appear to be callable. r=orange 2010-08-26 01:22:20 -04:00
David Anderson
0c3b4e8c17 Backed out changeset a804ccdfe7c4. 2010-08-25 11:53:17 -04:00
David Anderson
0255d4ffbc [JAEGER] Fixed copying garbage to some callobj slots (bug 590088, r=dmandelin). 2010-08-25 10:56:48 -04:00
Brian Hackett
a4a17593d6 Move cx->fp to cx->regs->fp, bug 588978. r=lw
--HG--
extra : rebase_source : 14a90a53ceeb1f65d0ab70eafb5371095535e66f
2010-08-22 16:00:20 -07:00
David Mandelin
169803d2d3 [JAEGER] Merge from tracemonkey. 2010-08-19 17:30:04 -07:00
Brian Hackett
2aeb294c19 Interface for JSStackFrame.argc, bug 586533. r=lw 2010-08-19 16:44:12 -07:00
David Mandelin
d32d792513 [JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste. 2010-08-17 15:32:40 -07:00
David Mandelin
6f19cd8199 [JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet 2010-08-16 15:37:15 -07:00
David Mandelin
066c9f1718 [JAEGER] Merge from Tracemonkey. scopeChain and blockChain are still public so I can check one thing at a time--this merge is brutal. 2010-08-16 14:59:44 -07:00
Brian Hackett
ed4defc8b5 Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw 2010-08-15 08:44:51 -04:00
Brian Hackett
da6f70519b Second try at adding interface for JSStackFrame.scopeChain/blockChain, bug 586533. r=lw 2010-08-13 23:36:37 -04:00
David Mandelin
a8a454c883 [JAEGER] Merge from tracemonkey. 2010-08-13 12:01:02 -07:00
Jeff Walden
765b61e1cb Bug 429507 - ES5: Function.prototype.bind. r=brendan 2010-08-13 10:42:33 -07:00
Brian Hackett
53791f1d70 Move cx->fp to cx->regs->fp, bug 588978. r=lw 2010-08-22 16:00:20 -07:00
Robert Sayre
a00d7f60fe Backed out changeset 1406935fced4. Brian Hackett – Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw. 2010-08-12 21:47:46 -07:00
Brian Hackett
a416b05f95 Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw 2010-08-13 00:08:37 -04:00
Brian Hackett
b6fa83e115 Put JSStackFrame.callobj/argsobj behind an interface, bug 586533. r=lw 2010-08-12 18:46:03 -04:00
David Mandelin
9376a78c81 [JAEGER] Merge from Tracemonkey. This picks up Yarr. 2010-08-12 11:42:16 -07:00
Paul Biggar
abc945b545 Bug 584355: Don't use parent as a proto for a new function. r=brendan 2010-08-12 13:07:20 +01:00
Jeff Walden
78b50ef7f3 Bug 516255 - Fix attributes on arguments[i]: index properties on arguments should be enumerable, configurable, and writable. r=dmandelin 2010-08-11 23:27:40 -07:00
Jeff Walden
24f0559035 Bug 516255 - Eagerly copy initial parameter values into the arguments object when a function's parameters might be mutated, and rely on normal resolution behavior in the remaining cases when parameters are never modified. r=dmandelin 2010-08-11 23:27:33 -07:00
Jeff Walden
88db90ddd5 Bug 516255 - Use different classes for arguments objects created inside and outside strict mode code, with slightly different ops, in preparation for implementing strict mode arguments objects' less magical functionality. r=dmandelin 2010-08-11 23:26:59 -07:00
Brian Hackett
16873a1fb8 Bug 579471 - fast constructors (r=dmandelin,lw) 2010-08-10 16:38:08 -07:00
David Mandelin
17a258c673 [JAEGER] Merge from tracemonkey. 2010-08-11 11:23:29 -07:00
David Mandelin
df3e6a9e74 [JAEGER] Merge from tracemonkey. 2010-08-09 11:36:39 -07:00
Paul Biggar
6634b70997 Split object/function allocation paths to avoid branch (578158, r=brendan). 2010-08-09 09:11:22 -07:00
Luke Wagner
8d67384340 Bug 585231 - Remove ArgsPrivateNative (r=dmandelin) 2010-08-06 17:19:22 -07:00
Jeff Walden
47551e8efe Bug 514563 - ES5 strict mode: arguments.caller and arguments.callee poison pills. r=dmandelin
--HG--
extra : rebase_source : 2f0b258624ec065cb019f61f017115998a8835b2
2010-08-04 14:39:45 -07:00
Jeff Walden
df688c0946 Rename JSObject::getArgsLength to JSObject::getArgsInitialLength, to make clearer precisely what value it returns. r=dmandelin
--HG--
extra : rebase_source : c642dd15d4d1cf5f8ac2211dc2ee33845d11bef1
2010-08-04 13:50:01 -07:00
Brian Hackett
5ab7972159 Fast native constructors, bug 579471. 2010-08-03 12:20:48 -07:00
Jeff Walden
443f3f510a Bug 514581 - ES5: fun.caller and fun.arguments must throw when fun is strict-mode code. r=jimb
--HG--
extra : rebase_source : 10f930852e39b0b1ef917b18b6a1332a9a815d5d
2010-08-02 23:52:12 -07:00
Luke Wagner
b23d605527 Bug 579183 - loosen-up StackSegment invariants - part 5 - CallArgs (r=waldo)
--HG--
extra : rebase_source : 4031cc1def70bef58bfa759a4cc90af06adfc9cd
2010-07-30 10:41:03 -07:00
David Mandelin
4c5a188923 [JAEGER] Merge from Tracemonkey. 2010-07-29 13:23:33 -07:00
David Mandelin
a73ecdeee1 Merge from Tracemonkey. 2010-07-28 11:16:36 -07:00
Igor Bukanov
181c2cdf3a Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Luke Wagner
c9c381b11c Bug 579183 - loosen-up StackSegment invariants - part 1 - decompiler (r=brendan)
--HG--
extra : rebase_source : 77f1977e20773431266c7794b6cf8a2595b1c8f2
2010-07-30 14:49:29 -07:00
David Mandelin
904ccc994c Merge from Tracemonkey. 2010-07-27 11:48:08 -07:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
David Mandelin
cf0c3c24a7 Merge from tracemonkey. 2010-07-22 18:31:01 -07:00
Luke Wagner
3a499b8646 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Robert Sayre
250c59eece Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances. 2010-08-01 09:58:03 -07:00
Robert Sayre
9bae5e1079 Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon. 2010-07-31 14:01:26 -07:00
David Anderson
cf5a8cf505 [JAEGER] Merge from tracemonkey. 2010-07-19 20:49:26 -07:00
Tom Austin
2ad03dfa62 Remove special constructs no longer needed for Narcissus (bug 579137, r=gal) 2010-07-16 18:16:07 -07:00
Jeff Walden
0e03a3a79b Bug 588251 - fun.caller should throw if that value corresponds to a strict mode function. r=sayrer 2010-08-21 18:24:56 -04:00
Chris Leary
1834523ed5 Bug 577708: Remove Algol-like display optimization. (r=dvander) 2010-07-11 00:57:13 -07:00
David Anderson
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00