Commit Graph

6988 Commits

Author SHA1 Message Date
David Mandelin
e9f1ec6c0c No bug, fix build bustage from 40c4ec17770d, no_r=me 2010-02-19 14:06:18 -08:00
Igor Bukanov
eef84ebc59 bug 545529 - followup to remove the cache stats output in the normal build 2010-02-19 23:58:31 +03:00
Jason Orendorff
68642d97db Bug 547274 - js_InitArrayClass is not thread-safe. r=brendan.
--HG--
extra : rebase_source : 4b9ca0af846d7b77601ebbbf642941ffd136c9c8
2010-02-19 13:05:00 -06:00
Luke Wagner
9c1074603c Bug 515812 - fix hash table constiness (r=dvander) 2010-02-19 10:02:16 -08:00
Brendan Eich
ce5b37f4ed Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (546069, r=jorendorff). 2010-02-19 11:27:35 -08:00
Brendan Eich
aaff05c150 Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (543436, r=jorendorff). 2010-02-19 11:21:19 -08:00
Blake Kaplan
d2eb7efd7b No bug. Make this constructor protected instead of private so that subclasses can access it. r=luke 2010-02-19 11:03:18 -08:00
Jason Orendorff
2809d3e792 Bug 547067 - Don't overload test() in JSDefinition. r=brendan. 2010-02-19 12:14:36 -06:00
Jason Orendorff
4d96795a35 Fix typo in patch for bug 545529 to fix non-JS_THREADSAFE DEBUG builds. r=bz on IRC. 2010-02-19 12:25:37 -06:00
Igor Bukanov
debaa592f7 bug 545529 - caching Class.prototype lookups. r=brendan 2010-02-19 20:44:23 +03:00
Nicholas Nethercote
2631a1b7cf Bug 539874 - nanojit: remove LIR_ov (TM-specific part). r=gal. 2010-02-19 15:12:37 +11:00
Nicholas Nethercote
f6908e48c7 Update nanojit-import-rev stamp. 2010-02-19 15:09:42 +11:00
Nicholas Nethercote
a361abc6fa Bug 539874 - nanojit: remove LIR_ov. r=edwsmith, Jacob.Bramley.
--HG--
extra : convert_revision : eb5f9b4138530e15b3ffd478071bf98bb7495405
2010-02-19 15:04:55 +11:00
Nicholas Nethercote
22610a9675 Temporarily disable an assertion; bug 547063 has details. r=me.
--HG--
extra : convert_revision : 0eb90b867a1cb9f998cdeaa9b67c984374f8fdb9
2010-02-19 08:41:14 +11:00
Steven Johnson
b965c79326 Bug 546765 - njcpudetect.h needs love for OSX-on-ARM (r=nnethercote)
--HG--
extra : convert_revision : c58036240635ccce9d084c94c6f2aa23be32602d
2010-02-17 16:19:53 -08:00
Nicholas Nethercote
33d5dd6013 Follow-up for bug 542133: fix ARMv5 bustage
--HG--
extra : convert_revision : 5a37374d04fea35b0167d057310aee6d3cadca16
2010-02-17 14:53:33 +11:00
Brendan Eich
c4b4c765a4 Fix funarg analysis to cope with escaping kids of a named function expression that use that lambda by name (545980, r=jorendorff). 2010-02-18 16:32:15 -08:00
Jason Orendorff
4fb42b4c2a Bug 546615 - Crash [@ BindNameToSlot] or "Assertion failure: cg->staticLevel >= level, at ../jsemit.cpp". r=brendan. 2010-02-18 16:01:25 -06:00
Gregor Wagner
dc4711d401 BUG 545303: TM: non API function for JS_CallTracer r=igor 2010-02-18 13:16:02 -08:00
Luke Wagner
a65ea12a40 Bug 546545 - don't trace slow natives with fun->u.n.extra > 0 (r=dvander) 2010-02-17 14:19:43 -08:00
Nicholas Nethercote
4cda0a88e8 Temporarily comment out assertion that is failing bogusly to fix WinMo builds; will be overwritten by the next NJ-to-TM merge, so we need to fix MSVC's compile-time ARM arch detection in the meantime. r=me. 2010-02-18 10:41:48 +11:00
Luke Wagner
6cc06f3b7b Bug 546668 - obj_eval should still call js_GetScriptedCaller (r=mrbkap) 2010-02-17 11:16:11 -08:00
Luke Wagner
fc7cbdfdc8 Make HashMap::put overwrite (r=jorendorff) 2010-02-17 10:47:26 -08:00
Nicholas Nethercote
dd646b8dc5 Update nanojit-import-rev stamp. 2010-02-17 13:42:07 +11:00
Nicholas Nethercote
ddcc50350c Follow-up for bug 542133: fix ARM bustage.
--HG--
extra : convert_revision : c3de98b9ee6eb052f7fda330172cc740f941605c
2010-02-17 13:36:29 +11:00
Steven Johnson
eecc554117 change 71a045ccce43 inadvertently backed out change b8f64e82da3f; this restores the latter (r=stejohns)
--HG--
extra : convert_revision : 2fbb1bbebee5e0872ea3d485a40d7f71f785f319
2010-02-16 11:59:55 -08:00
Steven Johnson
ea07a846cc fix unreachable-code warning for LIR_div/LIR_mod on non-x86 platforms (r=stejohns)
--HG--
extra : convert_revision : f1d89a6a410719c5d7563ff5ca214c05c7c128a2
2010-02-16 11:21:52 -08:00
Luke Wagner
df420a425b Bug 542797 - change obj_eval from JSNative to JSFastNative (r=mrbkap)
--HG--
extra : rebase_source : 5138b86418081cfa331b05947e5988c1f81065ef
2010-02-16 17:41:39 -08:00
Luke Wagner
87a5e61db3 Bug 546491 - fix tracevis (r=jorendorff) 2010-02-16 13:41:40 -08:00
Nicholas Nethercote
17ec73c38c Follow-up for bug 542133: include njconfig.cpp in TM lirasm builds. r=me. 2010-02-17 08:56:13 +11:00
Nicholas Nethercote
fbc5612f2e Bug 542133 - Add a real NJConfig struct to nanojit (TM-specific part). code=stejohns, r=nnethercote. 2010-02-16 15:07:14 +11:00
Nicholas Nethercote
c4144cff0a Update nanojit-import-rev stamp. 2010-02-16 15:00:24 +11:00
Steven Johnson
894487e422 Bug 542133 - Add a real NJConfig struct to nanojit (r=edwsmith,r=nnethercote)
--HG--
extra : convert_revision : 353c06e32329377cc9ed5f66eeb6bcaf72ff3aea
2010-02-15 17:56:41 -08:00
Nicholas Nethercote
e89632b2a1 Bug 546171 - lirasm: move VerboseWriter to the end of the pipeline. r=stejohns.
--HG--
extra : convert_revision : 49a15d14c359d9fe889d47d2fd8457b06af4bc2c
2010-02-16 12:21:13 +11:00
Luke Wagner
f7128a84c8 Fix warnings, HashTable::sSizeLimit, tl::NBitMask (r=njn) 2010-02-15 16:07:57 -08:00
Nicholas Nethercote
421014034c merge 2010-02-15 17:29:18 +11:00
Nicholas Nethercote
b6f1f05d74 Backed out changeset 3c673457c90b for bug 507089 due to mysterious Windows bustage. 2010-02-15 17:28:56 +11:00
Nicholas Nethercote
ca6e184a43 Update nanojit-import-rev stamp. 2010-02-15 17:25:48 +11:00
Nicholas Nethercote
78e2d52f98 merge
--HG--
extra : convert_revision : 035a5165bc8bbf7940415d4802bf9b14d1226740
2010-02-15 17:24:21 +11:00
Nicholas Nethercote
52ac8a6adb Minor follow-up for bug 542326: fix a miscategorized case label. r=me.
--HG--
extra : convert_revision : ac0fcaac8b166a1507e2902eefb755f806703872
2010-02-15 12:24:13 +11:00
Nicholas Nethercote
b6ccdddb0c Whitespace-only changes to trigger a rebuild. 2010-02-15 15:18:37 +11:00
Nicholas Nethercote
3489265cdf Bug 507089 - TM/nanojit: introduce get/set methods for CallInfo::_argtypes (TM-specific part). r=jorendorff. 2010-02-15 11:12:08 +11:00
Nicholas Nethercote
f9ed876d37 Update nanojit-import-rev stamp. 2010-02-15 11:07:00 +11:00
Nicholas Nethercote
66b0d6df6b Bug 507089 - TM/nanojit: introduce get/set methods for CallInfo::_argtypes. r=edwsmith.
--HG--
extra : convert_revision : 8075a19e11565e6de5f33ed829fe435e47e116ca
2010-02-15 11:01:04 +11:00
Luke Wagner
3fe7890b44 Remove JS_CEILING_LOG2 from HashTable::init() 2010-02-13 12:02:12 -08:00
Luke Wagner
f8096c6b67 Try 784ceadd60e5 again with more #pragma optimize("", off) 2010-02-06 10:14:05 -08:00
Nicholas Nethercote
84b6acf958 Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them (TM-specific part). r=stejohns. 2010-02-12 12:41:50 +11:00
Nicholas Nethercote
e12b5b2d0b Update nanojit-import-rev stamp. 2010-02-12 12:36:52 +11:00
Nicholas Nethercote
2481388fac Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them. r=stejohns,edwsmith.
--HG--
extra : convert_revision : 990d84e8d841139009cb2728297d81e8fc4aad27
2010-02-12 12:30:16 +11:00
Rick Reitmaier
791422e319 Bug 545113 - Compiling for MIPS fails during linking (r+rreitmai) [c.dearman]
Compiling tamarin-redux for MIPS fails during linking with the following error:

