Commit Graph

195028 Commits

Author SHA1 Message Date
shaver@mozilla.org
50a8f5de75 fix build for !JS_TRACER, both threaded and switch interps 2008-08-12 12:09:59 -04:00
shaver@mozilla.org
1c378f9ce8 guard all of jstracer.h against non-tracer builds 2008-08-12 11:36:29 -04:00
shaver@mozilla.org
05f44e8d71 NAMEINC, INCNAME, NAMEDEC, DECNAME 2008-08-12 11:33:40 -04:00
Andreas Gal
321fa72911 Merge. 2008-08-12 03:40:16 -07:00
Andreas Gal
82e54245dc Don't read type from typemap if we already have it in a local variable. 2008-08-12 02:00:05 -07:00
Andreas Gal
187cf6aa90 Don't re-record traces over and over in case of excessive type mismatches. Instead, blacklist the fragment and slowly back away from recording it. 2008-08-12 01:31:28 -07:00
Brendan Eich
f463732cc4 JSOP_FORNAME. 2008-08-12 01:06:02 -07:00
Brendan Eich
1aa45f0af0 Factor forInOp from JSOP_FORLOCAL, use it from JSOP_FORARG's recorder too; tighten up JSOP_SETNAME. 2008-08-12 00:34:43 -07:00
Brendan Eich
ffaea5a969 Fix some comments and tighten up assertions about block scope (mrbkap please look). 2008-08-11 23:45:40 -07:00
Brendan Eich
d5a31d6582 Comments for JSOP_{,STRICT}{EQ,NE} about the layering and constraints on evolution of the non-strict equality ops' recorders. 2008-08-11 23:44:43 -07:00
shaver@mozilla.org
7c6039450b cmp over number and (string or bool or undefined) 2008-08-12 01:05:33 -04:00
shaver@mozilla.org
54767150ba mistaken relanding, didn't track merges well enough 2008-08-12 00:41:23 -04:00
shaver@mozilla.org
b92ac7988c reland eb01b1d55d9b after the mismerge 2008-08-12 00:37:16 -04:00
shaver@mozilla.org
55d57d19b1 reland 3ea1e1317707 after the mismerge 2008-08-12 00:36:25 -04:00
Brendan Eich
20fffc55a1 Restore lost shaver rev 0e50c89c476b -- how did that get lost? 2008-08-11 20:27:47 -07:00
Brendan Eich
ea56efac00 Dependent string test. 2008-08-11 20:26:04 -07:00
Brendan Eich
10a6e0581a Merge, sigh. 2008-08-11 19:21:42 -07:00
Brendan Eich
8aca9c6704 Rename js_DestroyJIT to js_FinishJIT to match Init/Finish vs. New/Destroy naming scheme used elsewhere; use same #if conditions around #include jstracer.h as around code depending on it. 2008-08-11 19:17:30 -07:00
shaver@mozilla.org
8892bdfa76 JSOP_EQ/NE for objects 2008-08-11 22:11:31 -04:00
Brendan Eich
5427f3c66a Argh, I hate hg. 2008-08-11 19:10:24 -07:00
Brendan Eich
be2e9be54c Merge, in the name of all that which does not suck\! 2008-08-11 18:53:21 -07:00
Brendan Eich
b10b83d1b6 Merge. 2008-08-11 18:50:12 -07:00
David Anderson
f38172708e Merge. 2008-08-11 18:49:34 -07:00
David Anderson
9adb100357 Fragmento lifetime is now associated with the thread/runtime instead of the context. 2008-08-11 18:47:22 -07:00
Brendan Eich
8d6baea427 JSOP_LENGTH handles dependent strings now. 2008-08-11 18:41:06 -07:00
shaver@mozilla.org
ec734c96e0 implement JSOP_ADD(str, num) 2008-08-11 21:32:26 -04:00
David Anderson
e19f829335 Fixed some explicit deallocation bugs that cropped up running in the browser. 2008-08-11 18:20:10 -07:00
Andreas Gal
4735e15f94 Merge. 2008-08-11 18:03:31 -07:00
Andreas Gal
3bf076a478 Trash tree if we see an obsolete treeinfo object on record. 2008-08-11 18:03:13 -07:00
Brendan Eich
fd283121ed Merge. 2008-08-11 17:54:59 -07:00
Andreas Gal
7acebb5c78 Don't try to delete names if we are not building a DEBUG build. 2008-08-11 17:49:56 -07:00
Brendan Eich
3e8fc934ae Object.prototype.{hasOwnProperty,propertyIsEnumerable}. 2008-08-11 17:47:05 -07:00
Brendan Eich
7e9558366b Handle multi-level property cache hits; put BRANCH_EXIT on its own line so it stands out as the third param to guard in ifop. 2008-08-11 17:40:26 -07:00
Brendan Eich
0aadb1adba Make Print a fast native. 2008-08-11 16:19:55 -07:00
David Anderson
b07cb645b4 Merge. 2008-08-11 16:15:01 -07:00
David Anderson
7f6fa131dd Merge. 2008-08-11 16:14:29 -07:00
Andreas Gal
b6b62520e0 Support non-flat strings in Any_getelem and Any_setelem. 2008-08-11 16:12:52 -07:00
David Anderson
d5062be5d7 Added explicit deallocation (bug 443500, r=gal) 2008-08-11 16:01:21 -07:00
Andreas Gal
8ad97f0c6a Remove obsolete Tests.cpp file. 2008-08-11 15:59:11 -07:00
Andreas Gal
ad48a24190 Remove default parameter for guard, specify MISMATCH_EXIT explicitly. 2008-08-11 15:40:04 -07:00
Andreas Gal
c7648bbce5 Remove dead code, add a debug printf. 2008-08-11 15:23:37 -07:00
Andreas Gal
3950d4c4a9 If we get a series of tree type mismatches, trash the tree (and all dependent trees in case of nesting.) 2008-08-11 15:16:34 -07:00
Brendan Eich
45bc171db7 Fix FastNewObject built-in to create dense array instance with its own map. 2008-08-11 15:03:32 -07:00
Brendan Eich
bafe9769a2 Beware macro argument multiple expansion... 2008-08-11 14:44:22 -07:00
Brendan Eich
dd864c09c5 Merge. 2008-08-11 13:07:00 -07:00
Brendan Eich
d5e6cbde9d Try fixing LOAD_INTERRUPT_HANDLER based on Andreas's patch. 2008-08-11 13:05:28 -07:00
Brendan Eich
6be44777cd Match JSOP_NULLTHIS up to JSOP_NULL special cases in the decompiler. 2008-08-11 13:03:47 -07:00
Andreas Gal
44a2f2366a Don't try to access the name of arguments beyond nargs (r=brendan). 2008-08-11 12:47:18 -07:00
Andreas Gal
16a51ac34e Merge. 2008-08-11 11:43:59 -07:00
Andreas Gal
9760f6a820 Avoid goto across initialization of sprop2 (446508). 2008-08-11 11:43:40 -07:00