Commit Graph

82 Commits

Author SHA1 Message Date
brendan@mozilla.org
649f67b373 Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=gal). 2011-02-22 22:25:10 -08:00
Jeff Walden
c5252060f7 Back out af1e10bea0f4 from a CLOSED TREE for being orangetastic on one platform. 2011-02-20 21:40:06 -08:00
Andreas Gal
207266110b Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=brendan). (relanding in a CLOSED TREE) 2011-02-17 17:52:55 -08:00
Jeff Walden
1e41f95c6d #jsapi observed the extent of orange in the TM tree and saw that OS X x86 opt was consistently and totally evil. So jwalden was sorry he had ever pushed changes for bug 631135. It broke his heart. And he said, “I will wipe this tree of every push back to 9105cd721d46. Yes, and I will revert the entire TM CLOSED TREE. I am sorry I ever pushed to it.” But 9105cd721d46 found favor with #jsapi. 2011-02-20 17:46:35 -08:00
Jeff Walden
7ce51759aa Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Jeff Walden
a50a34ff10 Diagnostic patch to debug intermittent assertion following bug 631135. r=debugging
--HG--
extra : rebase_source : e8fb8988765236ce92ca4a7477a54d9eb8070794
2011-02-19 02:25:39 -08:00
Andreas Gal
46930e9e54 Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=brendan). 2011-02-17 17:52:55 -08:00
David Mandelin
cf9cd62096 Backed out changeset b0aa9c20ffe4 -- orange on tinderbox 2011-02-17 18:54:05 -08:00
Andreas Gal
5267af2eaa Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=brendan). 2011-02-17 17:52:55 -08:00
Luke Wagner
bd58834efa Bug 630064 - Mark floating generator frame slots conservatively (r=dvander)
--HG--
extra : rebase_source : cbddb12142c763e3e20c50e994257cea22f73f8f
2011-02-07 15:55:20 -08:00
Chris Leary
9b75236c71 Fix --disable-methodjit build. (r=billm)
--HG--
extra : rebase_source : 4a76e8513611d8eb9ad16d5d3c0465692bfa4105
2011-02-11 13:45:56 -08:00
Jim Blandy
54decafd0c Bug 605295: Return boolean values from JSStackFrame::computeThis, not random stuff that converts silently to bool. r=waldo 2011-02-09 10:20:54 -08:00
Jeff Walden
13fb18a6fe Bug 619283 - Built-in JS methods must not box undefined or null into the global object when called, both to comply with ES5 and to prevent inadvertent global object exposure to secure JS variants. r=dmandelin
--HG--
extra : rebase_source : be6802a24bd58eb6339369e6803d3eb2fbbc07a5
2011-01-26 13:37:45 -08:00
Cameron Kaiser
f00ce6228a Bug 623277 - Failed to build with --disable-methodjit r=dmandelin, a=NPOTB 2011-01-08 22:42:00 -08:00
Jeff Walden
7b5179a175 Bug 514568 - Add JSObject::callIsForEval rather than using JSObject::getCallObjCallee() == NULL. r=igor 2011-01-05 14:54:04 -06:00
Jeff Walden
e93935e339 Bug 514568 - Trace strict eval frame Call objects correctly, keep the eval script safe from GC, and properly put strict eval Call objects when the script completes. r=igor 2011-01-05 13:55:18 -06:00
Robert Sayre
a562bdb2a8 Backed out changeset 2e94f0b8d03c 2011-01-06 21:41:25 -05:00
Jeff Walden
9bfd43b2d9 Bug 514568 - Trace strict eval frame Call objects correctly, keep the eval script safe from GC, and properly put strict eval Call objects when the script completes. r=igor 2011-01-05 13:55:18 -06:00
Jeff Walden
de8c94c378 Bug 514568 - Use a fresh variable environment for strict mode code run by eval, and give strict mode eval code frames a Call object backed by those variables. r=igor 2010-10-12 11:38:06 -07:00
Jeff Walden
f489d4756b Bug 621943 - Generator frames don't correctly steal strict arguments from stack frames. r=luke 2011-01-01 23:34:33 -06:00
Luke Wagner
57bcfa328d Bug 612329 - Don't cache code-ptr in Invoke gatling gun (r=waldo) 2011-01-03 09:06:30 -08:00
Jeff Walden
59814e4551 Bug 620315 - "Assertion failure: unexpected constantly false guard detected" with "use strict", 4 > this. Fix a problem where we weren't marking functions created by |new Function| as accepting a primitive this value when their body was strict mode, by removing the duplicative bit that was being checked. r=dmandelin 2010-12-22 18:05:07 -05:00
Steve Fink
663f65a576 Bug 615277 - Implement topLevelHook for JM, match jsinterp.cpp implementation. r=dmandelin
--HG--
extra : rebase_source : 0eb332476f259b0ff256a9113d2955d55ec4ed45
2010-12-10 11:40:00 -08:00
Jason Orendorff
40cdddfee7 Bug 617405 - Assertion failure: isObject() after defining getter on .prototype property of constructor. Take 2, removes two wrong tests. r=Waldo. (Additional r=Waldo on IRC to remove the tests.)
--HG--
extra : rebase_source : 288d966f1ee349e489e0151f8b2672ce4b611c56
2010-12-08 17:01:42 -06:00
Jason Orendorff
02972ef6e4 Backed out changeset b890994e2595. Orange. 2010-12-08 17:42:35 -06:00
Jason Orendorff
66de58ce24 Bug 617405 - Assertion failure: isObject() after defining getter on .prototype property of constructor. r=Waldo.
--HG--
extra : rebase_source : 63c64f5435059473fdc3d2cff7df906628c2a760
2010-12-08 17:01:42 -06:00
Luke Wagner
4e2b64b09c Bug 612329 - Don't use gatling gun in debug mode; temporarily assert in release that cached code ptr is valid (r=damdelin) 2010-11-16 14:50:55 -08:00
timeless
953d1ecec1 Bug 609687 - Don't call call hook with null hook data (r=lw) 2010-11-16 14:16:49 -08:00
Luke Wagner
a96ea21a31 Bug 603193 - Set JSFRAME_HAS_PREVPC when activating generator (r=dvander) 2010-11-12 17:40:24 -08:00
Steve Fink
80ba8d7cfd Bug 605330 - extend jscalls (bug 507012) tracking to cover JM and fix some mismatched calls, r=dvander, a=NPODB
--HG--
extra : rebase_source : 77f64a8ee2c88cbb00ac5671ba2532f71551f28b
2010-09-20 12:43:51 -07:00
Luke Wagner ext:(%2C%20Jan%20de%20Mooij%20%3Cjandemooij%40gmail.com%3E)
43464cfd48 Bug 595884 - JM: make f.apply(x, arguments) fast (r=dvander)
--HG--
extra : rebase_source : 81f5bd888164aecab2f3e701fb31ccf81affbc21
2010-10-21 11:42:28 -07:00
Luke Wagner
6b39ea3337 Bug 605192 - JM: make f.apply(x, obj) fast, part 2 (r=dvander)
--HG--
extra : rebase_source : ed6ddf4e79424bfd22ad9daf79675ac0eef5b16a
2010-10-20 23:52:55 -07:00
Luke Wagner
036c4f5377 Bug 606138 - Gatling gun should guard against clobbered callee/this (r=waldo) 2010-10-28 17:26:19 -07:00
David Anderson
2f0a83a27d Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
David Anderson
0c625a8d1a Backed out changeset 8ea3083a9787 2010-10-15 15:29:57 -07:00
David Anderson
3b03a237fa Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
Nicholas Nethercote
1c23e0dd04 Bug 603825 - Fix a bunch of warnings. r=jwalden. 2010-10-13 16:49:53 -07:00
Jeff Walden
4626f47ec6 Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff 2010-10-12 11:50:03 -07:00
Jeff Walden
fcbd8eb10b Bug 514570 - 1 - Convert primitive-this-of-type function flags into a single primitive-this flag, to pave way for strict mode unadulterated-this passing. r=jorendorff 2010-10-12 11:50:02 -07:00
Luke Wagner
cbc9601aa0 Bug 581893 - build a js::Invoke Gatling gun (r=waldo) 2010-09-28 15:23:43 -07:00
Luke Wagner
407b2242d7 Bug 598682, part 2 - Minor cleanups to jsinterp.h and jsinterpinlines.h (r=bhackett)
--HG--
extra : rebase_source : bd664d9cd752992faa280d8d3a848058883f57e4
2010-10-05 14:41:58 -07:00
Jim Blandy
b423689891 Bug 598682, part 1 - Minor cleanups to jsinterp.h and jsinterpinlines.h (r=lw)
--HG--
extra : rebase_source : ce5adce0b4f5155afd958f2a083085baf4dbe643
2010-10-05 14:41:55 -07:00
Brian Hackett
d73a0b5f82 Lazify fp->scopeChain, JM call path cleanup. bug 593882, r=lw,dvander. 2010-10-03 08:21:38 -07:00
Bill McCloskey
20e3b7290e Bug 535912 - Eliminate blockChain from JSStackFrame (r=cdleary) 2010-09-29 13:21:36 -07:00
Brian Hackett
1ddca3c75a Improved JM call path, bug 587707. r=lw,dvander 2010-09-29 06:27:34 -07:00
Chris Leary
2fa4fedbc1 Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Luke Wagner
562fc49870 Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander) 2010-08-09 22:43:33 -07:00
Jason Orendorff
25153c3c13 Bug 500431 part 1 - Move property cache code to jspropertycache{.h,.cpp,inlines.h}. r=brendan.
--HG--
extra : rebase_source : f7a7bb63bc3cded9452807ecdd0b5b8e8f5b3ff6
2010-03-24 16:16:01 -05:00
Brendan Eich
f819b36cf4 Use direct object shape instead of identity as key for deep property cache hits (497789, r=jorendorff). 2010-03-22 11:11:44 -07:00
Igor Bukanov
f74b35769d bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 13:42:07 +03:00