Commit Graph

188 Commits

Author SHA1 Message Date
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
fb08156567 bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject 2008-03-21 01:19:23 -07:00
0c51582620 bug=421806 r=brendan a1.9=blockin1.9 fixing decompiler regressions with interpreter stack modeling 2008-03-12 16:03:29 -07:00
4d2d1f0648 bug=418641 r=brendan a1.9=dsicore Avoiding code bloat on slow paths in the interpreter. 2008-03-05 12:26:06 -08:00
d3868c5aac Unbitrot JS_OPMETER (363529, r=shaver, a=beltzner/sayrer). 2008-02-28 16:29:59 -08:00
05e91d5405 Recover trapped opcode in js_GetIndexFromBytecode (416665, r=igor). 2008-02-17 17:32:12 -08:00
55884275d1 Return of the property cache (365851, r=shaver). 2008-02-07 15:18:45 -08:00
1503b0ab2d Bug 376957 - Prevent data leaks from cross-site JSON loads (JavaScript literals), by making the global name bindings ReadOnly/DontDelete and making [] and {} use the global bindings. Still more that can be done here, but this covers a lot of the fix. r+a=brendan 2007-12-03 19:05:24 -08:00
9314610fd9 Bug 398609: simpler handling of hidden properties, r,a=brendan 2007-11-19 09:15:45 -08:00
62ed3a8358 Bug 398609: backing out due to test failures. 2007-11-18 16:58:46 -08:00
e9f381cdfa Bug 398609: cleanup of hidden properties support. r,a=brendan 2007-11-18 16:36:49 -08:00
561e39a5f6 Bug 398609: Backing out due to mochi test failure. 2007-11-13 07:47:28 -08:00
3446e67fca Bug 398609: cleanup of hidden properties. r,a=brendan 2007-11-13 06:56:18 -08:00
b161566e4b Bug 387286: patch from Rich Dougherty to name constitently JOF_* flags. r=me 2007-08-08 06:35:05 -07:00
5d8d820217 Bug 386885: JSAtom.number is removed in favour of using atoms itself for hashing. r=brendan 2007-07-11 02:25:45 -07:00
188d5caeeb Bug 385729: objects and regexps are stored in separated tables in JSScript. r=brendan,mrbkap 2007-07-08 02:03:34 -07:00
ffb5aba0ae Bug 381973: new opcode flag top declare an extra temporary slot used by interpreter. r=brendan 2007-06-04 13:01:41 -07:00
0952a2cdb6 Fix JOF_XMLNAME, etc., interrogation to mask the mode bits and compare (381504, r=mrbkap). 2007-05-22 23:04:18 -07:00
8dc87a0d75 Support generator expressions for JS1.8 (380237, r=mrbkap). 2007-05-17 18:41:17 -07:00
47405eabb7 Bug 379855: js_CodeSpec.name/token are moved to separated arrays to shrink the code. r=brendan 2007-05-06 03:50:07 -07:00
3bc4193542 Bug 373175: hiding code to set arena names behind JS_ARENAMETER. r=brendan 2007-04-10 06:29:10 -07:00
igor.bukanov@gmail.com
94c7350dcd Bug 366725: JS_GetString(Bytes|Chars) are no longer used in SpiderMonkey. 2007-03-08 06:25:23 +00:00
igor.bukanov@gmail.com
afb4f7b136 Bug 363530: Optimizing JS function/method calling bytecodes. r=brendan 2007-03-01 01:33:46 +00:00
igor.bukanov@gmail.com
7f1dbbdc35 Bug 36680: new function to report error using decompiled jsval text. r=brendan 2007-01-19 08:37:55 +00:00
igor.bukanov@gmail.com
948d1c4af3 Bug 366236: cleanup and debug checks for atom indexes. r=brendan 2007-01-12 12:10:36 +00:00
brendan@mozilla.org
28552766b5 Igor's patch for simpler extended atom indexing (365608, tweaks and r=me). 2007-01-06 23:25:00 +00:00