Commit Graph

7305 Commits

Author SHA1 Message Date
Nicholas Nethercote
1125c9c311 Bug 541030 - nanojit: isconstq() should only succeed for 64-bit integer. r=rreitmai.
--HG--
extra : convert_revision : b8fea2e57673f9f2d4e864870d73ee294cabd4bd
2010-03-28 16:49:42 -07:00
Ignore Bukanov
3b3376853d Bug 555338 - preprocessor define to tell when rdtsc is available. r=nnethercote.
--HG--
extra : convert_revision : 673444e26f4810744ff252ee113fd7f0f3d5a7c9
2010-03-28 15:31:53 -07:00
Jeff Walden
d5ecb23728 Readd more of the new rooting scaffolding from bug 548702, without enabling it (except in a side-by-side fashion where the two can both function and coexist). 2010-03-28 13:34:16 -07:00
Jeff Walden
f76c672bfa More mismerging fixes. 2010-03-27 00:04:10 -07:00
Jeff Walden
7b7b7b4bd1 Fix mismerge. 2010-03-26 22:57:23 -07:00
Jeff Walden
34f9abcc39 MergeĀ². 2010-03-26 22:10:39 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Luke Wagner
13df6efbae Bug 555104 - remove JS_ExecuteScriptPart (r=brendan) 2010-03-26 19:37:45 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Jeff Walden
2cef2bed83 Revert strict-aliasing disabling now that n810 has shown not to improve without it. Also change from -Wstrict-aliasing=2 to -Wstrict-aliasing=3; gcc claims the latter gives more precise warnings with fewer mistakes, and I don't think we care that much about it being a little slower, for only the files in SpiderMonkey. 2010-03-26 15:32:35 -07:00
David Anderson
37ae59283b Fixed regression with recursive scripts missing a return (bug 552196, r=gal). 2010-03-26 09:58:33 -05:00
Jason Orendorff
785e3b6713 Bug 500431 part 4 - Encapsulate PropertyCacheEntry::pcval. r=brendan. 2010-03-26 09:01:01 -05:00
Gregor Wagner
d26dffb193 Bug 553682, TM: GC Profiler Part2. r=igor 2010-03-25 16:11:27 -07:00
Gregor Wagner
eec570827d Bug 553682, TM: GC Profiler Part1: Gnuplot script. r=gal 2010-03-25 15:20:34 -07:00
Blake Kaplan
7fa2e3d1ad Bug 555109 - Reparent wrappers harder. r=jst, sr=peterv. 2010-03-31 13:45:46 +02:00
Mitchell Field
f0d15512f1 bug 516758 - Remove more options from configure r=ted 2010-03-30 10:34:00 -04:00
Nicholas Nethercote
12504208c9 Remove dead variable to avoid GCC warning. no bug, r=me. 2010-03-24 20:16:50 -07:00
Nicholas Nethercote
c0a32809f6 Bug 542016 - Remove LIR_addp (TM-specific part). code=edwsmith, r=nnethercote. 2010-03-24 20:16:17 -07:00
Nicholas Nethercote
904ae3526a Update nanojit-import-rev stamp. 2010-03-24 20:13:06 -07:00
Edwin Smith
df5c06910a Cleaned up trailing whitespace (r=me)
--HG--
extra : convert_revision : 6ee8bcd6813ffe98061b8d09317f58138bb41bb7
2010-03-24 20:41:39 -04:00
Edwin Smith
c9c6e235ea replace AvmAssert with NanoAssert everywhere (bug 554549 r=nnethercote+)
Also, remove unused AvmAssert, AvmAssertMsg, and AvmDebugLog from nanojit/avmplus.h

--HG--
extra : convert_revision : aeb486b1d227244e42a9dbc7a9f0a5ba9d84b67b
2010-03-24 20:35:15 -04:00
Edwin Smith
b37a609658 Remove now-dead LIR_iaddp/qaddp/addp (bug 542016, r=nnethercote+)
Simplified the code in CseFilter::ins2() as well since addp was
the only non-cse-able binary operator.