./libavmplus.a(Assembler.o): In function
`nanojit::Assembler::gen(nanojit::LirFilter*)':
Assembler.cpp:(.text+0x4e14): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'
Assembler.cpp:(.text+0x4e1c): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'

--HG--
extra : convert_revision : 63fda420c52dbe5b328e978ebe50c297ff2cb729
2010-02-11 15:52:18 -08:00
Brendan Eich
b83b1b23c3 Fix two subtle bugs to-do with partial flat closures (545573, r=jorendorff). 2010-02-11 14:56:59 -08:00
Jason Orendorff
095bd890ef Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Brendan Eich
83e657d499 Fix orange in wake of patch for bug 542002. 2010-02-10 18:58:49 -08:00
Nicholas Nethercote
0f6e815ee6 merge 2010-02-11 11:44:38 +11:00
Nicholas Nethercote
4f4d8ad70e Bug 543401 - nanojit: merge SoftFloatFilter implementations (TM-specific part). r=gal. 2010-02-11 11:16:50 +11:00
Nicholas Nethercote
dded46e8aa Update nanojit-import-rev stamp. 2010-02-11 11:15:20 +11:00
Jeff Walden
b7423ebf62 Bug 545275 - Remove JS_HAS_FILE_OBJECT support as it's rather broken (and unlikely to be fixed soon) and the presented API isn't very good. r=mrbkap 2010-02-09 17:27:02 -08:00
Brendan Eich
c9fed979f6 Bug 542002 - Optimize to flat closures even if some upvars can't be copied (r=jorendorff). 2010-02-10 15:17:52 -08:00
David Anderson
07131ff6a6 Changed --enable-jit to --enable-tracejit (bug 545245, r=sayrer). 2010-02-09 16:48:56 -08:00
Robert Sayre
f146d11898 Merge mozilla-central to tracemonkey. 2010-02-09 13:08:35 -05:00
Bob Clary
7e34ae5af7 bug 528404 - disable e4x/XML/regress-324688.js due to random time outs, r=sayrer. 2010-02-09 09:19:58 -08:00
Robert Sayre
8f7df8dabc Add test for bug 470795. 2010-02-09 11:15:19 -05:00
Boris Zbarsky
db71c4ce64 Bug 538663 followup. Don't rely on having python 2.5. r=jorendorff 2010-02-08 15:53:32 -05:00
Luke Wagner
fda9474440 Backout 784ceadd60e5 until PGO stops crashing 2010-02-08 10:28:07 -08:00
Leon Sha<leon.sha@sun.com>
65b4deca58 Bug 544422 - [Nanojit] Implement asm_f2i on sparc. r=stejohns
--HG--
extra : convert_revision : 4849b094bea2e2ff58c86ca09ef4a8f652777594
2010-02-08 15:34:55 +08:00
Leon Sha<leon.sha@sun.com>
ca782981e4 Bug 544445 - [Nanojit] Increase NJ_MAX_STACK_ENTRY for sparc to 8192. r=stejohns.
--HG--
extra : convert_revision : d04830e99d19b0e5fc182404b35393430daaa4b2
2010-02-08 15:07:53 +08:00
Luke Wagner
1dec67cbc6 Attempt to prevent MSVC ICE during PGO
--HG--
extra : rebase_source : 1d3e37dd1b029bd4161a71ff7ee09097af31406a
2010-02-07 20:57:30 -08:00
Leon Sha
93f678b877 Bug 544447 - [Nanojit] ./bin/lirasm crash on Solaris x86 compile with Sun Studio 12u1. r=stejohns
--HG--
extra : convert_revision : 00e2b79d00023633f87d862f2bdbbebc2e72789c
2010-02-08 12:42:53 +08:00
Nicholas Nethercote
47eb9083c4 Bug 543401 - nanojit: merge SoftFloatFilter implementations. r=gal,stejohns.
--HG--
extra : convert_revision : 485ae0bec97b3ec9c55ac943f81a2992c8153549
2010-02-08 08:35:35 +11:00
Nicholas Nethercote
87ea71a72d Bug 543144 - Typechecker causes assertions in softfloat. r=stejohns,dschaffe.
--HG--
extra : convert_revision : 7d2cd297ad03f3a9d1d7722027dbb1284dd49add
2010-02-06 02:14:48 +11:00
Leon Sha<leon.sha@sun.com>
4d134396af Bug 544178 - [Nanojit] Assembler code for LIR_ult is wrong on sparc. r=stejohns
--HG--
extra : convert_revision : 955a870d35fa8ef0c3d4413f7e7831c38cfa5329
2010-02-05 09:42:57 +08:00
Jeff Walden
b41ff2aa66 Bug 521456 - Propagate the callness of eval while decompiling, so that a NewExpression containing an eval() is properly parenthesized. r=mrbkap 2010-01-08 17:25:09 -06:00
Robert Sayre
7ce34023fa Try to fix js1_8_5/extensions/ jsreftest directory. see bug 544757. 2010-02-07 10:44:15 -05:00
Igor Bukanov
c92f45948f bug 544656 - fixing keepAtoms warning with GCC. r=brendan 2010-02-07 11:22:45 +03:00
Luke Wagner
3b828cd733 Fix &va_list on x86-64, quiet warning 2010-02-06 21:28:18 -08:00
Luke Wagner
fbab1d732f Fix opt test bustage
--HG--
extra : rebase_source : 232d3e154a7c2d5fc0cc31cde68cf58657c9cea4
2010-02-06 15:25:38 -08:00
Igor Bukanov
867329ad29 bug 530157 and bug 544603 - disabling for now tests based on the GC timing. The background GC thread made that unreliable. 2010-02-07 00:25:42 +03:00
Luke Wagner
9dabae3069 Bug 542091 - remove JS_PushArguments[VA] (r=mrbkap,dveditz) 2010-02-06 12:26:24 -08:00
Luke Wagner
22b7692a6a Bug 515812 - Double hashing template (r=jorendorff) 2010-02-06 10:14:05 -08:00
Jason Orendorff
ec026e759a In the JS shell, evalcx() sandboxes should have JSCLASS_GLOBAL_FLAGS. This permits the JIT to run. No bug, r=mrbkap on IRC.
--HG--
extra : rebase_source : 87b5b6ee78edf9b5034d9fa079e7976ba3660c98
2010-02-05 17:10:41 -06:00
David Anderson
611cf1768b Fixed tracker usage not protecting against certain state changes (bug 541830, r=lw). 2010-02-05 13:28:50 -08:00
Brendan Eich
1f15a43bd7 Fix property cache hit guarding to-do with the global object (544161, r=jorendorff). 2010-02-05 11:46:57 -08:00
Igor Bukanov
ce244f8dac bug 543839 - followup to skip the test if evalcx is not available. This should fix jsreftest orange 2010-02-05 19:14:08 +03:00
Robert Sayre
8fe9c66c7f Merge. 2010-02-05 10:54:18 -05:00
Robert Sayre
29798de341 Merge mozilla-central to tracemonkey. 2010-02-05 10:53:48 -05:00
Igor Bukanov
75a3004377 bug 543839 - js_NonEmptyObject must lock the object. r=jorendorf 2010-02-05 10:41:54 +03:00
Vladimir Vukicevic
7a0ca93c3b add missing js1_8_5 to Makefile.in; r=orange 2010-02-04 18:36:39 -08:00
Nicholas Nethercote
ccbdfa7a38 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote. 2010-02-05 12:40:04 +11:00
Nicholas Nethercote
ca8aedb65e merge 2010-02-05 11:56:33 +11:00
Nicholas Nethercote
90d8abf497 Update nanojit-import-rev stamp. 2010-02-05 11:44:31 +11:00
Vladimir Vukicevic
b363012434 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 2, tracing; r=gal 2010-02-04 16:36:33 -08:00
Vladimir Vukicevic
df2ba5c148 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 1; r=jorendorff 2010-02-04 16:33:40 -08:00
Vladimir Vukicevic
4c567b99e0 no bug; tests/js1_8_5 is not listed in tests/jstests.list; r=dmandelin 2010-02-04 15:49:30 -08:00
Vladimir Vukicevic
c33756956c b=542402; add FLOAT64 to typed arrays; r=jorendorff 2010-02-04 15:31:40 -08:00
David Mandelin
7696840b5d Bug 544128: windows compatibility for shell JSTest harness, r=dvander 2010-02-04 14:41:50 -08:00
David Mandelin
61112f8395 No bug: fix visibility warnings in GCC, no_r=me 2010-02-04 11:29:53 -08:00
Walter Meinl
f2a4f4176b Bug 536451 - OS/2 cannot handle mozsqlite3.dll. r=ted
--HG--
extra : rebase_source : c1a6deb7130b1142ca58dad88a34ecdcda75a378
2010-02-04 15:51:02 +01:00
Nicholas Nethercote
3258b3f519 Bug 543384 - Multi-line assertion that makes jsfunfuzz sad. r=jruderman.
--HG--
extra : convert_revision : 42624af8095495e387d20c7e474dcc602694b300
2010-02-04 10:26:47 +11:00
Nicholas Nethercote
070c1a17f4 No bug. Add missing case in switch to fix compiler warning. r=me.
--HG--
extra : convert_revision : f8bd54f28d02464ff69422477e9139dfaa0d85ae
2010-02-04 10:22:41 +11:00
Boris Zbarsky
870b21a0c8 Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff 2010-02-03 16:14:14 -05:00