Commit Graph

188 Commits

Author SHA1 Message Date
Brian Hackett
717e7177ae [INFER] Reduce inference-related script overhead, bug 674609. 2011-07-28 09:16:53 -07:00
Jason Orendorff
0a46d5195d Merge from mozilla-central to jsdbg2 branch. 2011-07-27 18:23:16 -05:00
Daniel Holbert
48536b7501 (no bug) Use C-style instead of C++-style comment in jsopcode.h. rs=mrbkap 2011-08-15 12:11:41 -07:00
Brian Hackett
91605d7192 Merge MC -> JM 2011-07-21 18:53:37 -07:00
Jason Orendorff
00180c21a3 Bug 648175 - Remove JSOP_FOR*. Second second landing, to coin a phrase. r=dvander. 2011-07-19 11:00:43 -05:00
Brian Hackett
03586d17dc [INFER] Decomposed prop fixes for XDR, INDEXBASE and the tracer, bug 647624. 2011-07-16 13:47:58 -07:00
Brian Hackett
59441fd0f2 [INFER] Decompose property inc/dec ops for JM and TI, bug 647624. 2011-07-16 08:25:22 -07:00
Brian Hackett
f67cd0c0cc Merge TM -> JM 2011-07-01 16:24:32 -07:00
Jason Orendorff
faf9b28aff Add Script.prototype.getAllOffsets and getLineOffsets. 2011-06-28 14:46:00 -05:00
Jason Orendorff
9f0c3fff66 Add Script.prototype.getOffsetLine. 2011-06-25 20:58:17 -05:00
Brian Hackett
3735a2e3df Merge TM -> JM 2011-05-15 11:32:09 -07:00
Brian Hackett
84ad652929 [INFER] Allow read barriers at property accesses and call sites, bug 656920. 2011-05-14 05:45:13 -07:00
Steve Fink
0dd59833c2 Bug 637393 - Add an option to count number of executions of each JSOp, broken down by "run mode" (method JIT/trace JIT/interpreter) 2011-05-10 11:26:39 -07:00
Brian Hackett
48e06d932a Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin 2011-03-30 17:43:36 -07:00
Steve Fink
309819dad7 Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)
I hope to obsolete this soon with bug 637393.
2010-10-22 17:18:47 -07:00
Steve Fink
d4d943aa0f Back out b6c3be49412b 2011-05-12 11:14:37 -07:00
Steve Fink
e1ce8ab0ec Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)
I hope to obsolete this soon with bug 637393.
2010-10-22 17:18:47 -07:00
Luke Wagner
a40af3f88b Bug 690645 - Make AutoScriptUntrapper not massively break invariants; tidy up decompiler a bit (r=waldo) 2011-10-04 10:48:35 -07:00
Jeff Walden
9e2e2823a0 Bug 396512 - Provide a way to get disassembly output. Original patch by crowder, back in the day, when everything was more hardcore. r=mrbkap 2009-01-28 15:31:30 -08:00
Jeff Walden
7dedfa32b1 Fix warnings compiling with gcc 4.5. rs=brendan 2010-11-22 11:53:38 -05:00
Brian Hackett
bc47f4a80a Compile INITPROP/INITELEM, bug 606477. r=jorendorff,dvander 2010-11-18 18:14:22 -08:00
David Anderson
644ea75043 [JAEGER] Merge from fatval branch. 2010-07-12 10:46:01 -07:00
Luke Wagner
a271706f18 Stick jsops.cpp into jsinterp.cpp, where it belongs 2010-07-05 18:28:41 -07:00
David Anderson
549886a671 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
Luke Wagner
7f741ffaff Change asX to toX, asXRef to getXRef, XTag to XValue 2010-07-05 13:44:59 -07:00
Sean Stangl
0b2e4848a1 [JAEGER] Merge with fatval. 2010-07-02 21:52:25 -07:00
Luke Wagner
cff3af7e94 Pull jsval impl details into jsvalimpl.h (included by jspubtd.h) and pull js::Value into jsvalue.h (engine-private) 2010-06-30 15:25:47 -07:00
David Mandelin
603aa495c0 Add extra stack space needed for callprop in methodjit 2010-06-23 18:58:17 -07:00
David Anderson
9b9464e814 [JAEGER] Fixed build. 2010-06-23 10:50:34 -07:00
David Anderson
4aedd979ee [JAEGER] Predict unbound names as being on the global object (bug 564949). 2010-06-12 19:00:27 -07:00
David Anderson
8464d5bca0 [JAEGER] Merge from fatval branch. 2010-06-07 19:29:40 -07:00
Luke Wagner
9fb6617027 Firefox builds 2010-06-07 18:21:51 -07:00
David Anderson
f84f5751f0 [JAEGER] Merge from fatval branch. 2010-06-03 23:04:57 -07:00
Luke Wagner
b067982432 Remove jsboxedword, change jsid to be a jsval 2010-06-02 19:09:04 -07:00
David Anderson
5104cfbd97 Statically bind global variables where possible (bug 561923, r=brendan). 2010-05-22 15:38:04 -07:00
Luke Wagner
662d8d396b convert up to jsstr 2010-05-13 14:49:26 -07:00
Luke Wagner
e232c69abb Merge from tracemonkey 2010-05-11 00:41:08 -07:00
Luke Wagner
3e3f07d8af (unrebased) fat value patch 2010-05-10 22:01:31 -07:00
Dave Herman
9df28068ad Bug 558437 - rename JSCompiler to js::Parser (r=brendan). 2010-04-10 21:15:35 -07:00
Mike Moening
46a40846b5 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Jim Blandy
7c650cc64f Bug 530018 - Add comment to explain why typedef is neceessary. (no r) 2009-11-27 17:05:21 -08:00
Leon Sha
2b56e682b5 Bug 530018 - js_DecompileToString Undefined symbol. r=jim 2009-11-27 09:22:24 +08:00
Jim Blandy
77964ebbf2 Bug 514585: Recognize "use strict" directives. r=igor 2009-11-18 13:33:53 -08:00
Jim Blandy
d48dccd251 Bug 514585: Remove macro wrappers for js_NewPrinter and JS_InitArenaPool. r=igor
These macros were intended to help avoid passing unused parameters
when JS_ARENAMETER is not defined, but they're not worth the trouble.
The unused parameter doesn't elicit warnings, and the performance
impact of passing the unneeded argument is negligible.