--HG--
extra : convert_revision : 0f21522488fc4a7e3efeaad5c77b6bb96ca0f0fc
2010-03-24 20:08:06 -04:00
Nicholas Nethercote
70b954205a Bug 553518 - nanojit: avoid 'test r,r' where possible on i386. r=edwsmith.
--HG--
extra : convert_revision : ec4d959e1cc9337cf30a08bf75b246516a1728a4
2010-03-24 15:34:34 -07:00
Nicholas Nethercote
36ee148277 merge 2010-03-24 19:32:05 -07:00
Nicholas Nethercote
b3a00b25b6 Follow-up to bug 517910: dslots aren't read-only. r=jorendorff on IRC. 2010-03-24 19:30:47 -07:00
Jason Orendorff
d5f9ef6c2a Bug 500431 part 3 - Rename JSPropertyCache to js::PropertyCache and other renamings. r=brendan. 2010-03-24 21:20:44 -05:00
Jason Orendorff
7cbd94677b Disable js/src/tests/js1_8_1/extensions/regress-466905-05.js which now fails. See bug 554793 for more.
--HG--
extra : rebase_source : 7507438b0fc1b9279a31bda21c2b2e4ae4479ca4
2010-03-24 18:23:34 -05:00
Jim Blandy
87636f5bd9 Bug 552500: Don't bother to dynamically detect stack growth direction. r=waldo 2010-03-24 14:40:11 -07:00
Jason Orendorff
dbf25821e4 Bug 500431 part 2 - Replace macros with inline functions in jspropertycache. r=brendan.
--HG--
extra : rebase_source : efb0e75798145ff1bb64607262345aea67a51290
2010-03-24 16:16:45 -05:00
Jason Orendorff
25153c3c13 Bug 500431 part 1 - Move property cache code to jspropertycache{.h,.cpp,inlines.h}. r=brendan.
--HG--
extra : rebase_source : f7a7bb63bc3cded9452807ecdd0b5b8e8f5b3ff6
2010-03-24 16:16:01 -05:00
Brendan Eich
d29c548901 Disable partial flat closures pending scope chain reconstruction on trace (554572, r=jorendorff). 2010-03-24 13:18:55 -07:00
Andreas Gal
06be8164da Public JS API for new ES5 Object functions (551595, r=jwalden). 2010-03-24 12:36:42 -07:00
Julian Seward
363964e03d Bug 531350 - TMFLAGS=fragprofile leads to reading freed memory. r=graydon. 2010-03-23 21:23:40 -07:00
Jim Blandy
e82e0c1ee6 Bug 554102: Cleanup: switch from global TokenStream functions to methods. a=cdleary, r=jimb 2010-03-23 17:30:36 -07:00
Nicholas Nethercote
72e08f9539 Bug 517910 - NJ: add more alias-set annotations to LIR so as to improve CSEing of loads (TM-specific part). r=gal,dvander. 2010-03-23 16:07:19 -07:00
Nicholas Nethercote
2a65db78fb Update nanojit-import-rev stamp. 2010-03-23 16:00:38 -07:00
Nicholas Nethercote
fac2089f95 Follow-up assertion failure fix for bug 517910. r=me.
--HG--
extra : convert_revision : dfaf13aa4c5928bcd871ac7f279657c87de7b0f9
2010-03-23 15:49:12 -07:00
Nicholas Nethercote
e1753664c8 Update nanojit-import-rev stamp. 2010-03-23 15:28:41 -07:00
Nicholas Nethercote
1b27c99df0 Bug 517910 - NJ: add more alias-set annotations to LIR so as to improve CSEing of loads. r=edwsmith.
--HG--
extra : convert_revision : 26cbea5a2acdcc6156b4a72b0c40c0d675f69571
2010-03-23 15:05:47 -07:00
Edwin Smith
02b8d2a422 Fix PPC bustage for bug 507089 (r=me)
--HG--
extra : convert_revision : 0a31a14aba7746483fe8ff6b8ab287e1784de846
2010-03-23 15:09:52 -04:00
Nicholas Nethercote
db95288852 ARM bustage fix for bug 507089. r=me.
--HG--
extra : convert_revision : d04d39fadbb5f075d4f60fc7b73d106a39331453
2010-03-22 12:18:47 -07:00
Jeff Walden
40f3195c08 Temporarily disable strict aliasing to check whether that has any relevance to the n810 bustage. 2010-03-23 13:03:15 -07:00
Jeff Walden
2a04976962 Revert symbolizing changes, to see whether optimized+no strict aliasing fixes n810. 2010-03-23 13:03:07 -07:00
Jason Orendorff
f83d80e516 Backed out changeset 6dcce4f4d9dd due to orange. 2010-03-23 12:36:06 -05:00
Jason Orendorff
fa2f2a9dfc Backed out changeset 6dcce4f4d9dd due to orange. 2010-03-23 12:35:31 -05:00
Luke Wagner
c6f35044f6 Bug 554203 - remove dead code in JSOP_STOP (r=brendan) 2010-03-23 08:58:00 -07:00
Jason Orendorff
fad4cda013 Fix test js1_8_5/regress/regress-533876.js. 2010-03-23 10:03:00 -05:00
timeless@mozdev.org
11d3079664 Bug 552905 - JS_DefineUCFunction seems to be missing a CHECK_REQUEST. r=jorendorff. 2010-03-23 09:41:43 -05:00
Jason Orendorff
60d5805e46 Bug 509857 - Get rid of DTOA_LOCK. r=jwalden.
--HG--
extra : rebase_source : bec4d9441aa2af8488a04aa8604a65b7387cda6d
2010-03-22 18:21:10 -05:00
Jeff Walden
3e1a930003 Zillionth time's the charm. 2010-03-22 22:17:57 -07:00
Jeff Walden
adaaad82af Back out 38cb39bc6744, 400097fb04e7, and 1dca6e135a1e for great orangeness. 2010-03-22 22:39:29 -07:00
Andreas Gal
40734e1d64 more build fun with bug 553541 2010-03-22 20:58:49 -07:00
Andreas Gal
9ab4260761 nobody ever got hurt by too much parenthesis in expressions (build fix follow-up for 553541) 2010-03-22 20:15:08 -07:00
Andreas Gal
372cc56c27 Allocate short strings in the GC heap, avoiding malloc + free (553541, r=igor). 2010-03-22 20:02:07 -07:00
Jeff Walden
1822c9edc8 Sigh, js has its own configure.in that needs identical changes, doesn't it...
--HG--
extra : rebase_source : 4da0033e802042771e0a94f0d5216bafd979bdb4
2010-03-22 18:40:05 -07:00
Blake Kaplan
95202e3175 Bug 542858 - Don't pretend that the complex global object is a function. r=jorendorff 2010-03-22 16:43:08 -07:00
Brendan Eich
139555cb66 Followup fix for 497789: work around apparent gcc 4.4 aliasing bug (r=dvander). 2010-03-22 16:26:28 -07:00
Jeff Walden
76ae0775d7 Fix ARM-only typo in nanojit merge (NB: NOT being simultaneously merged to nanojit-central out of expediency). r=sparky 2010-03-22 11:48:22 -07:00
Brendan Eich
f819b36cf4 Use direct object shape instead of identity as key for deep property cache hits (497789, r=jorendorff). 2010-03-22 11:11:44 -07:00
Luke Wagner
ad69b5f5fb Bug 554043 - fix negated bool, broken by TT_VOID patch (r=dvander) 2010-03-22 10:26:08 -07:00
Nicholas Nethercote
7ae7039dfe Bug 507089 - TM/nanojit: prepare to add get/set methods for CallInfo::_argtypes (TM-specific part). r=jorendorff. 2010-03-21 20:07:46 -07:00
Nicholas Nethercote
57d156852c Update nanojit-import-rev stamp. 2010-03-21 20:06:52 -07:00
Nicholas Nethercote
fdfdba4936 Fix windows bustage for bug 507089. r=me.
--HG--
extra : convert_revision : 2ad8e20152c94b63d55143199c080c087e987ea9
2010-03-21 19:58:31 -07:00
Nicholas Nethercote
2792ef4bf4 Update nanojit-import-rev stamp. 2010-03-21 19:48:45 -07:00
Nicholas Nethercote
070e390dac Bug 507089 - TM/nanojit: prepare to add get/set methods for CallInfo::_argtypes. r=edwsmith.
--HG--
extra : convert_revision : 55f02d7976752940a9f328d440fb6601ee2dc9f4
2010-03-21 19:47:02 -07:00
Chris Leary
8e0decc494 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-21 16:07:48 -07:00
Nicholas Nethercote
802b04e862 Update nanojit-import-rev stamp. 2010-03-21 15:12:49 -07:00
Nicholas Nethercote
5d4adc4b29 Bug 552374 - nanojit: clean up asm_spill() and friends a little. r=edwsmith.
--HG--
extra : convert_revision : 5806c6f3bf1257fc3142f5eb8718e01071bcbb35
2010-03-21 15:08:03 -07:00
Luke Wagner
1e33f57b39 Backed out changeset 6403442ffa1d (failure on windows, winnt.h defines TokenType!) 2010-03-18 22:26:47 -07:00
Chris Leary
2400e09e63 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-18 22:15:51 -07:00
Andreas Gal
4f38e87c72 add missing test file for bug 553407 2010-03-18 18:02:35 -07:00
Andreas Gal
32268bb413 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Brendan Eich
cd1604d165 Skip test for 503860 until bug 497789 is patched. 2010-03-18 14:43:35 -07:00
Luke Wagner
c5e647b1af Fixed 64-bit LIR type assertion (no bug, rs=dvander). 2010-03-18 13:46:56 -07:00
Luke Wagner
de991387a4 Bug 552586 - split JSVAL_SPECIAL into TT_SPECIAL and TT_VOID (r=dvander) 2010-03-18 12:12:06 -07:00
Andreas Gal
c841a2ef46 Re-seed Math.random() for each window/frame/context (475585, r=waldo,dolske). 2010-03-18 08:27:26 -07:00
Nicholas Nethercote
3a6cdbd6b3 Update nanojit-import-rev stamp. 2010-03-18 11:49:33 +11:00
Nicholas Nethercote
ed67f964ba Yet another Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : ba9b07136948b3e1d87c1bc6b1b518f2182bf762
2010-03-18 11:40:37 +11:00
Nicholas Nethercote
3c2a94a6ba Another Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : 6cb0cf13894a89a41916baa0b45e12b86267c6dc
2010-03-18 11:36:21 +11:00
Nicholas Nethercote
2a1378699e Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : 9fb3875862d0d0f8f1c6ffb84566c0bd73a66a46
2010-03-18 11:28:32 +11:00
Josh Matthews
037d47f249 Bug 526793 - Add gczeal() function to xpcshell. r=mrbkap 2010-03-18 13:05:22 +13:00
Nicholas Nethercote
13e08e42b7 Bug 531687 - Duplicate node names in TMFLAGS=aftersf printout (TM-specific part). r=jseward. 2010-03-18 10:53:26 +11:00
Nicholas Nethercote
d1369b80ed Update nanojit-import-rev stamp. 2010-03-18 10:45:57 +11:00
Nicholas Nethercote
7e445d4a01 Bug 531687 - Duplicate node names in TMFLAGS=aftersf printout. r=edwsmith.
--HG--
extra : convert_revision : c844bd17e4a5e66b7913bb534e298088bee3e528
2010-03-18 10:42:30 +11:00
Nicholas Nethercote
5ce0cdcf01 Bug 534310 - nanojit: split asm_quad() into asm_immq() and asm_immf(). r=edwsmith.
--HG--
extra : convert_revision : 04a7a273ac34034a84391f0e9b965220f19200be
2010-03-18 10:21:02 +11:00
Nicholas Nethercote
8d4664b75b Bug 552614 - nanojit: fix AR::Iter::next(). r=rreitmai.
--HG--
extra : convert_revision : 4dd75fe044cc599088bb52ebce8a880528bc05b4
2010-03-18 09:53:06 +11:00
Blake Kaplan
a8dc0c757f Fix warnings. rs=jorendorff 2010-03-17 15:35:06 -07:00
Vladimir Vukicevic
a502859e84 b=550351; don't abort recording when accessing out of range typed array element (return undefined instead); r=gal 2010-03-04 16:49:31 -08:00
Jason Orendorff
a9e5d5980e Bug 480850 - Add JSAPI function JS_New. r=mrbkap.
--HG--
extra : rebase_source : bb808cedea84d20dfa6e2b3ab6d11b5491aa9058
2010-03-17 10:22:13 -05:00
Jason Orendorff
289a8b3513 Bug 530583 - Delete silly JS_INT32_TO_PTR etc. macros. r=jwalden.
--HG--
extra : rebase_source : ccd52d3c33a3fd984fb5588ef12cbf9a6a80c423
2010-03-16 10:41:28 -05:00
Brendan Eich
9f7e919590 Add tests for 503860 to jstests.list. 2010-03-17 12:52:46 -07:00
Brendan Eich
340c3d6ba5 Restore lost rt->protoHazardShape check (503860, r=jorendorff). 2010-03-17 12:41:11 -07:00
Igor Bukanov
6231f35ccd bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap 2010-03-17 10:29:37 +03:00
Luke Wagner
66fa96ff71 (Fixed assert) Bug 551539 - use memcmp for inner loop of StringMatch, sometimes (r=bzbarsky) 2010-03-16 21:43:48 -07:00
Bob Clary
b7b64d646f bug 552218 - mark ecma/Date/15.9.5.14.js, ecma/Date/15.9.5.34-1.js, ecma_3/Date/15.9.5.5.js as random on Linux due to DST issues. 2010-03-16 18:07:26 -07:00
Nicholas Nethercote
c8f23f417b Update nanojit-import-rev stamp. 2010-03-17 09:08:13 +11:00
Nicholas Nethercote
8a8418a591 Fix mochitest failures caused by the patch for bug 498193. r=me.
--HG--
extra : convert_revision : c99da00233629d7184224a0a3a8129e248bb86fe
2010-03-17 09:04:22 +11:00
Edwin Smith
8ab25db2b6 Redo X64 asm_fneg to only allocate XMM regs, fix indirect calls, and revert asm_restore to old logic (bug 535706 r=nnethercote+)
The code for indirect calls needed shuffling; we must freeResourcesOf() before
assigning the call address to a register.  The old code was just getting lucky,
and the regstate fixes tickled the latent bug.

asm_restore() can be stricter once we eliminate all cases where an F64 instruction
can be assigned to a GPR.  The only known remaining case is asm_quad which is used
for both LIR_float and LIR_quad, which should be fixed by bug 534310.

--HG--
extra : convert_revision : e46657bf61cade04961da7e8abbb004385aaad7b
2010-03-15 21:52:41 -04:00
Luke Wagner
d5acf90a6f Merge 2010-03-16 14:47:35 -07:00
Luke Wagner
3ecc58b15d Backed out changeset bc5039752e41 2010-03-16 14:47:19 -07:00