Commit Graph

3503 Commits

Author SHA1 Message Date
Andreas Gal
2bc1ba7a91 The meaning of T changed in our builtin table to object-only, so we have to mark the string builtins now with S, instead of T (454682, r=brendan). 2008-09-24 16:31:07 -07:00
Brendan Eich
d0645c2e47 Bug 456875 - TM: js_SynthesizeFrame must js_GetCallObject if JSFUN_HEAVYWEIGHT (r=mrbkap). 2008-09-24 15:43:19 -07:00
Brendan Eich
536e07f808 Bug 455146 - TM: Going to NEW Facebook profile page causes crash. [ @FlushNativeStackFrame] (r=danderson,mrbkap). 2008-09-24 15:40:08 -07:00
Andreas Gal
619234db4c Back out attempt to invoke natives that return a boxed value (namely push and pop, 453734). 2008-09-24 15:18:19 -07:00
David Anderson
635fe0398d Merge. 2008-09-24 13:12:54 -07:00
David Anderson
a53ee95a20 Fixed breaks in switch statements causing premature end-of-traces (bug 456345, r=gal,brendan). 2008-09-24 13:12:25 -07:00
Neil Rashbrook
6f6de04b5e Make nanojit build non-debug with VC7.1 (bug 455210, r=danderson). 2008-09-24 10:21:49 -07:00
Brendan Eich
60cb87195a Bug 453024 - Mochitest Assertion failure: vp + 2 + argc <= (jsval *) cx->stackPool.current->avail, at jsinterp.cpp:1066 (r=igor/mrbkap). 2008-09-24 02:24:22 -07:00
Brendan Eich
c184542b3b Bug 453024 - Mochitest Assertion failure: vp + 2 + argc <= (jsval *) cx->stackPool.current->avail, at jsinterp.cpp:1066 (r=igor/mrbkap). 2008-09-24 02:10:47 -07:00
Bob Clary
297c885ff6 JavaScript Tests - regression tests for bug 444608, by Igor Bukanov 2008-09-24 00:45:47 -07:00
Bob Clary
3df315446e JavaScript Tests - regression test for bug 430740, by Dave Reed 2008-09-24 00:39:00 -07:00
Doug Turner
9dbdb465c5 Merge 2008-09-23 21:10:42 -07:00
Bob Clary
ddf31f39fa JavaScript Tests - exclude js1_5/extensions/regress-434837-01.js for 1.9.1, bug 450275 2008-09-23 18:31:04 -07:00
David Anderson
ccd5e825b9 Fixed jstracer's operator delete leaking out into other shared libraries (bug 452721, r=gal). 2008-09-23 18:12:53 -07:00
Andreas Gal
38a8e67fa5 Merge. 2008-09-23 17:19:02 -07:00
Andreas Gal
958c18fb2a Add builtin for invocation of match() on String objects (454682, r=danderson). 2008-09-23 17:18:40 -07:00
Doug Turner
cf6bf884ef Bug 456458 - JS Tracer uses file-system stat structure name - WinCE compile fails. patch by dougt, r=crowder 2008-09-23 14:35:29 -07:00
David Anderson
b3141a864c Fix where recording could crash if globalObj->dslots got reallocated (bug 451137, bug 455137, r=gal). 2008-09-23 13:29:41 -07:00
Andreas Gal
9ae4f39d64 Don't demote dmod to imod since there is no case that is guaranteed to produce valid integer results for all inputs (456540, r=danderson). 2008-09-23 12:21:15 -07:00
Doug Turner
368e1aa2d8 Bug 455374 - WinCE JS DLL does not need DllMain() function. patch by wolfe, r=crowder 2008-09-23 11:01:31 -07:00
Gavin Sharp
97caa62981 Merge backout with previous tip 2008-09-23 11:47:43 -04:00
Brendan Eich
ef1a9b029a JS_snprintf for portability, not snprintf (bustage fix). 2008-09-23 00:59:59 -07:00
Andreas Gal
b967b5aec8 Use JS_snprintf instead of snprintf which Windows doesn't seem to know about (fix build breakage). 2008-09-23 00:58:11 -07:00
Andreas Gal
abad97c694 Merge. 2008-09-23 00:37:10 -07:00
Bob Clary
4ffb3183b0 JavaScript Tests - update intel specific failures, bug 399387 2008-09-22 23:48:03 -07:00
Andreas Gal
5054e0003b Don't emit constant guards for switch and ifop (455605, r=danderson). 2008-09-22 17:58:25 -07:00
Andreas Gal
0c5b47dc28 Merge. 2008-09-22 17:03:00 -07:00
Andreas Gal
d85fc31e85 Both sides of a modulo have to be demotable before we can optimize using imod (456477, r=danderson). 2008-09-22 17:02:33 -07:00
Boris Zbarsky
5bf1de2855 Bug 456369. Checking of JIT stats should not loop. r=brendan 2008-09-22 17:37:59 -04:00
Andreas Gal
7b70046b10 Merge. 2008-09-22 13:05:12 -07:00
Andreas Gal
df641c58e5 Compilation fixes for DISABLE_JIT=1 (r=danderson). 2008-09-22 13:04:47 -07:00
David Anderson
d1bc6dc0d8 Fixed jstracer.cpp no longer building in the browser because of -pedantic. 2008-09-22 11:23:22 -07:00
Andreas Gal
368f7d5382 Merge with mozilla-central. 2008-09-21 12:44:24 -07:00
Bob Clary
96c2df4309 JavaScript Tests - update public failures, bug 399387 2008-09-21 12:29:07 -07:00
Bob Clary
c6a95ffda3 JavaScript Tests - GLOBAL should be computed in shell tests, bug 456290 2008-09-21 12:25:11 -07:00
Bob Clary
34a018fb73 Sisyphus|JavaScript Tests - uniq truncates lines at 8190 chars, bug 456287 2008-09-21 12:19:16 -07:00
Brian Crowder
910abe1b30 Adding missing file 2008-09-21 09:03:16 -04:00
Boris Zbarsky
f1b69640dd Backed out changeset c0364f5e0a84 2008-09-21 09:02:09 -04:00
Boris Zbarsky
f068ba4b22 Adding missing file 2008-09-21 08:59:52 -04:00
Brendan Eich
782b633703 Fix bug 455763 (r=me). 2008-09-21 01:38:39 -07:00
Brian Crowder
d87b65397b Add a JIT stats object in the shell 2008-09-19 22:47:58 -04:00
Boris Zbarsky
4b972f730f Adding test for bug 451605 2008-09-19 21:58:00 -04:00
Andreas Gal
da5081c842 Properly calculate tree exit/call guards (bug 453397, r=danderson). 2008-09-19 18:45:57 -07:00
Andreas Gal
461209cef6 Merge. 2008-09-19 16:09:39 -07:00
Andreas Gal
b20918f930 Dynamic reconstruction of arbitrary native frames (454402, r=danderson). 2008-09-19 16:09:18 -07:00
Boris Zbarsky
c504a551d6 Adding some comments 2008-09-19 17:54:49 -04:00
Andreas Gal
101addb2f6 Merge. 2008-09-19 12:29:56 -07:00
Andreas Gal
16fbc92e91 Backed out changeset 5e4ec981e9ea 2008-09-19 12:07:46 -07:00
Boris Zbarsky
7b41e7daf4 Adding some documentation 2008-09-19 14:45:16 -04:00
Bob Clary
be30cbf4ef JavaScript Tests - update known failures for js1_5/extensions/regress-452178.js, js1_5/extensions/regress-452329.js - bug 399387 2008-09-19 09:28:22 -07:00
Andreas Gal
f06affb8ed Allow tree to grow around unbox operations when the type of the value changes (452514, r=danderson). 2008-09-18 17:40:46 -07:00
Andreas Gal
9d7afa336a Add support for fast native that return jsval and wire up push/pop (453734, r=mrbkap). 2008-09-18 16:53:09 -07:00
Andreas Gal
9908bc1345 Merge. 2008-09-18 16:08:52 -07:00
Andreas Gal
2c406fe617 Add support for JSOP_NOT on strings (451787, r=danderson). 2008-09-18 16:04:54 -07:00
David Anderson
b895f26605 Fixed trying to record arguments past the formal arg count in JSOP_ARGSUB and JSOP_CALL (bug 455757, r=gal). 2008-09-18 15:23:22 -07:00
Bob Clary
1f939c4f71 JavaScript Tests - regression test for bug 452346, by Jesse Ruderman 2008-09-18 14:28:19 -07:00
David Anderson
40d94b8bed Fixed -0 being treated as a promotable unsigned integer (bug 455758, r=gal). 2008-09-18 14:19:17 -07:00
Andreas Gal
708f08ca9c Properly handle side exits in scripted constructors (originally mrbkap, r=brendan, 453462). 2008-09-18 14:13:37 -07:00
Andreas Gal
f074cc7a9f Cleanup and unify comparison code (455811, r=danderson). 2008-09-18 13:31:26 -07:00
Bob Clary
c9a49033f4 JavaScript Tests - move js18 test to proper suite, bug 452491
--HG--
rename : js/tests/js1_5/Regress/regress-452491.js => js/tests/js1_8/regress/regress-452491.js
2008-09-18 13:17:51 -07:00
Bob Clary
86b77b1cb9 JavaScript Tests - move js18 test to proper suite, bug 454744
--HG--
rename : js/tests/js1_5/extensions/regress-454744.js => js/tests/js1_8/extensions/regress-454744.js
2008-09-18 13:10:13 -07:00
Bob Clary
473a7a418b JavaScript Tests - regression test for bug 452168, by Jesse Ruderman 2008-09-18 10:23:10 -07:00
Bob Clary
8e32be0feb JavaScript Tests - regression tests for bug 452170, by Jesse Ruderman 2008-09-18 10:13:17 -07:00
Bob Clary
a10d8fa4f6 JavaScript Tests - regression test for bug 452178, by Jesse Ruderman 2008-09-18 09:57:39 -07:00
Bob Clary
c0ffa78db1 JavaScript Tests - regression test for bug 452329, by Jesse Ruderman 2008-09-18 09:49:05 -07:00
Bob Clary
e0ed8b964f JavaScript Tests - regression test for bug 452333, by Jesse Ruderman 2008-09-18 04:32:59 -07:00
Bob Clary
c1139784ae JavaScript Tests - regression test for bug 452336, by Jesse Ruderman 2008-09-18 03:17:49 -07:00
Bob Clary
14d73df131 JavaScript Tests - regression test for bug 452338, by Jesse Ruderman 2008-09-18 03:10:07 -07:00
Bob Clary
876fe2f99e JavaScript Tests - regression test for bug 452372, by Jesse Ruderman 2008-09-18 01:54:34 -07:00
Bob Clary
be95d6de99 JavaScript Tests - regression test for bug 452491, by Jesse Ruderman 2008-09-18 01:44:30 -07:00
Bob Clary
52c079ea18 JavaScript Tests - regression test for bug 452495, by Jesse Ruderman 2008-09-18 01:10:32 -07:00
Bob Clary
57dbef5d1c JavaScript Tests - regression test for bug 452565, by Jesse Ruderman 2008-09-18 00:44:06 -07:00
Bob Clary
07d54a955b JavaScript Tests - regression tests for bug 452573, by Jesse Ruderman 2008-09-18 00:30:40 -07:00
Bob Clary
61347cfbec JavaScript Tests - regression test for bug 452703, by Jesse Ruderman 2008-09-18 00:14:53 -07:00
Bob Clary
c16cf95859 JavaScript Test - regression test for bug 452713, by Jesse Ruderman 2008-09-18 00:03:39 -07:00
Bob Clary
07c04ca8bf JavaScript Tests - regression tests for bug 452724, by Jesse Ruderman 2008-09-17 23:47:52 -07:00
Bob Clary
67718a7c4a JavaScript Tests - regression test for bug 452960, by Jesse Ruderman 2008-09-17 23:26:19 -07:00
Bob Clary
69087cb41f JavaScript Tests - regression test for bug 453249, by Jesse Ruderman 2008-09-17 23:09:56 -07:00
Bob Clary
628c833ae8 JavaScript Tests - regression test for bug 453411, by Jesse Ruderman 2008-09-17 22:52:02 -07:00
Bob Clary
619ff80290 JavaScript Tests - regression test for bug 454981, by Makoto Kato 2008-09-17 16:30:05 -07:00
Bob Clary
d5d05807b3 JavaScript Tests - regression test for bug 455380, by Rob Sayre 2008-09-17 14:22:59 -07:00
Bob Clary
6bc8071aa3 JavaScript Tests - regression test for bug 455408, by Jesse Ruderman 2008-09-17 12:02:50 -07:00
Bob Clary
0a15739c50 JavaScript Tests - regression tests for bug 455464, by Jesse Ruderman 2008-09-17 11:38:36 -07:00
Brendan Eich
510c72d4f0 Bug 455464 - TM: "Assertion failure: !TRACE_RECORDER(cx) ^ (jumpTable == recordingJumpTable)" with gc getter (r=mrbkap). 2008-09-17 08:10:23 +01:00
Andreas Gal
183ab27e9d Use Object as prototype if the prototype of the constructor is primitive (452960, r=mrbkap). 2008-09-16 18:49:27 -07:00
Andreas Gal
b2cff5e791 Expose push pop in jsarray and add builtins (453734, r=mrbkap). 2008-09-16 17:07:59 -07:00
Bob Clary
847220319a JavaScript Tests - regression test for bug 453051, by Jesse Ruderman 2008-09-17 07:13:54 -07:00
Bob Clary
11edc5fe3d JavaScript Tests - regression test for bug 453049, by Jesse Ruderman 2008-09-17 07:10:56 -07:00
Bob Clary
2648ff7d54 JavaScript Tests - regression test for bug 453747, by Jesse Ruderman 2008-09-17 07:07:00 -07:00
Bob Clary
76b8df6a68 JavaScript Tests - regression test for bug 453701, by Jesse Ruderman 2008-09-17 07:02:10 -07:00
Bob Clary
9a5c21609f JavaScript Tests - regression test for bug 453173, by Jesse Ruderman 2008-09-17 06:58:56 -07:00
Bob Clary
f0c1609765 JavaScript Tests - regression test for bug 454744, by Jesse Ruderman 2008-09-17 06:53:07 -07:00
Bob Clary
52d61f875a JavaScript Tests - enable jit fixes, bug 455669 2008-09-17 03:41:19 -07:00
Bob Clary
6ed7504ebd JavaScript Tests - known failures update, bug 399387 2008-09-16 14:29:58 -07:00
Andreas Gal
dab25898eb Don't export operator new/delete except if really needed (452721, r=danderson). 2008-09-16 13:57:59 -07:00
Andreas Gal
6de13bab44 Merge. 2008-09-16 13:24:57 -07:00
Andreas Gal
8ef12c41b5 Removed bogus assert (argv is NULL if callee is NULL, assert segfaults, 452495, r=danderson). 2008-09-16 13:24:34 -07:00
Jason Orendorff
14fd1396b5 Bug 454343 - Assertion failure: obj == pobj, at src/js/src/jsinterp.cpp:160 (r+sr=mrbkap) 2008-09-16 14:27:03 -05:00
Bob Clary
bc755d49be JavaScript Tests - regression test for bug 452884, by Jesse Ruderman 2008-09-16 12:25:50 -07:00
David Anderson
6dcdb6aeb9 Fixed pointer arithmetic bug during trace recording on 64-bit platforms (bug 454981, r=m_kato). 2008-09-16 10:48:54 -07:00
Andreas Gal
37a7d9274f Add test case for 455408. 2008-09-16 08:07:01 -07:00
brendan
472ac757b4 Don't forget to set RHS as result in SETPROP in case we don't call either SetPropHit or SetPropMiss, new patch (455408, r=gal). 2008-09-16 08:03:12 -07:00
Andreas Gal
4f38e736a7 Backed out changeset 66a76c8c7346 2008-09-16 06:51:33 -07:00
brendan
18c4ef65df Don't forget to set RHS as result in SETPROP in case we don't call either SetPropHit or SetPropMiss (455408, r=gal). 2008-09-16 06:26:57 -07:00
Andreas Gal
ce30f97561 Merge. 2008-09-16 06:22:32 -07:00
Andreas Gal
61aeda1e95 Detect modulo by constant that is not zero and demote to integer modulo (451788, r=brendan). 2008-09-16 06:20:54 -07:00
Brendan Eich
68172b5938 Bug 453411 - "Assertion failure: !cx->onTrace" with yield string (r=gal). 2008-09-16 14:00:02 +01:00
Ben Newman
3a8f74e2d8 Bug 446584 - NodeIterator doesn't forward exception properly; r=(jonas + jst) sr=jst 2008-09-16 13:47:47 +02:00
Bob Clary
45808eba0d JavaScript Tests - regression test for bug 452853, by Jesse Ruderman 2008-09-15 23:36:57 -07:00
Andreas Gal
70d28c8730 Backed out changeset 61b9209c186f 2008-09-15 19:59:06 -07:00
brendan
663c6aeb04 test_property_cache_direct_slot forgot to insist on a direct slot for get ops (453249, r=gal). 2008-09-15 19:40:43 -07:00
Blake Kaplan
087c2331f5 Bug 450692 - Don't unconditionally add inner and outer object hooks to XPConnect objects. 2008-09-15 17:14:08 -07:00
Andreas Gal
10e4759086 Merge. 2008-09-15 17:12:21 -07:00
Andreas Gal
2e60c6889f Merge. 2008-09-15 17:09:45 -07:00
Andreas Gal
13cc3eaad6 Backed out changeset 87fe68f51647 2008-09-15 17:09:25 -07:00
Andreas Gal
950247bb9d Fix JSOP_NOT (455380, r=brendan). 2008-09-15 17:08:15 -07:00
Robert Sayre
26dfedb82e Merge
Hg: user: Robert Sayre <sayrer@gmail.com>
2008-09-15 19:45:05 -04:00
Robert Sayre
9c41ae9cce Add check to make sure bug 452008 remains fixed. 2008-09-15 19:36:03 -04:00
Andreas Gal
0764f9fccb Demote modulo operation with a constant non-zero right hand side (451788). 2008-09-15 15:59:25 -07:00
Andreas Gal
a580bcd185 Implement comparison of numbers against null (455293, r=brendan,danderson). 2008-09-15 15:30:06 -07:00
Andreas Gal
f369f7dcfb Whitespace nit-pick (453261, r=brendan). 2008-09-15 15:26:16 -07:00
Andreas Gal
cdb4ed8fae Merge. 2008-09-15 15:01:44 -07:00
Andreas Gal
95068bdc26 Properly handle floating point array indexes (453261, r=brendan). 2008-09-15 15:00:40 -07:00
Vladimir Vukicevic
47e9d3a21b b=454530; misc trace abort fixes (trace String.concat); r=brendan 2008-09-15 17:30:05 -04:00
Jason Orendorff
2e3c2852da Bug 453331 - Quick stubs: handle members with the same name (r+sr=jst) 2008-09-15 09:18:38 -05:00
Andreas Gal
be1b44bf0e Trace slow array get/set of indexed props (453261, r=brendan). 2008-09-15 00:54:28 -07:00
Jesse Ruderman
e61b63eb62 Add crashtest 2008-09-14 00:20:17 -07:00
Robin Bate Boerop
2082181641 Bug 412866 - Reuse regexp arena, original patch by Robin Bate Boerop <moz@shorestreet.com>, refreshed by Ryan VanderMuelen <ryanvm@gmail.com>, r=crowder 2008-09-12 15:11:48 -07:00
Brendan Eich
a834957775 TraceRecorder::record_SetPropMiss mis-layered on top of record_SetPropHit (454689, r=mrbkap). 2008-09-11 15:53:00 -07:00
Ginn Chen
7e5c865f31 Bug 452588 bustage on Solaris 2008-09-11 20:12:55 +08:00
Brendan Eich
e0626f7799 Bug 453563 - TM: assertion when running unit tests with the JIT on (r=danderson). 2008-09-11 00:07:50 -07:00
Brendan Eich
ef47fcf4f8 Bug 454744 - TM: "Assertion failure: PCVAL_IS_SPROP(entry->vword)" with getter. 2008-09-11 00:00:37 -07:00
Ryan VanderMeulen
950f98985d Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
Brendan Eich
fe5c11a5ea TraceRecorder::record_SetPropMiss mis-layered on top of record_SetPropHit (454689, r=mrbkap). 2008-09-11 18:35:29 -07:00
Ginn Chen
490ca10263 Bug 452588 bustage on Solaris 2008-09-11 19:34:54 +08:00
Brendan Eich
b9b65ec429 Bug 453563 - TM: assertion when running unit tests with the JIT on (r=danderson). 2008-09-11 00:07:14 -07:00
Brendan Eich
1d69adc89d Bug 454744 - TM: "Assertion failure: PCVAL_IS_SPROP(entry->vword)" with getter. 2008-09-11 00:04:33 -07:00
Vladimir Vukicevic
81dcc17709 Get rid of bogus nanojit arm platform stats line 2008-09-10 13:08:08 -07:00
Vladimir Vukicevic
b5c30cfadc Get rid of bogus nanojit arm platform stats line 2008-09-10 13:06:31 -07:00
Benjamin Smedberg
b7c5804c10 Merge backout of the old patch for bug 453388 - we can statically allocate Oracle again, now that we're linking using the C++ linker magic, r=crowder 2008-09-10 15:38:28 -04:00
Benjamin Smedberg
bfeb170706 Merge backouts of bug 453388 - using g++ to link libjs.so means we can have static classes 2008-09-10 15:27:17 -04:00
Benjamin Smedberg
52e1ae86c7 Backed out changeset fc4a8cc07c9f - bustage fix from the first patch for bug 453388 which is also being backed out 2008-09-10 15:21:30 -04:00
Benjamin Smedberg
e780e5e3ea Backed out changeset e2614011f194 - Bug 453388 - the better solution is to allow static objects and link libjs.so with g++ so that _init and _fini run static constructors/destructors correctly backout r=crowder 2008-09-10 15:20:01 -04:00
Benjamin Smedberg
ad47b4958a bug 453388/bug 454624 - link using g++ instead of ld, so that static constructors/destructors will fire correctly r=crowder 2008-09-10 15:16:50 -04:00
Blake Kaplan
afe8fdc761 Work around incorrect but annoying strict-aliasing warning. r=brendan 2008-09-10 00:36:01 -07:00
Blake Kaplan
bcd1f7f97d Fix bustage -- these macros are only defined if the tracer was enabled. 2008-09-10 00:12:26 -07:00
Blake Kaplan
88856d9ef1 Merge tracemonkey -> mozilla-central 2008-09-09 23:38:21 -07:00
Brendan Eich
ce15bc7cd3 Bug 454039 - TM: don't abort TraceRecorder::record_JSOP_SETPROP on cache miss (r=mrbkap). 2008-09-09 22:22:52 -07:00
Brendan Eich
7d5c49516c Back out patch for bug 454039. 2008-09-09 16:55:07 -07:00
Brendan Eich
c7b40d9f99 Bug 454039 - TM: don't abort TraceRecorder::record_JSOP_SETPROP on cache miss (r=mrbkap). 2008-09-09 16:05:04 -07:00