Steve Fink
0f26c5dbb3
Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)
...
I hope to obsolete this soon with bug 637393.
--HG--
extra : rebase_source : 3dd6d0bffac066e67785d730b9d59460db87326e
2010-10-22 17:18:47 -07:00
Brian Hackett
8e50870411
Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin
2011-03-30 17:43:36 -07:00
Jeff Walden
e18d5f02e1
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
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
David Anderson
a020926861
[JAEGER] Merge from fatval branch.
2010-07-12 10:46:01 -07:00
Luke Wagner
8c317f0f93
Stick jsops.cpp into jsinterp.cpp, where it belongs
2010-07-05 18:28:41 -07:00
David Anderson
64fd3377e9
[JAEGER] Merge from fatval & TM.
2010-07-05 18:07:39 -07:00
Luke Wagner
97d36215fd
Change asX to toX, asXRef to getXRef, XTag to XValue
2010-07-05 13:44:59 -07:00
Sean Stangl
bcde0f1fc6
[JAEGER] Merge with fatval.
2010-07-02 21:52:25 -07:00
Luke Wagner
c2f68a0182
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
882030f513
Add extra stack space needed for callprop in methodjit
2010-06-23 18:58:17 -07:00
David Anderson
992d8e6cde
[JAEGER] Fixed build.
2010-06-23 10:50:34 -07:00
David Anderson
82d98ad449
[JAEGER] Predict unbound names as being on the global object (bug 564949).
2010-06-12 19:00:27 -07:00
David Anderson
ad6f6ffb02
[JAEGER] Merge from fatval branch.
2010-06-07 19:29:40 -07:00
Luke Wagner
0d5dd30ea8
Firefox builds
2010-06-07 18:21:51 -07:00
David Anderson
8e4fe7b3e9
[JAEGER] Merge from fatval branch.
2010-06-03 23:04:57 -07:00
Luke Wagner
8f6c06b148
Remove jsboxedword, change jsid to be a jsval
2010-06-02 19:09:04 -07:00
David Anderson
285a986008
Statically bind global variables where possible (bug 561923, r=brendan).
2010-05-22 15:38:04 -07:00
Luke Wagner
0a7c4f2ffb
convert up to jsstr
2010-05-13 14:49:26 -07:00
Luke Wagner
6c0883c94f
Merge from tracemonkey
2010-05-11 00:41:08 -07:00
Luke Wagner
4e71f5312b
(unrebased) fat value patch
2010-05-10 22:01:31 -07:00
Dave Herman
ed6c552bb7
Bug 558437 - rename JSCompiler to js::Parser (r=brendan).
2010-04-10 21:15:35 -07:00
Mike Moening
0373a2437d
bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor
2010-03-04 20:44:09 -08:00
Jim Blandy
35c480afbf
Bug 530018 - Add comment to explain why typedef is neceessary. (no r)
2009-11-27 17:05:21 -08:00
Leon Sha
1e26add917
Bug 530018 - js_DecompileToString Undefined symbol. r=jim
2009-11-27 09:22:24 +08:00
Jim Blandy
34a27f0c88
Bug 514585: Recognize "use strict" directives. r=igor
2009-11-18 13:33:53 -08:00
Jim Blandy
ae0ff5874f
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
b76416cc57
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
6378284cae
Backed out changeset 723a2622ad4a: tracemonkey tinderbox build failures
2009-10-27 17:46:09 -07:00
Jim Blandy
48cec69361
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
016b0f207a
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
b53824855d
Bug 513119 - Change JSScript macros to methods. r=Waldo.
2009-09-09 18:52:55 -05:00
Brendan Eich
fd61e1b61a
Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff).
2009-09-04 16:27:17 -07:00
Brendan Eich
f6e70a550c
Bug 492720 libgjs failed to compile with jsopcode.h of Firefox 3.5 beta 4 r=brendan
2009-06-11 14:52:06 +08:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Igor Bukanov
0604ee2935
bug 453492 - hiding JSCodeSpec.(nuses|ndefs) behind inlines to properly deal with variable stack bytecodes. r=brendan
2009-03-30 16:19:50 +02:00
Igor Bukanov
4ccdead266
bug 480700 - no more static asserts in headers. r=brendan
2009-03-05 12:12:50 +01:00
Brendan Eich
bad1b50498
Re-land patch for bug 458851 now that latent bug it uncovered (not filed; see hg log) is fixed.
2008-10-28 14:04:29 -07:00
Jason Orendorff
37724bb378
Backed out changeset d4fe79372140 (bug 458851) due to persistent orange on TraceMonkey tinderboxes.
2008-10-28 10:49:06 -07:00
Brendan Eich
51f987553a
Bug 458851 - TM: for-in loops skip every other value in certain cases (r=gal/mrbkap).
2008-10-27 22:30:52 -07:00
Brendan Eich
fcca844194
Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff).
2008-10-24 12:34:08 -07:00
Igor Bukanov
9022efe160
bug 449494 - uniform handling of bytecodes with variable stack uses. r=mrbkap,brendan
2008-09-02 08:25:15 +02:00
Brendan Eich
eaf4254c15
Merge from mozilla-central.
2008-08-08 18:58:04 -07:00
Graydon Hoare
aaf41f8ee5
Bug 447713, remove the import/export functionality from spidermonkey, r=brendan
2008-08-06 17:34:58 -07:00
Igor Bukanov
46b1a8edf2
bug 447762 - merging var and local JS bytecodes. r=brendan
2008-08-06 16:13:22 +02:00
Brendan Eich
fe3a6127c5
- Export JSSLOT_ITER_* from jsiter.cpp to jsiter.h, for jstracer.cpp to use.
...
- Fix OBJ_GET_SLOT to be STOBJ_GET_SLOT in jsiter.cpp, no thread safety here (bug on file).
- Move JSNativeEnumerator from jsobj.cpp to jsobj.h for jstracer.cpp as well.
- Rename JOF_2BYTE JOF_UINT8 for consistency, and actually decompile it.
- Trace JSOP_FORVAR (can't do anything in JSOP_ITER, it comes before the loop).
- Shortened some guardMyLongSummerVacationWithinBounds names ;-).
- Removed/refactored to avoid dslots_ins obligation on all callers.
2008-07-30 16:32:33 -07:00
Brendan Eich
fff2cda315
Export js_ReconstructStackDepth for use by side-exit code when synthesizing stack frames.
2008-07-28 23:46:27 -07:00