Граф коммитов

17669 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden 8577d1493c Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden ff258a8cb0 Oops, forgot a necessary change to go with the jsparse changes in the last push. 2010-03-29 16:49:45 -07:00
Jeff Walden 893b197054 Readd jsparse.cpp and jsparse.h changes for bug 548702. 2010-03-29 12:03:43 -07:00
Jeff Walden 43048a9fec Readd substantive jsgc.cpp changes for bug 548702.
--HG--
extra : rebase_source : dd4cc7651df4280d1166bf99907f8469e81b006d
2010-03-29 12:03:24 -07:00
Jason Orendorff ecc99e6047 Fix busted tests to use reportCompare. no_r=orange.
--HG--
extra : rebase_source : 5d3055655d0c5326d08966c956f2e2d6fcf74e65
2010-03-29 14:57:43 -05:00
Jeff Walden e3a19a7cad Readd jsiter.cpp, jsscript.cpp, jsxml.cpp changes for bug 548702. 2010-03-29 11:36:33 -07:00
Jason Orendorff 2239823240 Bug 541255 - "Assertion failure: obj->isDenseArray(), at ../jsarray.cpp". r=brendan. 2010-03-29 11:24:42 -05:00
Jason Orendorff ef306b8afa Bug 554996 - Eliminate native-ops check before testing property cache. Part 2: tracer. r=gal. 2010-03-29 10:35:38 -05:00
Jason Orendorff d1f4fe9a74 Bug 554996 - Eliminate native-ops check before testing property cache. Part 1: interpreter. r=gal. 2010-03-29 10:35:16 -05:00
Jason Orendorff b2a62b2dae Bug 500431 part 5 - Make js::PropertyCache fields private. r=brendan. 2010-03-26 18:38:33 -05:00
Jeff Walden 6eaa7e5cd1 Readd jsarray.cpp changes for bug 548702. array_sort in particular is a rat's-nest of complexity, so this file's changes are being pushed in isolation from all others. In the interest of getting the tree as pristine for morning, I'm pushing this now and letting it cycle while I sleep -- if it turns anything pretty colors, please back out. Otherwise, look for more in the morning... 2010-03-29 00:02:13 -07:00
Jeff Walden f3cf631e3b Readd bug 548702's changes to jsapi.cpp, jsexn.cpp, jsfun.cpp, jsnum.cpp, and jsstr.cpp. 2010-03-28 22:05:50 -07:00
Jeff Walden 806a75e33e Readd all jsobj.cpp and related changes from bug 548702. 2010-03-28 20:32:20 -07:00
Nicholas Nethercote 0b93aa9f96 Bug 541030 - nanojit: isconstq() should only succeed for 64-bit integer (TM-specific part). r=dvander. 2010-03-28 18:02:40 -07:00
Nicholas Nethercote d179f8f3c2 Update nanojit-import-rev stamp. 2010-03-28 17:48:10 -07:00
Nicholas Nethercote 3e7c79263b 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 eabbe4cfb9 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 cfa3e60dd6 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 24b5cef632 More mismerging fixes. 2010-03-27 00:04:10 -07:00
Jeff Walden d3403826f1 Fix mismerge. 2010-03-26 22:57:23 -07:00
Jeff Walden 9f8a70cea5 Merge². 2010-03-26 22:10:39 -07:00
Jeff Walden cc578ac362 Merge. 2010-03-26 21:53:40 -07:00
Luke Wagner 805c7064c3 Bug 555104 - remove JS_ExecuteScriptPart (r=brendan) 2010-03-26 19:37:45 -07:00
Jeff Walden 1066acafbb 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 e21a5b0f34 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 438b2cc4ea Fixed regression with recursive scripts missing a return (bug 552196, r=gal). 2010-03-26 09:58:33 -05:00
Jason Orendorff 403633697e Bug 500431 part 4 - Encapsulate PropertyCacheEntry::pcval. r=brendan. 2010-03-26 09:01:01 -05:00
Gregor Wagner 3255237a35 Bug 553682, TM: GC Profiler Part2. r=igor 2010-03-25 16:11:27 -07:00
Gregor Wagner 5cc6c2c289 Bug 553682, TM: GC Profiler Part1: Gnuplot script. r=gal 2010-03-25 15:20:34 -07:00
Blake Kaplan e963b15de6 Bug 555109 - Reparent wrappers harder. r=jst, sr=peterv. 2010-03-31 13:45:46 +02:00
Mitchell Field 1a41dcccd8 bug 516758 - Remove more options from configure r=ted 2010-03-30 10:34:00 -04:00
Nicholas Nethercote bf77dc64cb Remove dead variable to avoid GCC warning. no bug, r=me. 2010-03-24 20:16:50 -07:00
Nicholas Nethercote f3ef300547 Bug 542016 - Remove LIR_addp (TM-specific part). code=edwsmith, r=nnethercote. 2010-03-24 20:16:17 -07:00
Nicholas Nethercote cf401765d2 Update nanojit-import-rev stamp. 2010-03-24 20:13:06 -07:00
Edwin Smith fcc5aa4756 Cleaned up trailing whitespace (r=me)
--HG--
extra : convert_revision : 6ee8bcd6813ffe98061b8d09317f58138bb41bb7
2010-03-24 20:41:39 -04:00
Edwin Smith 3a8f31468e 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 cd3244836e 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 dd6d0fdd02 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 32221afa5f merge 2010-03-24 19:32:05 -07:00
Nicholas Nethercote ee505065ba Follow-up to bug 517910: dslots aren't read-only. r=jorendorff on IRC. 2010-03-24 19:30:47 -07:00
Jason Orendorff eb5e50868d Bug 500431 part 3 - Rename JSPropertyCache to js::PropertyCache and other renamings. r=brendan. 2010-03-24 21:20:44 -05:00
Jason Orendorff 3c6b60461f 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 39e3f58e98 Bug 552500: Don't bother to dynamically detect stack growth direction. r=waldo 2010-03-24 14:40:11 -07:00
Jason Orendorff 515fa01dde 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 d2230d46e0 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 611d7273c8 Disable partial flat closures pending scope chain reconstruction on trace (554572, r=jorendorff). 2010-03-24 13:18:55 -07:00
Andreas Gal 5486afbe80 Public JS API for new ES5 Object functions (551595, r=jwalden). 2010-03-24 12:36:42 -07:00
Julian Seward 5f6a5af9a8 Bug 531350 - TMFLAGS=fragprofile leads to reading freed memory. r=graydon. 2010-03-23 21:23:40 -07:00
Jim Blandy ea87628426 Bug 554102: Cleanup: switch from global TokenStream functions to methods. a=cdleary, r=jimb 2010-03-23 17:30:36 -07:00
Nicholas Nethercote f26bd79245 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 e13cb1ac37 Update nanojit-import-rev stamp. 2010-03-23 16:00:38 -07:00
Nicholas Nethercote db6d060ba9 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 cec9f7618e Update nanojit-import-rev stamp. 2010-03-23 15:28:41 -07:00
Nicholas Nethercote b090e850b8 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 65fc47dc7f Fix PPC bustage for bug 507089 (r=me)
--HG--
extra : convert_revision : 0a31a14aba7746483fe8ff6b8ab287e1784de846
2010-03-23 15:09:52 -04:00
Nicholas Nethercote 942ed6e23c ARM bustage fix for bug 507089. r=me.
--HG--
extra : convert_revision : d04d39fadbb5f075d4f60fc7b73d106a39331453
2010-03-22 12:18:47 -07:00
Jeff Walden 48d99af139 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 7c4e0d85e0 Revert symbolizing changes, to see whether optimized+no strict aliasing fixes n810. 2010-03-23 13:03:07 -07:00
Jason Orendorff 5c05098da9 Backed out changeset 6dcce4f4d9dd due to orange. 2010-03-23 12:36:06 -05:00
Jason Orendorff 2e3d2a8534 Backed out changeset 6dcce4f4d9dd due to orange. 2010-03-23 12:35:31 -05:00
Luke Wagner 7a84f155e7 Bug 554203 - remove dead code in JSOP_STOP (r=brendan) 2010-03-23 08:58:00 -07:00
Jason Orendorff 39e658e502 Fix test js1_8_5/regress/regress-533876.js. 2010-03-23 10:03:00 -05:00
timeless@mozdev.org 632c80b679 Bug 552905 - JS_DefineUCFunction seems to be missing a CHECK_REQUEST. r=jorendorff. 2010-03-23 09:41:43 -05:00
Jason Orendorff 1df3de2336 Bug 509857 - Get rid of DTOA_LOCK. r=jwalden.
--HG--
extra : rebase_source : bec4d9441aa2af8488a04aa8604a65b7387cda6d
2010-03-22 18:21:10 -05:00
Jeff Walden c7c48f0275 Zillionth time's the charm. 2010-03-22 22:17:57 -07:00
Jeff Walden 6f3eea8a6a Back out 38cb39bc6744, 400097fb04e7, and 1dca6e135a1e for great orangeness. 2010-03-22 22:39:29 -07:00
Andreas Gal c61b56b63e more build fun with bug 553541 2010-03-22 20:58:49 -07:00
Andreas Gal 8945bea7ff 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 daf778e0c8 Allocate short strings in the GC heap, avoiding malloc + free (553541, r=igor). 2010-03-22 20:02:07 -07:00
Jeff Walden cb0809fc8c 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 3a474f4952 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 97e00c4aea Followup fix for 497789: work around apparent gcc 4.4 aliasing bug (r=dvander). 2010-03-22 16:26:28 -07:00
Jeff Walden 950558fb84 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 28288a0037 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 3aa6f0feab Bug 554043 - fix negated bool, broken by TT_VOID patch (r=dvander) 2010-03-22 10:26:08 -07:00
Nicholas Nethercote 8b62bc5a92 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 c192dbb64b Update nanojit-import-rev stamp. 2010-03-21 20:06:52 -07:00
Nicholas Nethercote 30e1b027e6 Fix windows bustage for bug 507089. r=me.
--HG--
extra : convert_revision : 2ad8e20152c94b63d55143199c080c087e987ea9
2010-03-21 19:58:31 -07:00
Nicholas Nethercote c08c12804f Update nanojit-import-rev stamp. 2010-03-21 19:48:45 -07:00
Nicholas Nethercote 497b913b9c 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 a52e773d77 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-21 16:07:48 -07:00
Nicholas Nethercote 09fd66cd2f Update nanojit-import-rev stamp. 2010-03-21 15:12:49 -07:00
Nicholas Nethercote 014dbb62f8 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 8619abe400 Backed out changeset 6403442ffa1d (failure on windows, winnt.h defines TokenType!) 2010-03-18 22:26:47 -07:00
Chris Leary 7b07e705a2 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-18 22:15:51 -07:00
Andreas Gal 56d053c2f5 add missing test file for bug 553407 2010-03-18 18:02:35 -07:00
Andreas Gal 85b60d98b9 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Brendan Eich a3d656dd06 Skip test for 503860 until bug 497789 is patched. 2010-03-18 14:43:35 -07:00
Luke Wagner 70297b5302 Fixed 64-bit LIR type assertion (no bug, rs=dvander). 2010-03-18 13:46:56 -07:00
Luke Wagner ca9b29506a Bug 552586 - split JSVAL_SPECIAL into TT_SPECIAL and TT_VOID (r=dvander) 2010-03-18 12:12:06 -07:00
Andreas Gal 29e02cea42 Re-seed Math.random() for each window/frame/context (475585, r=waldo,dolske). 2010-03-18 08:27:26 -07:00
Nicholas Nethercote 9a11c3a885 Update nanojit-import-rev stamp. 2010-03-18 11:49:33 +11:00
Nicholas Nethercote c3d53c70c9 Yet another Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : ba9b07136948b3e1d87c1bc6b1b518f2182bf762
2010-03-18 11:40:37 +11:00
Nicholas Nethercote 44aabe14ff Another Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : 6cb0cf13894a89a41916baa0b45e12b86267c6dc
2010-03-18 11:36:21 +11:00
Nicholas Nethercote 8e863e08fe Windows bustage fix for bug 531687.
--HG--
extra : convert_revision : 9fb3875862d0d0f8f1c6ffb84566c0bd73a66a46
2010-03-18 11:28:32 +11:00
Josh Matthews 77d5bd7f58 Bug 526793 - Add gczeal() function to xpcshell. r=mrbkap 2010-03-18 13:05:22 +13:00
Nicholas Nethercote d0a63c268d Bug 531687 - Duplicate node names in TMFLAGS=aftersf printout (TM-specific part). r=jseward. 2010-03-18 10:53:26 +11:00
Nicholas Nethercote 2e1576ff71 Update nanojit-import-rev stamp. 2010-03-18 10:45:57 +11:00
Nicholas Nethercote 07f83b1d8b 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 318eeb3df0 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 ee99191791 Bug 552614 - nanojit: fix AR::Iter::next(). r=rreitmai.
--HG--
extra : convert_revision : 4dd75fe044cc599088bb52ebce8a880528bc05b4
2010-03-18 09:53:06 +11:00
Blake Kaplan 06318b44ee Fix warnings. rs=jorendorff 2010-03-17 15:35:06 -07:00
Dan Witte e2e3aec31a Bug 555644 - Fix toSource() on ctypes.float types. r=benjamn 2010-04-01 10:59:18 -07:00
Ben Newman 53f422a393 Bug 554790 - Implement variadic ctypes functions. r=dwitte 2010-04-01 10:47:37 -07:00
Vladimir Vukicevic 27e4be007f 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 176743c01d Bug 480850 - Add JSAPI function JS_New. r=mrbkap.
--HG--
extra : rebase_source : bb808cedea84d20dfa6e2b3ab6d11b5491aa9058
2010-03-17 10:22:13 -05:00
Jason Orendorff 9ad2181a1a 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 6bc0b2f115 Add tests for 503860 to jstests.list. 2010-03-17 12:52:46 -07:00
Brendan Eich f3ac73f624 Restore lost rt->protoHazardShape check (503860, r=jorendorff). 2010-03-17 12:41:11 -07:00
Igor Bukanov 35f4d91473 bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap 2010-03-17 10:29:37 +03:00
Luke Wagner 770366a103 (Fixed assert) Bug 551539 - use memcmp for inner loop of StringMatch, sometimes (r=bzbarsky) 2010-03-16 21:43:48 -07:00
Bob Clary fa6b435f20 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 3bf15ae808 Update nanojit-import-rev stamp. 2010-03-17 09:08:13 +11:00
Nicholas Nethercote 22f5136231 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 a64e9de660 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 148417c45f Merge 2010-03-16 14:47:35 -07:00
Luke Wagner 1cc2983a51 Backed out changeset bc5039752e41 2010-03-16 14:47:19 -07:00
Igor Bukanov c7d430a638 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-16 21:28:33 +03:00
Luke Wagner 1fc5949cbd Bug 551539 - use memcmp for inner loop of StringMatch, sometimes (r=bzbarsky) 2010-03-16 09:55:45 -07:00
Luke Wagner f25453183d Add argv bounds check in js shell's EvalInFrame (no bug, r=me) 2010-03-16 09:45:07 -07:00
Nicholas Nethercote 8d7d02e394 Fix GCC warning. Follow-up to bug 552248. r=me. 2010-03-16 15:06:04 +11:00
Nicholas Nethercote 4bdd04d8b8 Bug 552582 - TM: remove unused case from FuncFilter. r=gal. 2010-03-16 14:58:52 +11:00
Luke Wagner 07a82dbbd3 Bug 552248 - fix crash when JS_EvaluateInStackFrame is called for frame in saved callstack (r=Waldo) 2010-03-15 19:24:08 -07:00
Nicholas Nethercote e9a5ed9c7d Update nanojit-import-rev stamp. 2010-03-16 12:12:38 +11:00
Nicholas Nethercote bcc65b47c1 merge
--HG--
extra : convert_revision : 0f045a5086e77b5117efe257b98c1d1b604b9487
2010-03-16 12:08:18 +11:00
Nicholas Nethercote 10966d080e Bug 498193 - nanojit: inline all LirWriter functions. r=gal.
--HG--
extra : convert_revision : 63d6441f969c16fe5c963c5c0c500bef4ce051bc
2010-03-16 12:05:43 +11:00
Edwin Smith eb44d106f4 Fix bustage in _nvprof macro (no bug, r=nnethercote+)
--HG--
extra : convert_revision : 62212ce5b6bbefad34c0924cae9ce1701182f082
2010-03-15 20:57:35 -04:00
Nicholas Nethercote 03995acf0a Don't use DebugBreak() in NanoAssertFail(), it causes Tinderbox problems on Windows. No bug, r=me.
--HG--
extra : convert_revision : 01a6ad4362eedd1e25ec41d050a3e6bfaeaf5707
2010-03-15 16:23:30 +11:00
Chris Leary bd851154fd Bug 549658: clean up JS scanner and inline more things, r=brendan,jimb 2010-03-15 16:42:06 -07:00
Andreas Gal e944ee9e2a Merge. 2010-03-15 16:14:09 -07:00
Andreas Gal bca5802afb Backed out changeset 1732da7b3164 2010-03-15 16:13:49 -07:00
Andreas Gal 2e6828e87c Allow class of native objects to change (552552, r=jorendorff). 2010-03-15 16:07:28 -07:00
Vladimir Vukicevic b1a2d2ee96 Backed out changeset 0b28c109c213; r=waldo,dmandelin 2010-03-15 16:03:57 -07:00
Jeff Walden 09fcef71f2 Bug 551007 - Make JSScopeProperty::attrs private, hide information behind accessor methods. r=jorendorff 2010-03-08 15:44:59 -07:00
Jeff Walden 23f72aa6c3 Bug 551529 - Remove __count__. r=shaver 2010-03-12 17:09:49 -08:00
Andreas Gal b5ba1c7a09 remove JSTreeContext* parameter from JSCompiler parse methods (landing for dherman, bug 551021, r=jimb). 2010-03-15 14:58:01 -07:00
Nicholas Nethercote 4a7297b6dd Update nanojit-import-rev stamp. 2010-03-15 12:48:58 +11:00
Nicholas Nethercote 0ccac5e22b Bug 551876 - nanojit: fix avmplus.h warnings. r=edwsmith.
--HG--
extra : convert_revision : 9a999bda712986c15b4590e57029b580621ffcf9
2010-03-15 12:30:32 +11:00
Brendan Eich fac2a9d1b4 Patch from Mats Palmgren for bug 424558 (r=me). 2010-03-14 16:12:47 -05:00
Robert Sayre 717c815bea Merge mozilla-central to tracemonkey. 2010-03-14 13:04:44 -04:00
Dan Witte 19adc71579 commit 06a5dd6038d06df968bc1610dccf04c4ad16fe44
Author: Jacek Caban <jacek@codeweavers.com>
Date:   Sat Mar 13 13:23:21 2010 +0100

    Bug 513788 - mingw fix
