Commit Graph

206 Commits

Author SHA1 Message Date
Jason Orendorff
17deb16433 Add assertions in JSScript::NewScript against offset overflow. Bug 604387, r=dvander. 2010-10-14 14:58:01 -05:00
Brendan Eich
ab966b3529 Warning fixes (one left over from 602621, the other from 584789). 2010-10-10 21:11:45 -07:00
Andreas Gal
96223bbef4 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 23:17:29 -07:00
David Anderson
552330f091 ICs for scripted new (bug 589398, r=luke,dmandelin).
--HG--
extra : rebase_source : d7311ce916e8d6c876d1851090806bc7d073bd63
2010-10-04 14:13:33 -07:00
David Anderson
6dbf424efd Backed out changeset de5d1b528b9a 2010-10-04 15:12:00 -07:00
David Anderson
6ddd3429fc ICs for scripted new (bug 589398, r=luke,dmandelin). 2010-10-04 14:13:33 -07:00
Jason Orendorff
630900ee20 Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
Andreas Gal
331dc80c9e Backout bug 584789, has to go into blake's patch queue, event't handlers don't set the right compartment in TM tip. 2010-09-30 00:05:33 -07:00
Andreas Gal
dd4d8530b1 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 23:17:29 -07:00
Andreas Gal
e80492a92a Back out bug 584789. 2010-09-29 20:38:03 -07:00
Andreas Gal
650aaf4f01 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 19:42:22 -07:00
David Anderson
2f002d500e Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin).
--HG--
extra : rebase_source : 3d36a7908230006f2b048835f7526962fac2b32b
2010-09-13 22:33:44 -07:00
Gregor Wagner
fdb731becb Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
David Anderson
52761821cf Fix global variables overwriting resolved properties (bug 595917, r=brendan). 2010-09-21 12:38:30 -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
Chris Leary
7c740a8dc0 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
David Mandelin
3dc48e12b2 [JAEGER] Merge from Tracemonkey. 2010-08-30 15:13:32 -07:00
Brendan Eich
790ddc9e99 Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff). 2010-08-29 11:57:08 -07:00
David Anderson
d92676b53f [JAEGER] Remove tracerecursion (bug 591539, r=luke). 2010-08-27 21:18:58 -07:00
David Mandelin
c056a07f6b Backed out changeset 41e3e584023f -- more tinderbox bustage. 2010-08-27 18:51:14 -07:00
David Anderson
8d3e96d32e [JAEGER] ICs for scripted calls (bug 587698, r=dmandelin). 2010-08-27 17:50:53 -07:00
Sean Stangl
ef6068d3b0 [JAEGER] Backed out changeset 1035fdc5d714. no_r=fire. 2010-08-27 10:42:10 -04:00
Jan de Mooij
5209097cb3 [JAEGER] Added fast-path for >>> (bug 589932, r=dvander). 2010-08-26 01:29:52 -04:00
David Anderson
e9aeb4b8bb Backed out changeset ebd2b956b565. 2010-08-26 02:30:08 -04:00
David Anderson
169050a338 [JAEGER] Inline caches for scripted calls (bug 587698, r=dmandelin). 2010-08-26 01:29:52 -04:00
David Anderson
194facbde7 [JAEGER] Clean up JSScript hacks (bug 590275, r=dmandelin). 2010-08-24 22:57:35 -04:00
David Mandelin
02f201cead [JAEGER] Merge from tracemonkey. 2010-08-23 11:35:14 -07:00
Jim Blandy
285b03968f Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.

Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-20 13:11:05 -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
c0001dbe3b [JAEGER] Merge from Tracemonkey. 2010-08-16 15:31:14 -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
Chris Leary
b725adffe8 Bug 586358: make imacpc flagged. (r=lw) 2010-08-15 04:16:54 -07:00
Jim Blandy
4e04561ee9 Revert fixes for bug 438633, bug 585803 2010-08-12 14:07:52 -07:00
Jim Blandy
ce4b4e5c9e Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.

Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-12 12:38:37 -07:00
Andrew Drake
bc97d0240e [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
Andrew Drake
ebfb6d0eca Backed out changeset a8aeff259925 and fix due to random crashes. 2010-08-11 02:35:10 -07:00
Andrew Drake
e4ec6d69ff [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
David Mandelin
ddcca372a7 Backed out changeset a661b26a83a1 due to tinderbox failures. 2010-08-06 11:41:28 -07:00
Andrew Drake
469286fcd4 [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -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
David Mandelin
4c5a188923 [JAEGER] Merge from Tracemonkey. 2010-07-29 13:23:33 -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 Anderson
c86e32a060 [JAEGER] Fixed build warnings from merge fallout. 2010-07-20 13:53:24 -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
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00