Commit Graph

11855 Commits

Author SHA1 Message Date
David Anderson
e97997eef5 Merge. 2008-08-12 11:53:24 -07:00
David Anderson
768c8b4cf9 Only use fastcall on x86. 2008-08-12 11:46:57 -07:00
Brendan Eich
5f632a4da8 More guard argument formatting. 2008-08-12 11:36:52 -07:00
David Anderson
84344430f2 Merge. 2008-08-12 10:47:50 -07:00
David Anderson
8bda2d0857 Fixed nanojit using a variable before it got set (verbosity mode only it seems). 2008-08-12 10:45:24 -07:00
shaver@mozilla.org
419fd08a5f fix !JS_TRACER build 2008-08-12 13:16:47 -04:00
shaver@mozilla.org
8c4e95c301 add way to explicitly disable tracer for easier testing 2008-08-12 13:16:30 -04:00
Brendan Eich
29cfda93a5 Consolidate common name (global slot) addressing code. 2008-08-12 09:42:29 -07:00
Brendan Eich
f03a4a89b8 Put trailing args on their own lines when they otherwise would seem to associate with a nested call in a previous arg position. 2008-08-12 09:27:54 -07:00
Brendan Eich
ceb8e7bca7 Merge, plus ((void)0) parens. 2008-08-12 09:23:38 -07:00
Brendan Eich
e4661b0de3 Fix goto over init whinage. 2008-08-12 09:18:19 -07:00
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
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