2010-03-13 11:19:58 -08:00
Robert Sayre 762c04cd61 Merge. 2010-03-13 13:11:48 -05:00
Robert Sayre 3d76bf7d96 Bustage fix: change ctypes to use finite() and the correct name for tvrs. 2010-03-13 12:59:35 -05:00
Igor Bukanov 6ac7e26488 forcing tinderbox restart to check if MAC xpcshell failure after landing for the bug 519476 persists. 2010-03-13 20:46:15 +03:00
Robert Sayre 4066e6b277 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Igor Bukanov e8a9de6f10 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-13 10:01:09 +03:00
David Anderson b84116c011 More tracer cleanups (bug 551754, r=lw). 2010-03-12 12:05:36 -08:00
David Anderson dc2f935dc2 Fixed regression with recursion and type unstable frame slurping (bug 551705, r=gal). 2010-03-12 11:47:44 -08:00
Nicholas Nethercote 64a20b3120 Bug 551879 - TM: remove shell/js.cpp and editline.c warnings. r=gal. 2010-03-12 17:33:54 +11:00
Nicholas Nethercote 1f8943a00a Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter (TM-specific part). r=gal. 2010-03-12 15:36:42 +11:00
Nicholas Nethercote f6c14142c2 Update nanojit-import-rev stamp. 2010-03-12 15:32:53 +11:00
Nicholas Nethercote a8a51531e2 Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter. r=gal.
--HG--
extra : convert_revision : 73a17dbefb346ec569b86ae5f28a56a06297181d
2010-03-11 14:59:45 -08:00
Dan Witte 27698f60b5 Bug 513788 - Revise js-facing API for js-ctypes. Followup to refactor common patterns. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte e80d064dee Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting in usages of JS_GetProperty and
friends. r=jorendorff
2010-03-12 17:17:13 -08:00
Dan Witte 7ca1eee0f0 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix PointerType serialization. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte 220630dc47 Bug 513788 - Revise js-facing API for js-ctypes. Followup to implement array and struct size overflow
tests. r=jorendorff
2010-03-12 17:17:12 -08:00
Dan Witte 6708ab2dd9 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting bugs. r=jorendorff 2010-03-12 17:17:12 -08:00
Joel Maher 6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
timeless@mozdev.org 638fe351a8 Bug 551088 fix xpconnect signed warnings
r=dbradley

