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
Brendan Eich
ce5e184633
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
2d2a5dfe04
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Andreas Gal
00a608f948
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
4af509178e
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Igor Bukanov
7f43d1e11b
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
1929780174
bug 480700 - no more static asserts in headers. r=brendan
2009-03-05 12:12:50 +01:00
Brendan Eich
4a4c3d3d3a
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
30aac588d8
Backed out changeset d4fe79372140 (bug 458851) due to persistent orange on TraceMonkey tinderboxes.
2008-10-28 10:49:06 -07:00
Brendan Eich
7e901e72c3
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
eb0f0aad56
Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff).
2008-10-24 12:34:08 -07:00
Igor Bukanov
4be80b5c95
bug 449494 - uniform handling of bytecodes with variable stack uses. r=mrbkap,brendan
2008-09-02 08:25:15 +02:00
Brendan Eich
e6aad74aae
Merge from mozilla-central.
2008-08-08 18:58:04 -07:00
Graydon Hoare
f6b62ae8ff
Bug 447713, remove the import/export functionality from spidermonkey, r=brendan
2008-08-06 17:34:58 -07:00
Igor Bukanov
2c87fa5a62
bug 447762 - merging var and local JS bytecodes. r=brendan
2008-08-06 16:13:22 +02:00
Brendan Eich
342e1a24b5
- 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
d887639d7d
Export js_ReconstructStackDepth for use by side-exit code when synthesizing stack frames.
2008-07-28 23:46:27 -07:00
Igor Bukanov
e9875f6677
bug 441686 - eliminating JSStackFrame.(nvars|vars). r=brendan
2008-07-20 22:13:17 +02:00
Igor Bukanov
b998d7da52
[Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan
2008-06-20 11:55:49 +02:00
Igor Bukanov
ab82078dd6
Backed out changeset 97977f224aff due to build breakage
2008-06-20 11:46:36 +02:00
Igor Bukanov
8b4ddb3ea7
[Bug 433382] More efficient interpreter switch when computed goto
...
is not available. r=brendan
2008-06-20 10:06:45 +02:00
Igor Bukanov
1025737b61
Backed out changeset 21527193c49b: the patch has used CSRCS, not CPPSRCS.
2008-06-20 09:45:29 +02:00
Igor Bukanov
46a8d347ba
[Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan
2008-06-20 09:36:56 +02:00
dcb524ff17
Fix '(void 0) is undefined' decompilation regression (420919, r=igor, a=dsicore).
2008-04-24 16:48:32 -07:00
9ecedb2538
[Bug 423874] Allocating functions together with JSObject. r=brendan a1.9=blocking1.9
2008-04-02 00:46:12 -07:00
9e7f467804
[bug 423874] backing out as a simpler patch would do the job with less code.
2008-03-29 03:34:29 -07:00