Commit Graph

10225 Commits

Author SHA1 Message Date
Dan Witte
8c1b9cb83f Remove redundant checks in CClosure::Trace. No bug, r=luke 2010-07-19 11:23:24 -07:00
Tom Austin
2ad03dfa62 Remove special constructs no longer needed for Narcissus (bug 579137, r=gal) 2010-07-16 18:16:07 -07:00
Luke Wagner
a0bece7dbb Forgot to add test case for 26c99d5891c1 2010-07-17 02:10:40 -07:00
Luke Wagner
ea9b4a6d39 Bug 579602 - desc.getter/setter can be null; finish what 8956606e0b49 started 2010-07-17 01:51:07 -07:00
Andreas Gal
852209f576 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Alan Pierce
52ba5c3616 Bug 571579 - Implement ropes (r=gal) 2010-07-16 17:41:22 -07:00
Luke Wagner
0af67efcd9 Bug 579140 - address various minor change requests for fatvals
--HG--
extra : rebase_source : 02091a75071469c9f6148a5221be9333655bb832
2010-07-16 15:34:00 -07:00
Jeff Walden
688bdd2c80 Followup fix for cyclic-proto exception change, r=orange
--HG--
extra : rebase_source : eb71da4a4b83bfd35d94f51618b68272985e32eb
2010-07-16 16:53:15 -05:00
Luke Wagner
9d7fef353a Bug 579279 - GCC sometimes chooses to use signed < on enumerations whose underlying type is uint32 (r=dmandelin) 2010-07-16 14:00:41 -07:00
Andrew Drake
4e3da79fdc [JAEGER] Add assertion that function JITs. r=dvander, r=jorendorff, b=579145 2010-07-15 14:48:35 -07:00
Sean Stangl
47c29dee6c [JAEGER] Add configure flags to disable MIC/PIC support; (578896; r=dvander).
Specifically: --disable-monoic, --disable-polyic.
2010-07-14 22:56:06 -07:00
David Anderson
35fc464972 [JAEGER] Add NAMEINC; make NAMEINC ops fast (bug 578740). 2010-07-14 21:38:14 -07:00
Jeff Walden
151b088ab6 Bug 578273 - ES5: Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits). r=sayrer
--HG--
extra : rebase_source : ce0005b1b7a69b12f89ad33420ac543c4d09777b
2010-07-13 23:32:28 -05:00
Jeff Walden
e26b5f2fa5 Bug 562446 - ES5: Array.prototype.toString and Array.prototype.toLocaleString should be generic. r=igor
--HG--
extra : rebase_source : 003f392af828817cba1d1153c2ed5d4e5402f5c3
2010-07-15 12:33:33 -05:00
Jeff Walden
31e6cfd5e7 Er, really fix DEBUG_jwalden code. r=tpyo
--HG--
extra : rebase_source : 957de112c57250d4244883eada9561cc76b49006
2010-07-16 14:10:47 -05:00
Luke Wagner
cb2a8dd8dc Bug 579273 - Remove JSObject*-to-jsval union-cast in jswrapper.cpp; use CastAsObjectJsval (r=dmandelin) 2010-07-16 11:47:29 -07:00
Luke Wagner
165d33e232 Bug 578015 - desc.getter/setter can be null (r=dmandelin) 2010-07-16 11:14:05 -07:00
Blake Kaplan
6987d9bc17 Bug 579275 - Don't treat null as a primitive this value. r=luke 2010-07-16 00:44:26 -07:00
David Anderson
9f0db4c4ea [JAEGER] Better assert in MonoIC for no fslot sprops in globals. 2010-07-13 15:03:48 -07:00
David Anderson
2c65bd7307 [JAEGER] Make MIC API look more like PICs. 2010-07-13 14:57:16 -07:00
Sean Stangl
0301a8bf15 [JAEGER] Eliminate redundant guard when lhs and rhs have same backing; (578303, r=dvander). 2010-07-13 02:01:54 -07:00
David Mandelin
7111bb72b7 MSVC build fix 2010-07-12 15:13:02 -07:00
David Anderson
26dfe1007f [JAEGER] Remove stores from OOL transitions when not needed (bug 573083). 2010-07-12 15:00:58 -07:00
David Anderson
7404dfe8d3 [JAEGER] Merge. 2010-07-12 13:34:57 -07:00
David Anderson
76a86d4af7 [JAEGER] Fixed bug in declaration of ic::Name. 2010-07-12 13:10:13 -07:00
David Anderson
d5449384ae [JAEGER] Removed more expensive bytecodeanalyzer assertions. 2010-07-12 13:09:04 -07:00
David Anderson
7b0af24a39 [JAEGER] Removed very expensive assertion in BytecodeAnalyzer. 2010-07-12 13:04:35 -07:00
David Anderson
e51a35a5c7 [JAEGER] Added test-case for bug 577705. 2010-07-12 12:31:25 -07:00
David Anderson
610370da50 [JAEGER] Increased another width of bit field to store slow path patch offsets (bug 577705). 2010-07-12 12:31:06 -07:00
David Anderson
0d903a4218 [JAEGER] Increased width of bit field to store slow path patch offsets (bug 577996). 2010-07-12 12:21:07 -07:00
David Anderson
f8a4355a78 [JAEGER] Merge. 2010-07-12 10:46:23 -07:00
David Anderson
a020926861 [JAEGER] Merge from fatval branch. 2010-07-12 10:46:01 -07:00
David Anderson
aec4251d05 [JAEGER] Removed jsops.cpp to merge from fatval. 2010-07-12 10:37:28 -07:00
Sean Stangl
714fefa9b1 [JAEGER] Fast-path boolean for JSOP_IFEQ, JSOP_IFNE; (577973, r=dvander). 2010-07-11 18:48:36 -07:00
Sean Stangl
2cc55ac57e [JAEGER] Reorder js_ValueToBoolean() based on measured frequencies; (575766, r=dvander). 2010-07-11 18:21:41 -07:00
Chris Leary
1834523ed5 Bug 577708: Remove Algol-like display optimization. (r=dvander) 2010-07-11 00:57:13 -07:00
Andrew Drake
7e02a39d0e [JAEGER] Fix crash when calling non-function object. r=dvander, b=577646 2010-07-10 21:19:32 -07:00
David Anderson
60bf1c38e0 [JAEGER] Fixed bug where DEFLOCALFUN didn't emit DEFUPVAR. 2010-07-10 12:26:27 -07:00
David Anderson
4efc453c83 [JAEGER] Added test case for bug 577580. 2010-07-10 12:25:56 -07:00
David Anderson
d71e2e99b0 [JAEGER] Fixed reference errors causing a crash in name ICs (bug 577580). 2010-07-08 17:42:22 -07:00
Luke Wagner
9fbd3ed3ef Bug 577155 - fix silly error in the fatvalification of Reify 2010-07-07 23:39:50 -07:00
David Anderson
f9aa2e7207 [JAEGER] Remove some stores from slow links. 2010-07-07 18:13:42 -07:00
David Anderson
99c8602803 [JAEGER] Remove unnecessary fast-path stores that are rooted by conservative GC. 2010-07-07 18:13:40 -07:00
Sean Stangl
68723725a7 [JAEGER] Implement boolean guard for JSOP_AND and JSOP_OR; (575766, r=dvander). 2010-07-06 01:10:18 -07:00
Alan Pierce
79e0a74022 [JAEGER] Fix build failure. 2010-07-06 00:57:55 -07:00
Alan Pierce
2772052dcb [JAEGER] Special-case parseInt(double) in num_parseInt. r=dvander b=576934 2010-07-06 00:38:13 -07:00
David Anderson
f61f0ac54c [JAEGER] Fixed mismatched calling convention causing silently bad codegen. 2010-07-06 00:43:05 -07:00
Luke Wagner
94d4737738 Tweak comment to trigger rebuild 2010-07-06 00:28:33 -07:00
David Anderson
3dbfde2a1d [JAEGER] Band-aid for computed this. 2010-07-06 00:01:10 -07:00
Luke Wagner
6c45614fba Merge 2010-07-05 21:53:13 -07:00
Luke Wagner
673d7fe560 Comment change to trigger another build 2010-07-05 21:51:44 -07:00
Leon Sha
c319972048 Bug 575205 - JM: Make JaegerMonkey work on Solaris x86/x64 with Sun Studio 12. r=dvander. 2010-07-06 12:14:58 +08:00
David Anderson
0ddb5ebacc [JAEGER] Unbroke build, merge merge merge. 2010-07-05 20:14:42 -07:00
Luke Wagner
8c317f0f93 Stick jsops.cpp into jsinterp.cpp, where it belongs 2010-07-05 18:28:41 -07:00
Luke Wagner
29555a0cb9 Turn quick-stubbed traceable natives back on 2010-07-05 18:28:15 -07:00
David Anderson
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
Luke Wagner
6a7978aebd Merge from TM 2010-07-05 14:08:20 -07:00
Luke Wagner
4859d6f3af Fix build bust. Remove upper/lower case diagnostic in xpconnect 2010-07-05 14:02:41 -07:00
David Anderson
c9b2aacfe3 [JAEGER] PIC for writes to escaped call objects. 2010-07-05 13:56:56 -07:00
Luke Wagner
e501d7e0b5 Remove lowercase/uppercase name check 2010-07-05 13:56:20 -07:00
Luke Wagner
97d36215fd Change asX to toX, asXRef to getXRef, XTag to XValue 2010-07-05 13:44:59 -07:00
David Anderson
14c9baf4e0 [JAEGER] Added PIC for reads from an escaped call object. 2010-07-05 13:44:01 -07:00
Wes Garland
c0cab6c84e Bug 575379 jsapi-test for JSClass::getProperty. r=jorendorff 2010-07-05 12:27:04 -04:00
Luke Wagner
a8bbd6e292 Change the type of jsid in release builds so that it is always different than jsval 2010-07-05 04:22:37 -07:00
Luke Wagner
86eab7cd9a For some wacky reason, jsuint gets assigned different types in TabParent.cpp on MSVC and this gives a linker error 2010-07-05 04:11:33 -07:00
Luke Wagner
549c391960 Fix bug involving JSVAL_IS_GCTHING's inclusion of null 2010-07-05 02:33:34 -07:00
Luke Wagner
d71c690795 Change default-constructor of Value to initialize to 0. This avoids some warnings when using Value in a HashTable and a few other cases and seems to have no measurable effect. 2010-07-05 01:59:49 -07:00
Luke Wagner
477aedc0ff Tweak jsapi.h/jspubtd.h/jsdbgapi.h 2010-07-05 01:50:08 -07:00
Luke Wagner
b6c66a4c30 Forgot to teach conservative GC about jsid type 2010-07-05 01:41:42 -07:00
Luke Wagner
4dc169abc2 Set argv[-1] to null instead of 0x0 (double) to satisfy the argv[-1] assertion in LeaveTree 2010-07-05 01:14:39 -07:00
David Anderson
fa56975c91 [JAEGER] PIC for JSOP_BINDNAME. 2010-07-05 01:12:18 -07:00
Luke Wagner
d95c06a050 Disable quickstub generation in a different way so as to not fail tests horribly 2010-07-05 00:52:38 -07:00
Luke Wagner
ae4ce7e082 Merge from TM 2010-07-04 23:17:03 -07:00
Nicholas Nethercote
ecd4996a85 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig (TM-specific part). r=gal. 2010-07-04 20:00:33 -07:00
Luke Wagner
78ef13ef62 Avoid crazy JS_STATIC_ASSERT decl conflict on OS X by removing C linkage from jsscript.h 2010-07-04 19:55:05 -07:00
Nicholas Nethercote
a267ea146c Update nanojit-import-rev stamp. 2010-07-04 19:52:07 -07:00
Luke Wagner
b77253dee8 Fix browser bustage from merge 2010-07-04 19:48:36 -07:00
Nicholas Nethercote
588cb18fca Fix ARM bustage for bug 553962. r=me.
--HG--
extra : convert_revision : bb74ad1990fc0299c107c6d44a04c3682e8cb9fe
2010-07-04 19:45:53 -07:00
Nicholas Nethercote
a901c621f3 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig. r=edwsmith.
--HG--
extra : convert_revision : cfbed237877f0939423d9c1ac591c0a7edb5b0c0
2010-07-04 19:39:09 -07:00
Eli Friedman
c7b36cb9f6 Bug 576363 - Qualify accesses to dependent base in js. r=nnethercote.
--HG--
extra : convert_revision : 5c5cacef53d6a42f6226636c0fa71c13e428b52f
2010-07-04 19:12:15 -07:00
Luke Wagner
1cec9d28d0 Fix compilation errors in merge. Trace-tests works 2010-07-04 15:13:23 -07:00
Luke Wagner
d119486317 Merge from TM
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
2010-07-04 14:49:39 -07:00
Luke Wagner
ea3315ad19 Use more casts so confounding conversion rules do produce the wrong bitmask in GetWrapper 2010-07-04 13:56:33 -07:00
David Anderson
2892d7e043 [JAEGER] PIC for not-escaped call objects (bug 576733). 2010-07-04 13:18:55 -07:00
Luke Wagner
1bbdcb442c Remove bogus tag-testing in conservative GC; fix warning; define js_GetterOnlyPropertyStub appropriately 2010-07-04 12:55:13 -07:00
Luke Wagner
a190b35d3a Browser build fixes (stuff still broken) 2010-07-04 12:35:21 -07:00
Luke Wagner
d52a11e637 Get merge building js shell and passing trace/ref tests. Still need to fix up browser 2010-07-04 00:12:06 -07:00
David Anderson
bd89a0cfdf [JAEGER] Added fast-path for JSOP_OBJTOSTR. 2010-07-03 13:21:23 -07:00
David Anderson
3487c67a9d [JAEGER] Fixed bug in JSOP_POS. 2010-07-03 13:13:20 -07:00
Jason Orendorff
c46ef62c01 Merge fix for bug 575208. 2010-07-03 08:10:46 -05:00
Chris Leary
4d381b0e29 One more changeset to back out. (r=red) 2010-07-03 02:06:14 -07:00
Chris Leary
1101ca3628 Back out Yarr until I can unbreak ARM build. (r=red) 2010-07-03 01:54:21 -07:00
Chris Leary
3df5948663 Push-and-pray to try to fix ARM build breaks. (r=red). 2010-07-02 23:57:51 -07:00
Chris Leary
4ec22b4904 Bug 564953: Port of Yarr regexp engine and Nitro macroassembler. No PPC support. (r=gal,lw) 2010-07-02 22:25:37 -07:00
Sean Stangl
bcde0f1fc6 [JAEGER] Merge with fatval. 2010-07-02 21:52:25 -07:00
Andreas Gal
b352f081cf Only check for proxy handler if we are sure its a proxy (fallout bug 574924, r=orange). 2010-07-02 18:53:00 -07:00
Robert Sayre
fd390f1273 Fix ObjectWrapperChild bustage 2010-07-02 18:17:06 -07:00
David Anderson
e8807ea6da [JAEGER] Implement JSOP_POS. 2010-07-02 18:09:12 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
David Anderson
bbc39f5459 [JAEGER] Implement JSOP_DEFLOCALFUN_FC. 2010-07-02 17:18:05 -07:00