This also removes support for JS_ARENA_CONST_ALIGN_MASK, which is not
used.
2009-11-18 13:33:53 -08:00
Jim Blandy
bdf67b8e69 Bug 514585: Move 'grouped' to explicit param of JS_NEW_PRINTER. r=igor
Make all the JSPrinter status bits explicit flags to JS_NEW_PRINTER.
Only in public-facing functions like JS_DecompileFunction should we be
peeling bits out of indent values and turning them into flags;
internally, we can change interfaces to make more sense.

This is preparation for adding another flag to JS_NEW_PRINTER.
2009-11-05 14:34:39 -08:00
David Mandelin
832146d0ee Backed out changeset 723a2622ad4a: tracemonkey tinderbox build failures 2009-10-27 17:46:09 -07:00
Jim Blandy
035f154980 Bug 514585: Move 'grouped' to explicit param of JS_NEW_PRINTER. r=igor
Make all the JSPrinter status bits explicit flags to JS_NEW_PRINTER.
Only in public-facing functions like JS_DecompileFunction should we be
peeling bits out of indent values and turning them into flags;
internally, we can change interfaces to make more sense.

This is preparation for adding another flag to JS_NEW_PRINTER.
2009-10-27 16:38:09 -07:00
Brendan Eich
69d96ff91b Bug 514981 - JSStackFrame::sharp{Array,Depth} should be locals allocated due to #n[#=] usage (r=igor). 2009-09-09 20:21:15 -07:00
Jason Orendorff
61ce6ed0a9 Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05:00
Brendan Eich
ec2ba32101 Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff). 2009-09-04 16:27:17 -07:00