--HG--
extra : rebase_source : 01a2089bc2a3f3a402acaab68b8b9a6bce92bb09
2010-03-12 07:50:12 +01:00
timeless@mozdev.org c53f8e2aed Bug 187796 make unimplemented constructors in mozJSComponentLoader.cpp private
r=dbradley

--HG--
extra : rebase_source : 11c1d83d14854f124ddb6342cad99a01f84e8673
2010-03-12 07:50:10 +01:00
Igor Bukanov e41defe090 Bug 536306 Crash [@ checkReportFlags ] occurs when loading Eventbug and Selenium IDE
r=jorendorff

--HG--
extra : rebase_source : 5cc4b4b70811b05a3f7088eddfa0d699184060ef
2010-03-12 07:50:10 +01:00
timeless@mozdev.org 0962bc16c1 Bug 469226 every method in jsd-xpc would needs to push a frame before calling jsd_ to make quickstubs happy
fix jsd for quickstubs
r=jorendorff

--HG--
extra : rebase_source : 345b8c19b67524dcc632689021a981a944d5ba45
2010-03-12 07:50:10 +01:00
Dan Witte 2626e52ff3 Revise js-facing API for js-ctypes, patch v3. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte f621917024 Revise js-facing API for js-ctypes, patch v2. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte afa52d32f7 Revise js-facing API for js-ctypes, patch v1. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Nicholas Nethercote 6c4a097110 Fix another WinNT compiler warning. No bug, r=me.
--HG--
extra : convert_revision : ddc0ce7b1670cbbad7aa4505696a71c3613e3324
2010-03-06 09:14:31 +11:00
Nicholas Nethercote f6e5dcf6c2 Fix WinNT compiler warnings. No bug, r=me.
--HG--
extra : convert_revision : de5746d49dcf5073c9f37c35b2a810c7f77bc8d0
2010-03-05 17:44:28 +11:00
Rick Reitmaier de862a8e80 Bug 546660 - Clean up mess around LINUX, AVMPLUS_LINUX, __linux__ (r+nnethercote) [kpalacz]
Gcc defines linux on linux, other compilers are supported to the
extent that they emulate gcc's behavior

