Commit Graph

283 Commits

Author SHA1 Message Date
Jim Blandy
bde8efeae9 Bug 624199: Move code for decompiling strict mode code directives to where it works for JS_DecompileScript, too. r=brendan 2011-01-15 13:48:26 -08:00
David Anderson
aed4f14946 Remove unsound global optimizations (bug 618007, r=brendan). 2011-01-08 16:27:48 -08:00
Brendan Eich
0b7d9754dc Get rid of JSOP_{GET,CALL}UPVAR and simplify code greatly (592202, r=jorendorff). 2010-12-29 23:46:50 -08:00
Brendan Eich
0a0f2273aa Bug 620750 - "arguments;" sneaks into decompilation (r=luke). 2011-01-03 16:26:33 -08:00
Jeff Walden
f7bec8a9e8 Bug 614493 - Move top-level binding storage (and argument, variable, and upvar counts) out of JSFunction and into js::Bindings, itself stored in JSScript, anticipating the time when strict mode eval scripts will need it. r=brendan 2010-11-16 15:34:24 -08:00
Brian Hackett
7017b3830a Fix breakage from bug 621137 fix. 2010-12-30 06:53:18 -08:00
Brian Hackett
74a8376fa0 Fix bug 621137, r=njn 2010-12-30 08:41:24 -05:00
Brian Hackett
be4d109005 Don't generate INITPROP/INITELEM for singleton constant initializers, bug 577359. 2010-12-30 08:07:43 -05:00
Brendan Eich
2b4b0e0cd7 Incorrect decompilation with non-ASCII property name in destructuring (621814, r=igor). 2010-12-28 18:43:38 -08:00
Luke Wagner
d8719356c0 Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn) 2010-12-06 10:26:58 -08:00
Steve Fink
3177a3a935 Fix opt build breakage from 8a62a1f0bd40 (bug 619369) 2010-12-15 21:44:26 -08:00
Steve Fink
c3e3b991d0 Bug 619369 - untrap js_Disassemble* and js_DisassembleFunction. r=adrake
--HG--
extra : rebase_source : 8fb208be6e85eba512494fc65b3f12709458e339
2010-12-15 19:55:29 -08:00
Jeff Walden
c39f97db70 Convert JSScript::*Offset into offsets from the end of JSScript, not from its start, to escape an offset <= 0xFF requirement failing due to an impending increase in the size of JSScripts for bug 614493. r=brendan
--HG--
extra : rebase_source : 8c4046bdc99b8280d414cba864b7d5e1b1f25331
2010-12-02 14:23:51 -08:00
Igor Bukanov
a18b8a8142 bug 617215 - eliminating JS_NewString usage in FF while fixing a leak there. r=bz 2010-12-09 11:22:15 +01:00
Jeff Walden
e6285bc9ff Fix stupid mistake. r=ψ 2010-11-22 13:36:21 -05:00
Jeff Walden
00e7aa2bfc Fix warnings compiling with gcc 4.5. rs=brendan 2010-11-22 11:53:38 -05:00
Brian Hackett
d2c59c063a Compile INITPROP/INITELEM, bug 606477. r=jorendorff,dvander 2010-11-18 18:14:22 -08:00
Igor Bukanov
52ea348c4c bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37 Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Brendan Eich
fdf9d2fd7c Handle extended indexes around JSOP_*BLOCKCHAIN (610026, r=billm). 2010-11-05 15:03:39 -07:00
Brendan Eich
769e50b90a Bug 609617 - delete(eval(...)) calls indirect eval (r=jimb). 2010-11-04 16:06:08 -07:00
Luke Wagner
4cb9b47a90 Bug 602129 - JM: make f.call(...) fast, part 1 (r=dvander)
--HG--
extra : rebase_source : 5b1a307aee78390c146bb10eb5f998847d20a0b1
2010-10-13 15:57:42 -07:00
Brendan Eich
8bda248822 Fix expression and value-generator decompilation to accept prolog ops, required due to ES5 metaprogramming APIs (607513, r=Waldo). 2010-10-26 17:22:55 -07:00
Luke Wagner
4511595997 Bug 604210 - Optimistically use pc to decompile when vp is above pcdepth (r=brendan) 2010-10-19 09:36:24 -07:00
Brian Hackett
f9cf7a5b7d Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Jeff Walden
7f75fc0a25 Bug 514570 - 2 - Push |undefined| rather than |null| when calling functions without a specified |this| value, per ES5. r=jorendorff 2010-10-12 11:50:03 -07:00
Jason Orendorff
630900ee20 Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
Bill McCloskey
20e3b7290e Bug 535912 - Eliminate blockChain from JSStackFrame (r=cdleary) 2010-09-29 13:21:36 -07:00
Gregor Wagner
fdb731becb Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Brian Hackett
066d48b6b6 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
Brendan Eich
0134ef3da3 Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE). 2010-09-19 16:24:13 -07:00
Nicholas Nethercote
837cae8aad Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -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
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
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
9f4c9deb88 [JAEGER] Merge from tracemonkey. This should fix the Xd regression picked up in the last merge. 2010-08-17 18:45:30 -07:00
Luke Wagner
9ba4a19761 Silence warnings / remove dead code (r=me) 2010-08-17 15:59:28 -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
David Mandelin
17a258c673 [JAEGER] Merge from tracemonkey. 2010-08-11 11:23:29 -07:00
David Mandelin
d7f6c4209b Merge from Tracemonkey. 2010-08-02 15:55:29 -07:00
Luke Wagner
49550f19b6 Bug 581747 - Remove JSOP_CONCATN. Good-night, sweet prince. (r=waldo) 2010-08-01 21:54:09 -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