--HG--
extra : convert_revision : 6bb42c345395fb0a6f779723157f5e43d6669016
2010-03-04 12:35:45 -08:00
Leon Sha 063d950b69 Bug 547232 - solaris nanojit compiler error LIR_qcmov is not defined. r=stejohns
--HG--
extra : convert_revision : 3b1d24a51ce4d9fd3fb37ca5d2394f4816763a23
2010-03-02 12:24:17 +08:00
Luke Wagner e39fee895d Silence jsvector.h strict-aliasing warning 2010-03-11 17:59:30 -08:00
David Mandelin 04368a5292 Bug 549509 followup: fix macrology to make sure no warnings occur per brendan's bug comment, no_r=me 2010-03-11 16:32:28 -08:00
Dave Herman 8fd48ed1db Make the parsing methods members of JSCompiler for bug 518055. r=jimb 2010-03-11 17:28:01 -05:00
David Anderson 5c0f8df5a3 Merge. 2010-03-11 12:19:51 -08:00
David Anderson 87abf06097 Backed out changeset 04023ea0fb08. 2010-03-11 12:19:36 -08:00
David Anderson 2eaefb5aa2 Merge. 2010-03-11 12:19:18 -08:00
David Anderson 26c81162af Backed out changeset 887a3e05324c. 2010-03-11 12:15:21 -08:00
David Anderson f46c55736e Merge. 2010-03-11 11:41:14 -08:00
David Anderson 78327d68b8 Fixed warnings from the tracer oracle (no bug, rs=brendan). 2010-03-11 11:40:44 -08:00
Brendan Eich e9d974f434 lightweight JSParseNode subclasses (bug 550350) 2010-03-11 11:29:21 -08:00
Mike Moenig 45318fdaaa Allow custom allocator use in SpiderMonkey (bug 549532, r=dvander). 2010-03-10 21:02:18 -08:00
Luke Wagner 4c90f806f8 Fix bustage on opt/NSPR builds 2010-03-10 15:48:53 -08:00
Luke Wagner c78f4378e4 Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Boris Zbarsky 91914b8cd3 Bug 551533. Use StringMatch in find_split instead of rolling our own search. r=lw 2010-03-10 18:28:44 -05:00
Boris Zbarsky 6a1644fbf0 Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff 2010-03-10 12:12:43 -05:00
David Anderson b22620a062 Clean up useless variables/params in the tracer. (bug 551100, r=lw) 2010-03-09 18:52:56 -08:00
Jeff Walden 062d268d45 Further bustage fixing 2010-03-09 17:44:16 -08:00
Jeff Walden 49f22f1f82 More bustage fix, sigh 2010-03-09 15:38:41 -08:00
Jeff Walden 425dc3f000 Fix up some class names in comments, r=sparky 2010-03-09 15:23:53 -08:00
Jeff Walden 430bcd70ee Bustage fix, r=redness 2010-03-09 15:07:38 -08:00
Jeff Walden adf0fee09b Bug 538690 - js::AutoValueVector for auto-managed rooting and storage of an indefinite number of jsvals. r=igor 2010-03-01 14:46:15 -08:00
Blake Kaplan 52d8139de2 Bug 515496 - Eliminate extra security check when computing this. r=jorendorff. 2010-02-11 17:04:42 -08:00
Jeff Walden 4509038fa5 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Brendan Eich e59a6087bf Remove excessive braces; nuke else after return. 2010-03-09 14:29:50 -08:00
Boris Zbarsky bead9e13c5 Bug 551118. Reuse string-to-number code and fix bug with negative hex in strings being treated as a negative integer. r=brendan 2010-03-09 17:21:32 -05:00
Chris Leary bdc294e14d Bug 550643 - Minor improvements to parsemark.py. r=jorendorff. 2010-03-08 18:22:44 -06:00
David Anderson 5a9c372534 Trace recursion when the return keyword is omitted (bug 530900, r=gal). 2010-03-08 10:28:08 -08:00
Nicholas Nethercote 7c0b1daf1b Bug 550796 - TM: remove dead ImportGlobalSlotVisitor class. r=lw. 2010-03-08 16:11:59 +11:00
Nicholas Nethercote 49255320b6 Bug 550654 - TM: removed dead 'inner_sp_ins' variable. r=dvander. 2010-03-08 08:09:35 +11:00
Luke Wagner f5f31d7ca0 Comparison operator for HashTable Ptr (no bug)
--HG--
extra : rebase_source : 2d64c307f6a524066d0a4cb66c66a5b4cd48d83d
2010-03-05 11:55:42 -08:00
Chris Leary 13458bfacb Bug 548621 - Create suite of tests for JS parsing speed. r=jorendorff. 2010-03-05 16:47:24 -06:00
Chris Leary ec28434682 Bug 549971 - Add compile() function to JS shell. r=jorendorff. 2010-03-05 16:42:06 -06:00
Jason Orendorff 43bec37956 In case of OOM in DEBUG build, don't crash. No bug, rs=jwalden via IRC.
--HG--
extra : rebase_source : c08508a93d1c1a98606dc1c7c8d9c08c57e17cad
2010-03-05 16:29:44 -06:00
David Mandelin 00b3fd3409 Bug 549509: jsval representation profiling, r=lw
--HG--
extra : rebase_source : e0e6c19db20d2e469066b5f9433c96c05bbff1c1
2010-03-05 11:45:28 -08:00
Jason Orendorff 42c786e298 New test for long-fixed bug 500528. We were about to re-introduce it in bug 497789! r=test coverage is good. See bug 497789 comments 78-79. 2010-03-05 09:05:12 -06:00
Igor Bukanov 382035ba66 bug 549010 - folowup to replace PROTO access macros with the inlne function 2010-03-04 23:52:52 -08:00
Luke Wagner c1e0163b6c Silence MSVC warning about no default assignment operator (r=me) 2010-03-04 23:30:28 -08:00
Mike Moening 9cab0c75a6 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
David Mandelin 73aa8d23f6 Bug 550352: make check-string-tagcloud more robust, r=lw 2010-03-04 17:03:53 -08:00
Luke Wagner 6f2d7df0a0 Bug 543057 - Drop the Script object (r=brendan) 2010-03-04 00:33:57 -08:00
Luke Wagner 6ee558a163 Loosen check-math-partial-sums for floating error (r=dmandelin) 2010-03-04 16:32:06 -08:00
David Mandelin f31ff58b3a No bug: refresh JS_OPMETER feature, no_r=me 2010-03-04 15:22:07 -08:00
David Mandelin 8befd2ecbb Bug 549503: more SunSpider verification tests, r=dvander
--HG--
extra : rebase_source : 15ebc76e6de2c982ca77bb6a271f691ddc8559a8
2010-03-01 17:40:01 -08:00
Brendan Eich ffafb514ed Fix dictionary-mode scope property node alloc to happen inside rt->gcLock (538307, r=jorendorff). 2010-03-03 17:14:20 -08:00
Brendan Eich bf5b082e09 Fix latent bug, exposed by fix for 549617, where JS_EvaluateUCInStackFrame looks like eval and confuses the compiler into writing into the empty script singleton-const (550045, r=mrbkap). 2010-03-03 16:43:17 -08:00
Brendan Eich ec8581732d Fix CallPropertyOp to cope with non-int arguments id (549951, r=mrbkap). 2010-03-03 14:44:03 -08:00
Luke Wagner fe60436390 Bug 515812 - Fix Range assignment (r=me) 2010-03-03 09:26:04 -08:00
Brendan Eich 24efecca53 Typo'ed testname in jstests.list for 549617. 2010-03-02 17:48:00 -08:00
Brendan Eich 7716ededf2 Bug 549617 - JS_EvaluateUCInStackFrame doesn't see variables in flat closure (r=mrbkap). 2010-03-02 17:30:54 -08:00
Jeff Walden 0dea5494a3 Bug 547087 - JS_EnumerateStandardClasses uses non-configurable, not non-configurable/non-writable, as attributes for global.undefined. r=jorendorff 2010-02-18 19:51:57 -08:00
Ginn Chen 9e39655fed Bug 555669 CTypes.cpp failed to compile on Solaris r=sayrer 2010-03-30 14:29:59 +08:00
Dan Witte c5e94efd8d Bug 552525 - Get rid of container classes with static functions in CTypes.h/cpp. r=benjamn 2010-03-29 09:38:27 -07:00
Josh Matthews e633660798 Bug 552999 - Implement PointerType().prototype.isNull. r=dwitte 2010-03-26 17:27:28 +13:00
Dan Witte e7509c62c5 Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 3: Add closures for callback
support. r=benjamn
2010-03-29 09:38:17 -07:00
Dan Witte be6e94b3ab Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 2.1: Use
js_NewArrayObjectWithCapacity. r=benjamn
2010-03-29 09:38:17 -07:00
Dan Witte 2aba325f8b Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 2: Rename Function to
FunctionType, with all the privileges and responsibilities therein. r=benjamn
2010-03-29 09:38:16 -07:00
Ginn Chen 19d468bb29 Bug 543709 trace-test/tests/basic/bug529130.js failed with debug version on Solaris r=jimb 2010-03-29 17:27:51 +08:00
Ms2ger 2c18ff413d Bug 553804: s/MoMo/MoFo/ in license blocks. r=gerv 2010-03-28 11:52:43 -04:00
Boris Zbarsky 3b86a2a5d1 Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff 2010-03-10 12:12:43 -05:00
Robert Sayre 66f3f0f7a3 Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Ted Mielczarek 1c22dc06a5 bug 554364 - use -fomit-frame-pointer on Linux. r=jimb
--HG--
extra : rebase_source : bd10a4c633d32c100ce24613d28a43feac78a816
2010-03-26 14:23:48 -04:00
Dão Gottwald fcb45e7f9a Backed out changeset 5c7b969a71fa 2010-03-26 10:25:39 +01:00
Mike Hommey ad06a208c7 Bug 541774 - idl-parser cache and compiled python files are not cleaned up by make clean. r=ted
--HG--
extra : rebase_source : 6077c7c1c5231be938d772b04cd0acabd054f083
2010-03-26 09:26:39 +01:00
Dan Witte 373fc7b896 Add msvcc.sh changes to libffi.patch. No bug. 2010-03-25 16:42:20 -07:00
Dan Witte 82429341ad Bug 550982 - Fix REFERENT slot not to keep more objects alive than necessary. r=benjamn 2010-03-25 15:00:58 -07:00
Dan Witte 66eb3c1d32 Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 1: Move Function implementation
from Function.{h,cpp} into CTypes.{h,cpp}. r=benjamn
2010-03-25 15:00:42 -07:00
Dan Witte d29b14cde7 Bug 513788 - Revise js-facing API for js-ctypes. Followup to give CType and CData a better prototype
hierarchy. r=jorendorff
2010-03-25 15:00:23 -07:00
Brendan Eich 88364a23e9 Disable partial flat closures pending scope chain reconstruction on trace (554572, r=jorendorff; CLOSED TREE push ok'ed by sayrer). 2010-03-24 13:26:28 -07:00
Jeff Walden 3b2eafa186 Bug 484508 - Support imacro groups corresponding to non-contiguous opcodes. r=brendan 2009-12-31 14:05:54 -06:00
David Anderson 6c48b4560c Removed initializing inparam from TraceRecorder::set. (bug 549727, r=luke) 2010-03-02 14:04:50 -08:00
Luke Wagner 5b5fa0e2d3 540706 - Small record_EnterFrame simplification (r=dvander) 2010-03-02 12:56:48 -08:00
Brendan Eich 0350b3b5f4 Bug 549531 - fix strict aliasing warnings about scopeChain (also clean trailing whitespace; r=dmandelin). 2010-03-02 11:03:04 -08:00
Nicholas Nethercote ecf1dcc241 Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Nicholas Nethercote 380c80bfcb Update nanojit-import-rev stamp. 2010-03-02 12:50:19 +11:00
Nicholas Nethercote 2709dc1edc Bug 545274 - nanojit: start adding alias info to loads/stores/calls. r=rreitmai.
--HG--
extra : convert_revision : 4adbf1bbb16cf4751b46a49a4f9c474c0ab0a3b9
2010-03-02 12:43:20 +11:00
Nicholas Nethercote a9bf220597 Bustage fix for Windows. No bug, r=me.
--HG--
extra : convert_revision : 4901be8fd3260bb90b90fda989f624cda7401032
2010-03-02 11:18:48 +11:00
Blake Kaplan 5403745994 Bug 542864 - Convert the right variable to an id. r=jorendorff 2010-02-26 17:06:23 -08:00
Andreas Gal 4b7c35b234 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Jason Orendorff 8167bb1a7c Bug 548276 - "Assertion failure: HAS_FUNCTION_CLASS(funobj), at ../jsdbgapi.cpp". r=jwalden. 2010-03-01 11:07:40 -06:00
Nicholas Nethercote 78c1268189 Update nanojit-import-rev stamp. 2010-03-01 15:02:36 +11:00
Nicholas Nethercote 42d9dea463 Bug 535705 - nanojit: finish regstate update fixes for i386. r=edwsmith.
--HG--
extra : convert_revision : 05949faa5b451d5452c9b5eb95296a53b555dda1
2010-03-01 14:57:19 +11:00