Uli Link
c658bf1ad6
Bug 501881 Implement 64-bit-safe AIX version of NativeCompareAndSwap r=wtc,jimb a=meter
2010-04-25 12:09:38 +01:00
Igor Bukanov
45a0a3043e
bug 560471 - followup to fix restoration of weak roots
2010-04-24 20:35:50 +02:00
Robert Sayre
27452b9484
Bug 560650 - TM: json code should use JS_Enumerate. r=gal
2010-04-24 14:18:10 -04:00
Robert Sayre
0f0d2ffdf7
Merge mozilla-central to tracemonkey.
2010-04-24 12:56:26 -04:00
Robert Sayre
28b49c1237
Someone should teach me to write JavaScript. Really fix busted test from Bug 558830 - Trace script getters.
2010-04-24 12:09:16 -04:00
Robert Sayre
784972fd0a
Fix busted test from Bug 558830 - Trace script getters.
2010-04-24 11:55:10 -04:00
Andreas Gal
3b9cb33abc
Merge.
2010-04-23 20:49:28 -07:00
Andreas Gal
df7122d975
backing out clean up bug 560167 due to massive conflicts with the iterator patch
2010-04-23 20:49:06 -07:00
Igor Bukanov
d14ffdc7bb
bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff
2010-04-24 00:15:42 +02:00
Jason Orendorff
d51bc30112
Disable jsreftest js1_5_8/extensions/worker-fib.js which randomly hangs in the browser. r=sayrer.
2010-04-23 13:30:20 -05:00
Jason Orendorff
374c216eaf
Merge.
2010-04-23 13:20:23 -05:00
Chris Leary
a45026d2f5
Bug 558971 - Parser arena allocation overhead is too high. r=sayrer/shaver
2010-04-23 08:40:57 -04:00
Robert Sayre
9d1f00ac50
Merge
2010-04-23 08:31:07 -04:00
Robert Sayre
3b5eb1cf6b
Backed out changeset 1af19eedbde2 -- Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-23 08:30:35 -04:00
Igor Bukanov
8a04b0f372
bug 559141 - replacing GC chunk doubly linked list with js::vector. r=gal
2010-04-23 08:58:44 +02:00
Brian Crowder
cdec52dab6
Bug 560769 - fixing badness accessing /proc/self/auxv under qemu, r=vlad, a=dholbert
2010-04-23 12:58:38 -07:00
Brendan Eich
86d3fb47ad
Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-22 19:03:45 -07:00
Brendan Eich
298a4cad15
Tweak to align comment.
2010-04-22 17:45:49 -07:00
Nicholas Nethercote
ae33f2eadd
merge
2010-04-22 16:38:46 -07:00
Nicholas Nethercote
a46ca032d4
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject. r=brendan.
2010-04-22 16:37:41 -07:00
David Mandelin
966e6ad195
Bug 554224: Normalize paths so regress-50447-1 works on Windows, r=waldo
...
--HG--
extra : rebase_source : d4a5fe9e6f01cb48c3c89bc1ab8f692d44e18eb2
2010-04-22 16:14:57 -07:00
Jeff Walden
83733065a4
Oops, previous changeset 350ed77bf399 to fix bug 463360 was a patch by Rasmus Jensen.
2010-04-22 15:59:09 -07:00
Jeff Walden
099b68ff0e
Bug 463360 - Uneval then eval E4X with { gives error. r=jwalden
2010-04-22 15:15:55 -07:00
Jason Orendorff
6b63be3117
Bug 558830 - Trace script getters. r=brendan.
...
--HG--
extra : rebase_source : 240b5a7248165aefdc9527abc94902afe4b510e0
2010-04-22 17:10:38 -05:00
Jason Orendorff
a0222dfbf2
Bug 561031 - Treat JSOP_FILTER as a jump. r=brendan.
...
--HG--
extra : rebase_source : 9b8430b57cbe41407709dc6ffa244a81a112878d
2010-04-22 14:53:26 -05:00
David Anderson
ab155f0037
Renamed InterpState to TracerState (bug 560988, r=luke).
2010-04-22 11:54:11 -07:00
Jason Orendorff
bb10846365
Merge.
2010-04-22 09:22:20 -05:00
Igor Bukanov
e2ca45751b
bug 507904 - removal of bogus assert in the watchpoint implementation. r=brendan
2010-04-22 15:23:57 +02:00
Jason Orendorff
b09c08d4fc
Bug 553671 part 12 - Handle GC_KEEP_ATOMS more directly. r=brendan.
...
--HG--
extra : rebase_source : 8540b1e79bf1c187e59cadd7cced1b2e16b8d31d
2010-04-22 07:38:05 -05:00
Jason Orendorff
9f2ca7c221
Bug 553671 part 11 - Refactor GCTIMER to disrupt the flow of js_GC less. r=luke.
...
--HG--
extra : rebase_source : 2e407cc3bd6798e15c42b25f744fd1d0b6146046
2010-04-22 07:35:21 -05:00
Jason Orendorff
e3724fb9c0
Bug 553671 part 10 - Get rid of "goto restart_at_beginning;". r=luke.
...
--HG--
extra : rebase_source : 9d0128640af7d366133d59fed9c21160078ba5ca
2010-04-22 07:34:28 -05:00
Jason Orendorff
ac7bf3b598
Bug 553671 part 9 - Extract ProcessAllSetSlotRequests from js_GC. r=Waldo.
...
--HG--
extra : rebase_source : 920c2465f4a498d679b89811b0969e4cd6674580
2010-04-22 07:32:13 -05:00
Jason Orendorff
e6c90916d4
Bug 553671 part 8 - Reimplement promotion of GC_SET_SLOT_REQUEST to GC_LOCK_HELD and get rid of "goto done_running;". r=brendan.
...
--HG--
extra : rebase_source : ce19741b5ea204b6f11e55e66a47363e9577caf3
2010-04-22 07:31:05 -05:00
Jason Orendorff
9dbcfca307
Bug 553671 part 7 - Extract BeginGCSession and EndGCSession from js_GC. r=brendan.
...
--HG--
extra : rebase_source : dbb134d66d403bf5665b94a5ab03ff86d681fb73
2010-04-22 07:31:00 -05:00
Boris Zbarsky
2beee9dbfb
Bug 557605. Quickstub some XHR things. r=peterv
2010-04-23 13:37:02 -04:00
Robert O'Callahan
75dc672dff
Backed out changeset 7432d20f5b86
2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0
Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst
2010-04-23 14:43:23 +12:00
Wesley W. Garland
d7f9e41759
Bug 560504 - Tweak friend class declaration in jsparse.h to work around compiler bug in Mac OS X Leopard's default compiler. r=jorendorff.
...
--HG--
extra : rebase_source : 164c7d281ec50463f36878e5fe29b30e2ac9e896
2010-04-21 10:54:25 -05:00
Jeff Walden
28d55d50d4
Bug 560566 - "Assertion failure: getter" redefining property that's not the most recent property in an object whose scope is not in dictionary mode, when the original property was a half-accessor with an explicitly undefined absent half, and the new property is also an accessor and does not modify the explicitly undefined half of the original half-accessor. r=dmandelin
2010-04-20 17:52:43 -07:00
Olli Pettay
e160f61e8a
Bug 557757, e10s is burning
2010-04-07 12:26:36 +03:00
Oleg Romashin
8de514e284
Merged with mozilla-central
2010-04-07 06:59:04 -04:00
Ben Newman
86093aaf1c
Bug 554942 - [E10s] Sort out what object TabParent::GetGlobalJSObject should return and how. r=smaug
2010-03-30 21:41:44 -07:00
Ben Newman
2f88529adf
Bug 554829 - Null out mozilla::jsipc::ObjectWrapperParent::mObj in ActorDestroy and CPOW_Finalize. r=smaug
2010-03-30 21:40:58 -07:00
Olli Pettay
b4a11d8557
Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman
2010-03-29 23:29:45 +03:00
Olli Pettay
de7b07408d
backout Bug 554941 again
2010-03-28 20:07:16 +03:00
Olli Pettay
9a1e450904
Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman
2010-03-28 19:02:05 +03:00
Olli Pettay
d0ab5348f1
Backout Bug 554941
2010-03-28 00:58:49 +02:00
Olli Pettay
7dbad85a52
Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman
2010-03-27 18:54:57 +02:00
Doug Turner
c15f159231
merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp.
2010-03-26 14:22:48 -07:00
Ted Mielczarek
1dd4df88b2
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
dd8ac6f428
Backed out changeset 5c7b969a71fa
2010-03-26 10:25:39 +01:00
Mike Hommey
f2a3d7298c
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
15bdb66bdc
Add msvcc.sh changes to libffi.patch. No bug.
2010-03-25 16:42:20 -07:00
Dan Witte
960357ac4e
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
706c0fff00
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
592441a818
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
Michael Wu
08910614d8
Make test_bogus_files.js pass after bug 552121 c666507bf280
2010-06-15 14:09:59 -07:00
Michael Wu
17f4cad812
Bug 552121 - Load js modules and components from the omnijar [7/7], r=bsmedberg
2010-06-15 12:38:46 -07:00
Blake Kaplan
3894ad4702
Bug 565351 - Disallow passing E4X values through SJOWs. r=jst
...
--HG--
extra : rebase_source : 4fa7a248aed479530b76c043b6ea322300740610
2010-06-14 14:30:58 -07:00
Blake Kaplan
323d7745be
Bug 564330 - Throw an exception for real when an E4X object is passed to a variant through a quickstub. r=peterv
...
--HG--
extra : rebase_source : f3ac8865985737756006b6843a5bb455656c07ea
2010-05-13 14:35:01 -07:00
Peter Van der Beken
44957eec6d
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 4 - need different XPCNativeScriptableShareds for CI with different interface bitmaps. r=jst.
2010-06-10 12:22:15 +02:00
Peter Van der Beken
093288d17e
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3b - use fast unwrapping for nsIDOMNodeList_GetLength. r=jst.
2010-05-31 18:39:36 +02:00
Harry Li
de7e090e6f
Bug 571751 - android build broken in jscntxt.cpp, r=gal
...
--HG--
extra : rebase_source : 91a9bf3acf3b21741ed74e7f044d95d3e38d1cfd
2010-06-14 13:33:30 -07:00
Kyle Huey
27bc0ae3e6
Backing out Bug 531886 to fix l10n builds.
2010-06-14 11:16:43 -07:00
Kyle Huey
1fd06013ed
Backed out changeset f7323647892a
2010-06-14 11:14:36 -07:00
Benedict Hsieh
e801a49643
Bug 531886 - [regression] *.mfasl fastload caches not invalidated after build / changing XUL/JS code. r=bsmedberg
2010-06-11 12:02:13 -07:00
Jesse Ruderman
e2812717d4
Disable some misplaced perf tests because they are randomly orange.
2010-06-10 20:33:32 -07:00
Blake Kaplan
d85ecf0625
Fix bug 567069. r=jorendorff/luke
2010-06-10 10:48:59 -07:00
Blake Kaplan
24c04cbd78
Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky
2010-03-22 15:46:37 -07:00
Michael Kohler
9397418412
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Mike Hommey
dce0218e52
Bug 555920 - Move js_obj_define{G,S}etter declarations in jsobj.h and make resolving_MatchEntry static, as it's not defined in any header [r=jwalden]
2010-05-13 09:45:33 +02:00
Mike Hommey
3d0e73c0f1
Bug 555915 - Avoid visibility issues when building xpcshell with libreadline [r=jwalden]
2010-05-13 09:06:13 +02:00
Daniel Holbert
e9dcbfb120
Bug 557566, part 1: Add Makefile-variable FAIL_ON_WARNINGS (and debug-only version FAIL_ON_WARNINGS_DEBUG). r=ted
2010-05-06 11:55:18 -07:00
Serge Gautherie
0d07262f2c
Bug 559498 - configure.in: s/--enable-long-long-warning/--disable-long-long-warning/; (Av1) Just do it, Re-indent++ this block.
...
r=ted.mielczarek.
2010-05-06 18:35:11 +02:00
Robert Sayre
0ebb9c1370
Merge tracemonkey to mozilla-central.
2010-05-06 08:50:41 -04:00
Mike Hommey
ce41784187
Bug 542460 - Remove executable permission on source files [r=ted.mielczarek]
2010-05-06 09:32:50 +02:00
Taras Glek
16c05a23d9
Bug 418866 - Set the proper gcc flags for pgo on Linux [r=ted.mielczarek]
2010-05-06 09:26:05 +02:00
Ginn Chen
9df652824c
Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek
2010-05-06 13:49:27 +08:00
Blake Kaplan
4801a2f799
Bug 560351 - Don't forget to actually throw the exception. r=peterv
...
--HG--
extra : rebase_source : 92f95ae32314cd74975dc2a932f67e617b4a7772
2010-05-05 20:44:30 -07:00
Blake Kaplan
a0ccea7552
Bug 558540 - about:sessionrestore asserts because of the wrong wrapper types. r=jst
...
--HG--
extra : rebase_source : dcf0256b25620953fd3bfefacc56814bbb2d519c
2010-05-05 17:28:58 -07:00
L. David Baron
62aefa3109
Back out temporary debugging code for bug 538462 (changesets 1e383909069b and f5c479a8f631).
2010-05-05 18:20:43 -07:00
L. David Baron
06913598cc
Move temporary debugging code for bug 538462 to where it's more likely to work when we leak the world.
2010-05-05 12:39:44 -07:00
Blake Kaplan
5acba45793
Fix bug 563243. r=jorendorff
...
--HG--
extra : rebase_source : 4d0b7a62b0b1c458e2bb7f109e98da604ecba03a
2010-05-03 15:23:01 -07:00
Nicholas Nethercote
c346baf81a
Bug 562857 - TM: use LIR_d2i instead of js_DoubleToInt32() when possible. r=gal.
2010-05-05 16:50:50 -07:00
Dan Witte
c9d150350d
Fix crash.
2010-05-05 15:57:34 -07:00
Chris Leary
cc14df4238
Bug 563870: Fix dtrace linker error. (r=dvander)
2010-05-05 15:32:47 -07:00
Chris Leary
50beb5729a
Bug 551763: Fix deletion of arguments ident. (r=Waldo)
2010-05-05 15:20:12 -07:00
Chris Leary
a95aefcc00
Bug 556657: Fix test description. (r=Waldo)
2010-05-05 14:04:16 -07:00
Dan Witte
41ff4ffb81
Address review comment from bug 551982. r=benjamn
2010-05-05 12:01:28 -07:00
David Mandelin
ab14aefcb3
Bug 563842: Make PRMJ_Now always high-resolution in Windows shell builds, r=brendan
2010-05-04 18:06:30 -07:00
Luke Wagner
500101d1a4
Bug 563845 - skip jsval-to-jsid conversion when jsval is a jsid (r=igor)
2010-05-04 18:24:13 -07:00
Nicholas Nethercote
f824f9ebe3
Bug 563575 - encapsulate jsobj.cpp dslots accesses. r=brendan.
2010-05-04 20:28:38 -07:00
Jeff Walden
be6a021e8a
Slightly better single-thread fix to parent() in jsshell. r=foopy
2010-05-04 19:50:53 -07:00
Chris Leary
b3500c2d9e
Fix shell build break on non-threadsafe. (r=me)
2010-05-04 19:34:21 -07:00
Jeff Walden
2a594e3393
Fix bustage from not renaming a variable appropriately in a copy-paste. r=red
2010-05-04 18:27:50 -07:00
Jeff Walden
3fa134bbc4
Outerize the results of nsIDOMWindowUtils.getParent and the jsshell's parent() methods. r=orange
...
--HG--
extra : rebase_source : 848ad247e5094b6eb8edce6198bfb1d368c31bc3
2010-05-04 18:02:00 -07:00
Nicholas Nethercote
45f5c025d0
Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan.
2010-05-04 17:29:42 -07:00
Nicholas Nethercote
96dfc02296
Bug 563590 - TM: rename opcodes in jsregexp.cpp, jsrecursion.cpp. r=dvander.
2010-05-04 16:26:18 -07:00
Jeff Walden
2eb97e810d
Bug 552560 - Test fixups/removals since parent() exists only in the shell, not the browser. r=mrbkap
2010-05-04 15:59:20 -07:00
Jason Orendorff
62bf5ca9d8
Bug 563221 - "Assertion failure: ss->top >= nuses," or "Assertion failure: top != 0," with decompiler, if-else chain, and GOTOX. r=brendan.
...
--HG--
extra : rebase_source : b085564d7569fceb144193da4b93054b6ddbdadc
2010-05-04 16:38:47 -05:00
Peter Van der Beken
a64d376e9c
Part 13 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - stop using tearoffs from quickstubs for nsIDOM3Node, nsIDOM3Text, nsIDOMNodeSelector and nsIDOMNSElement. r=jst.
...
--HG--
extra : rebase_source : fbc8a48c0efb5d6700ec981f7d4da3434f306e9d
2010-04-19 17:41:38 +02:00
Peter Van der Beken
02d491203e
Part 12 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - switch default 'canFail' value for custom QS from False to True and allow missing 'code'. r=jst.
...
--HG--
extra : rebase_source : d5d5cd5c863856176b77a82309bb9a029d84b224
2010-04-19 17:41:38 +02:00
Jeff Walden
00f6066393
Bug 552560 - Remove support for __parent__. r=mrbkap
2010-04-11 13:51:00 -07:00
Jeff Walden
aea2277c5b
Fix typo in patch for bug 562193, r=firebot
2010-04-28 15:54:28 -07:00
Jeff Walden
35681447d7
Bug 560566 - Add this particular failure mode to the Object.defineProperty megatests. r=jorendorff
2010-04-22 18:53:54 -07:00
Luke Wagner
4daf5e05b2
Bug 563374 - clear exceptions thrown during js_TraceOpcode (r=igor)
...
--HG--
extra : rebase_source : 24db0cc50d368dc56aa4a44971f56ea0521b6fa9
2010-05-04 10:12:50 -07:00
David Anderson
d1db88e05e
Pretty-up some tcflag use in the parser and emitter (bug 563568, r=cdleary).
2010-05-03 20:53:55 -07:00
Dan Witte
e7cac15e98
Bug 551982 - Generate t.name and t.fields lazily. Part 4: hashify StructType fields. r=benjamn
2010-05-03 16:49:53 -07:00
Dan Witte
7124fa12fa
Bug 551982 - Generate t.name and t.fields lazily. Part 3: lazy ffi_type. r=benjamn
2010-05-03 16:26:50 -07:00
Dan Witte
7e227a70cd
Bug 551982 - Generate t.name and t.fields lazily. Part 2: lazy fields. r=benjamn
2010-05-03 16:26:34 -07:00
Dan Witte
30c5f4ac45
Bug 551982 - Generate t.name and t.fields lazily. Part 1: lazy name. r=benjamn
2010-05-03 16:21:33 -07:00
Dan Witte
70dd2657d6
Bug 560002 - Opaque struct and definition support in ctypes. Part 2: Remove opaque pointers. r=benjamn
2010-05-03 16:20:43 -07:00
Dan Witte
91a57c32a3
Bug 560002 - Opaque struct and definition support in ctypes. Part 1: Opaque structs. r=benjamn
2010-05-03 16:20:05 -07:00
Jason Orendorff
3a2ba42072
Bug 492915 - Trace incelem/decelem/eleminc/elemdec for objects other than arrays. r=brendan.
...
--HG--
extra : rebase_source : 33ab817997096bd4b00c8a36bb0444dcacc58a27
2010-05-03 16:48:06 -05:00
Nicholas Nethercote
67b2684e4d
Bug 562837 - TM: avoid reboxing when copying a double from one array to another. r=brendan.
2010-05-03 15:51:57 -07:00
Jesse Ruderman
21d9a292ac
Bug 563077 - fix handling of tests marked as 'random' so crashes are reported. r=dmandelin
2010-05-03 15:25:57 -07:00
Robert Sayre
1e491a700b
Merge.
2010-05-03 12:32:11 -04:00
Robert Sayre
df21a4aa06
Update dense array cloning with new factoring of getDenseArrayCapacity
2010-05-03 11:19:45 -04:00
Robert Sayre
2a89b5be4f
Merge mozilla-central to tracemonkey.
2010-05-03 11:03:37 -04:00
Nicholas Nethercote
1cd832e8d3
Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan.
2010-05-02 21:42:09 -07:00
Chris Leary
8ad3f63e27
Bug 563259: Fix shark/dtrace enabled combo. (r=me)
2010-05-02 17:14:44 -07:00
Luke Wagner
501ef0e6be
Bug 563167 - propagate error out of Parse (r=cdleary)
2010-05-02 10:24:17 -07:00
Luke Wagner
d57afd3b99
Missed an init() in c6857d0b1e9f
2010-05-01 13:32:10 -07:00
Luke Wagner
e4ed25e94a
Bug 563123 - use js::HashMap for JSCodeGenerator::constList (r=igor)
2010-05-01 12:53:14 -07:00
Luke Wagner
006a3618d0
Bug 563120 - test for failure earlier in js_TestXMLEquality (r=waldo)
2010-05-01 12:43:43 -07:00
Luke Wagner
309fb820c6
Bug 558270 - unroll Duff proper (r=waldo)
2010-04-30 18:48:55 -07:00
Robert Sayre
2420e05a4d
Merge mozilla-central to tracemonkey
2010-04-28 11:11:48 -04:00
Igor Bukanov
fd7877710b
bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan
2010-04-28 14:34:02 +02:00
Ginn Chen
1ffaf7e1a0
Bug 562001 nanojit failed to compile on Solaris x86_64 r=gal
2010-04-28 17:36:04 +08:00
Gary Kwong
92900e0049
Bug 369696 - fix bug number in tests, r=bclary.
2010-04-28 00:00:08 -07:00
Brendan Eich
58024b9de2
Resolve sharpSlots vs. var-in-with grudge match (561011, r=mrbkap).
2010-04-27 21:35:28 -07:00
Brendan Eich
da0855921b
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets, but note second offset is optional (0 if absent; 562028, r=mrbkap).
2010-04-27 21:00:38 -07:00
Brendan Eich
8f2ea46da7
Back out my last commit due to orange.
2010-04-27 20:22:57 -07:00
Nicholas Nethercote
70488c788b
Update nanojit-import-rev stamp.
2010-04-27 19:46:18 -07:00
Nicholas Nethercote
3b86611069
Bug 560712 - nanojit: give immediates names when printing LIR. r=edwsmith.
...
--HG--
extra : convert_revision : 53522168256873ff92a5cf1668d3ef8e65a87f38
2010-04-27 18:40:51 -07:00
Edwin Smith
842b6c912b
Rename LIR opcodes in Nativei386.cpp (bug 559977 r=nnethercote+)
...
--HG--
extra : convert_revision : 62e0adc4d69e1d2246ee9336afd555ee3f6766a0
2010-04-27 20:05:58 -04:00
Brendan Eich
cac58870b8
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets (562028, r=mrbkap).
2010-04-27 19:41:20 -07:00
David Anderson
764d88c18d
Fixed clamping bug in typed arrays (bug 561813, r=vlad).
2010-04-27 19:14:08 -07:00
Nicholas Nethercote
9281bf99d1
Update nanojit-import-rev stamp.
2010-04-27 16:33:36 -07:00
Nicholas Nethercote
42510923d1
Fix ARM bustage caused by bug 555255. r=me.
...
--HG--
extra : convert_revision : fd2a6c5b65a0f4fd4e09fa0366a626e97850f39b
2010-04-27 15:41:17 -07:00
Nicholas Nethercote
03c04769c0
Bug 518267 - nanojit: some instructions not printed with TMFLAGS=assembly. r=edwsmith.
...
--HG--
extra : convert_revision : 118664704b902286b9b21a35e3a998685980066a
2010-04-27 15:31:31 -07:00
Edwin Smith
3394d89548
Rematerialize add(r,imm) operations on x64 and i386 (bug 555255 r=nnethercote+)
...
This patch detects when LEA can be used to rematerialize an add operation
instead of spilling it. Sub and lsh could be supported too, if it would
help (see notes in canRematLEA()).
--HG--
extra : convert_revision : e5db9525afbc8bd03444c66d8ded420f4696dce8
2010-04-27 10:00:27 -04:00
Edwin Smith
583621bba8
Rematerialize ALU+IMM operations on ARM (bug 555255 r=jbramley+)
...
The ARM backend already supported single-instruction folding of immediates into
add/sub/and/or/xor instructions. This patch enables the same instructions to
be rematerialized without spilling them.
--HG--
extra : convert_revision : c5fca9078e37d7d79f66cf6023fcbf707d11d57b
2010-04-27 09:38:27 -04:00
Jason Orendorff
5f8646753d
Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC.
2010-04-27 17:43:20 -05:00
timeless
e191f26d48
Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte
2010-04-27 14:59:53 -07:00
Mike Moening
6531928c72
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-27 14:17:11 -07:00
Jason Orendorff
4dd095ebe7
Fix build breakage in non-threadsafe JS shell. rs=brendan on IRC.
...
--HG--
extra : rebase_source : e4320a71553033d06f5e8ffa62a9798db9bef3e1
2010-04-27 14:40:28 -05:00
Jason Orendorff
79a69bd910
Bug 561444 - "Assertion failure: title->ownercx == cx || title->ownercx->thread == cx->thread, at ../jslock.cpp:1414" with multiple threads. r=igor.
...
--HG--
extra : rebase_source : 6749f4b86999cffc1abdcad79ef45f764ba165c2
2010-04-27 12:29:45 -05:00
timeless@mozdev.org
7a6e1325ab
Bug 560557 - js_SetReservedSlot should assert that the specified slot index is in range. r=jorendorff.
...
--HG--
extra : rebase_source : b13f176270bd3419c253b8745c00a9251f36ab76
2010-04-23 21:32:51 -05:00
Jason Orendorff
d7438ec267
In a trace-test, do not try to print jitstats. no_r=me.
...
--HG--
extra : rebase_source : 6447c98085459bd7fc6b215279a9d5e1870d46ba
2010-04-26 16:28:41 -05:00
timeless@mozdev.org
ca917d7197
Bug 560815 - PRIVATE_TO_JSVAL(NULL) yields warning: NULL used in arithmetic with gcc 4.2.1. r=jorendorff.
...
--HG--
extra : rebase_source : bbbf5e801b7ae5bc0c7c30864e487a03ddcf72fc
2010-04-23 20:17:36 -05:00
Igor Bukanov
63f9c2e3d5
bug 553033 - replacing the background free list with a vector. r=jwalden
2010-04-27 15:46:24 +02:00
Jacob Bramley
1b4d13bc74
Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad]
2010-04-27 08:31:36 +01:00
Jason Orendorff
fe3e820003
Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo).
2010-04-26 22:35:49 -07:00
Nicholas Nethercote
ea19cd5226
Update nanojit-import-rev stamp.
2010-04-26 22:08:05 -07:00
Nicholas Nethercote
756a66a5ce
Follow-up to bug 561182: move CseFilter methods together. r=rreitmai.
...
--HG--
extra : convert_revision : 8632b24edcba6eb08afe5002611fbea782d1f435
2010-04-26 21:59:48 -07:00
Nicholas Nethercote
05c2de7b5b
Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
...
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
069062a9f7
Fixed whitespace drift.
...
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
f4ea1cc587
fix PPC debug-only build breakage
...
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d61f88a164
Bug 560370 - PPC cmov handling logic incorrect (r+edwsmith)
...
On PPC the cmov logic is generating incorrect code due to
instruction and register lifetimes are not being correctly
handled.
This patch mirrors the code used on the x86 which was fixed
a while back to address this issue. See bug 535705
--HG--
extra : convert_revision : 8047bc5db3b14ddc3588378c7f4c6fef76de7d98
2010-04-23 09:24:00 -07:00
Edwin Smith
e927108ae7
Bug 560578 - canRemat() and asm_restore() should agree (r=nnethercote+)
...
Added comments clarifying the contract between canRemat() and asm_restore(),
and fixed the ARM, MIPS, PPC, and Sparc backends so canRemat() doesn't
return true for instructions that asm_restore() doesn't handle.
--HG--
extra : convert_revision : f4d4243db4cf3b8d7149012d5503c5441058f58e
2010-04-23 10:26:12 -04:00
Edwin Smith
3633f63957
Revert rename bustage in NativePPC.cpp (bug 560160 r=me)
...
--HG--
extra : convert_revision : cc043e6b70383762025e239896cbd70d5ece8697
2010-04-22 13:04:24 -04:00
David Anderson
dac6f52234
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:29:49 -07:00
Andreas Gal
3579b2b1fb
Merge.
2010-04-26 19:07:10 -07:00
Andreas Gal
492ea75049
Backed out changeset 35c25547a135 (bug 560358).
2010-04-26 19:06:51 -07:00
Nicholas Nethercote
1e5fc26c40
Bug 560774 - encapsulate array-related dslots accesses. r=brendan.
2010-04-26 18:33:36 -07:00
Dan Witte
fdcf03a939
Backing out due to bustage.
2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-26 14:15:18 -07:00
Jesse Ruderman
b4e32e7695
Bug 561672 - JS_Assert should fflush(stderr). r=shaver
2010-04-26 13:50:56 -07:00
Dan Witte
774f39c786
Bug 561619 - JS CTypes has a build dependency bug. r=sayrer
2010-04-26 13:26:53 -07:00
Luke Wagner
ef023c4ec7
Bug 560798 - propagate errors from deep-aborted natives (r=gal)
2010-04-26 09:30:06 -07:00
Boris Zbarsky
bf168b819d
Bug 556830 followup to fix debug bustage
2010-04-26 11:15:33 -04:00
Boris Zbarsky
f66b8a1342
Bug 556830 part 2. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff
2010-04-26 10:06:30 -04:00
Boris Zbarsky
d319faf7ba
Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff
2010-04-26 10:06:25 -04:00
Ginn Chen
691ed684d6
Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb
2010-04-26 14:17:29 +08:00
Peter Van der Beken
3fcb7546e7
Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
...
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
L. David Baron
cd80341304
Annotate jsreftest manifests with assertion counts. (Bug 472557)
2010-05-04 21:28:18 -07:00
Jason Orendorff
afeaf2a57a
Bug 563735 - Assertion failure: JS_IS_SCOPE_LOCKED(cx, scope) on crashtest machine. r=dvander.
2010-05-04 14:57:27 -05:00
Luke Wagner
c328d111f1
Bug 558446 - Emit concatn properly (r=waldo)
2010-04-09 16:32:02 -07:00
Luke Wagner
d0cd28412f
Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan)
2010-04-30 17:34:54 -07:00
Chris Leary
b141ee8829
Bug 562144: Make DTrace hooks pretty. (r=sayrer)
2010-04-30 17:04:31 -07:00
Brendan Eich
f7d763d4ac
Beware generators when trying to flatten a closure (563034, r=jorendorff).
2010-04-30 16:31:35 -07:00
Brendan Eich
52ed1d8098
Fix getter/setter built-in vs. scripted type confusion: union getter/setter callable object pointer with raw JSPropertyOp pointer, fix watchpoint assertion/null-deref related to ES5's {get: undefined, set: undefined} new scripted getter/setter state encoding, clean up related code (560796, r=jwalden).
2010-04-30 16:03:37 -07:00
Jason Orendorff
44cd0ab6dd
Bug 562909 - testContexts_bug561444 failing, leaving Windows debug tests perma-orange on tracemonkey. r=Waldo.
2010-04-30 17:49:10 -05:00
Andreas Gal
bd82c5611d
remove obsolete JSVAL_ERROR_COOKIE and JSVAL_FAIL (563063, r=dvander).
2010-04-30 15:21:09 -07:00
Andreas Gal
478f54cddf
remove useless date and array trace natives (563055, r=dvander).
2010-04-30 14:59:28 -07:00
Andreas Gal
10a780d223
remove useless obj trace natives (563047, r=dvander).
2010-04-30 14:40:25 -07:00
Jason Orendorff
89f72d0bce
Backed out changeset 73f23528bed6 (bug 559653, again)
2010-04-30 15:12:13 -05:00
Jason Orendorff
d55c165fa7
Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan.
...
--HG--
extra : rebase_source : c6698a313d7d00cd0584e1968d96d4b67ab0373c
2010-04-28 11:12:19 -05:00
Brendan Eich
1de1fd1451
Fix fractured grammar in comment for bug 560234.
2010-04-30 08:50:03 -07:00
Brendan Eich
21abf2ffff
Fix thinko in patch for 560234, caught by jorendorff, all praise to him.
2010-04-30 07:46:31 -07:00
Jason Orendorff
aff223663e
Bug 560998 - Assertion failure: entry->vword.toObject() == JSVAL_TO_OBJECT(v). r=brendan.
2010-04-30 08:29:04 -05:00
Nicholas Nethercote
d8b33d0d5f
Bug 562571 - TM: don't have two bounds checks for array getelem. r=brendan.
2010-04-29 20:22:33 -07:00
Brendan Eich
855cf9ee29
JSOP_NAME inside null closure leads to bogus ReferenceError on trace (560234, r=jorendorff).
2010-04-29 19:04:55 -07:00
Jesse Ruderman
886cefbe65
Update regress-429739.js to reflect the decision in bug 520778, and re-enable the test
2010-04-29 17:25:37 -07:00
Nicholas Nethercote
deb78e392f
Bug 562553 - TM: cache double-to-string conversions to speed up v8-splay.js. r=cdleary.
2010-04-29 17:17:24 -07:00
David Mandelin
bd01579c00
No bug, fixing a new MSVC warnings, no_r=me
2010-04-29 16:31:45 -07:00
Nicholas Nethercote
68c21b35a7
Update nanojit-import-rev stamp.
2010-04-29 16:08:29 -07:00
Edwin Smith
1024e26d57
Bug 559975 - Rename LOpcode enums in NativeX64.cpp (r=nnetercote+)
...
Also includes a few renames of qxor -> xorq from other files.
(qxor was missing from the rename script).
--HG--
extra : convert_revision : b49dd62330e017769dfdea9c87a74698179c7f45
2010-04-29 15:34:40 -04:00
Jason Orendorff
c2217cdb74
Sort trace-tests by name before running them. No bug#, rs=Waldo via IRC.
2010-04-29 09:11:05 -05:00
Ginn Chen
3a939263c2
Update nanojit-import-rev stamp.
2010-04-29 16:01:33 +08:00
Andreas Gal
34d9e4d6c8
fix brace style (Nth follow-up for 560358).
2010-04-28 19:13:03 -07:00
Andreas Gal
d84543bb6b
Merge.
2010-04-28 18:50:17 -07:00
Andreas Gal
7bf56e15a7
Follow-up for 560358, poke the GC when overwriting the value of RegExpStatics.input (fix leak).
2010-04-28 18:49:36 -07:00
Nicholas Nethercote
225ae34fc8
Bug 562251 - JSSLOT_ARRAY_COUNT isn't used for slow arrays. r=brendan.
2010-04-28 18:35:22 -07:00
Andreas Gal
6e29637654
export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me).
2010-04-28 17:17:34 -07:00
Andreas Gal
2173a6b94c
Optimize static RegExp state (560358, r=brendan).
2010-04-28 16:35:12 -07:00
Jeff Walden
6aed9b5ebc
Bug 562193 - Implement Components.utils.getGlobalForObject(obj), as a supported alternative to parent-chain-walking. r=mrbkap
2010-04-28 13:53:01 -07:00
Luke Wagner
3df9b42a3e
Oops, b0f49ebf6325 wants a definition (r=me)
...
--HG--
extra : rebase_source : 069c949e4e236f323c737d15eac2a811677ba58b
2010-04-28 15:23:34 -07:00
Jeff Walden
762bbf4391
Merge.
2010-04-28 15:18:53 -07:00
Jeff Walden
2dabf26a83
Backed out changeset 1da2bbf6cfaf, turned tree red.
2010-04-28 15:18:38 -07:00
Luke Wagner
d80ae03b09
Bug 562470 - Give JSBackgroundTask a virtual destructor (r=me)
2010-04-28 15:06:39 -07:00
Jason Orendorff
c11e7e9863
Silence a compiler warning (in MSVC) about implicitly narrowing jsval to JSBool in JSVAL_IS_INT. Noticed by MikeM. No bug#, rs=Waldo via IRC.
...
--HG--
extra : rebase_source : 8060def41cdbed1c7b80b01da58b00e1967fb3fe
2010-04-28 16:12:15 -05:00
Andreas Gal
6fe4800714
Optimize static RegExp state (560358, r=brendan).
2010-04-28 13:33:21 -07:00
Jason Orendorff
74b496bbe8
Merge backout.
2010-04-28 13:41:43 -05:00
Jason Orendorff
fc386a2ca8
Backed out changeset ae857d818793 (bug 559653) due to test failures.
2010-04-28 13:41:24 -05:00
Jason Orendorff
55efedaff4
Backed out changeset 69ea8f61ae26 (bug 559813) due to test failures.
2010-04-28 13:03:19 -05:00
Jason Orendorff
6736f57e69
Bug 559813 - Trace script setters. r=brendan.
2010-04-28 11:43:27 -05:00
Jason Orendorff
d649fe8f15
Merge.
2010-04-28 11:15:12 -05:00
Jason Orendorff
63cfa9cafb
Bug 559653 - TM: Record assignment before the interpreter goes; remove record_SetPropHit. r=brendan.
2010-04-28 11:12:19 -05:00
Brendan Eich
c1024a0693
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
Luke Wagner
fb7ceb4c78
Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander)
2010-03-03 18:10:13 -08:00
Gregor Wagner
dee82ee864
Bug 548388 GC Benchmark Suite. r=jorendorff
2010-05-14 11:17:14 -07:00
Igor Bukanov
97039b9427
bug 561364 - removal of JSRuntime::gcLevel. r=jorendorff
2010-05-14 15:55:17 +02:00
Luke Wagner
9b49d62378
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Martin Husemann
a3997fe301
Bug 550271 - Make sure the inline assembler code works on the same word size as the C/C++ code on sparc64 when compiling for 64bit. r=jorendorff
2010-05-13 17:46:17 -07:00
Igor Bukanov
307503fef7
bug 563345 - using js::HashMap for JSRuntime::threads. r=lw
2010-05-13 19:50:43 +02:00
Rasmus Jensen
18d22c68c6
Bug 335051 - E4X literals should be acceptable values for sharp variables. r=jwalden
...
--HG--
extra : rebase_source : 3548ee497fa3d8fe36077d42d8a44f953cf90b6d
2010-05-06 16:01:37 -07:00
Jeff Walden
df8ee3ff7c
Bug 565463 - Error-reporting mistakes with new-style Auto* classes. r=jorendorff
...
--HG--
extra : rebase_source : b6e27bd686570bcc77e6650c156ae6f027509646
2010-05-12 20:35:56 -07:00
Luke Wagner
6a6afd60ce
Backed out changeset 23efaeb8652b
2010-05-13 02:21:27 -07:00
Luke Wagner
98a7dc9ea6
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Luke Wagner
977b510b7d
Bug 565188 - simplify sp adjustment in checkTraceEnd (r=dvander)
2010-05-12 23:04:05 -07:00
Luke Wagner
8dae133f81
Bug 564937 - fast iterators shouldn't touch regs.sp[0] (r=gal)
...
--HG--
extra : rebase_source : 4ff7594a8bf3b1ab8aa0fcbf351765f4a12ef3e4
2010-05-12 23:00:31 -07:00
Nicholas Nethercote
b56caab02f
Bug 564369 - streamline TokenStream::getChar(), part 11. r=cdleary.
...
--HG--
extra : rebase_source : 17731fc14ffa7d8ac7194baf2fe9bf72b7d2f7e5
2010-05-12 21:43:56 -07:00
Nicholas Nethercote
34bd8023e4
Bug 564369 - streamline TokenStream::getChar(), part 10. r=cdleary.
...
--HG--
extra : rebase_source : e1eea6473ba5a27f6f0c397706c8a38026c4919c
2010-05-12 21:43:27 -07:00
Nicholas Nethercote
81464e51c8
Bug 564369 - streamline TokenStream::getChar(), part 9. r=cdleary.
...
--HG--
extra : rebase_source : c9315a103358ec76fb572c67c7ba5ca2e049a22b
2010-05-12 21:43:01 -07:00
Nicholas Nethercote
a952b563f2
Bug 564369 - streamline TokenStream::getChar(), part 8. r=cdleary.
...
--HG--
extra : rebase_source : 403e102ea4d5b135ea81095ebfd49835940ee4e7
2010-05-12 21:42:44 -07:00
Nicholas Nethercote
83a5e45caf
Bug 564369 - streamline TokenStream::getChar(), part 7. r=cdleary.
...
--HG--
extra : rebase_source : 9017fa314243250ee90170772c5b5bbcbd244262
2010-05-12 21:42:16 -07:00
Nicholas Nethercote
400f96617e
Bug 564369 - streamline TokenStream::getChar(), part 6. r=cdleary.
...
--HG--
extra : rebase_source : ea659b37be1041d0599ad1152b85b669dd3617dd
2010-05-12 21:41:49 -07:00
Nicholas Nethercote
7e41b32948
Bug 564369 - streamline TokenStream::getChar(), part 5. r=cdleary.
...
--HG--
extra : rebase_source : a087a3706e0196962f1be094d697f27d0d476ad5
2010-05-12 21:41:24 -07:00
Nicholas Nethercote
082f31c3e2
Bug 564369 - streamline TokenStream::getChar(), part 4. r=cdleary.
...
--HG--
extra : rebase_source : 5a09b4384740293ef0bbfe5b97454b684c8584ff
2010-05-12 21:40:59 -07:00
Nicholas Nethercote
0ebfa6509b
Bug 564369 - streamline TokenStream::getChar(), part 3. r=cdleary.
...
--HG--
extra : rebase_source : 4332c12ea549aebb95f72035104e5a47159626e1
2010-05-12 21:40:28 -07:00
Nicholas Nethercote
6abfef34e4
Bug 564369 - streamline TokenStream::getChar(), part 2. r=cdleary.
...
--HG--
extra : rebase_source : 4148cba1faa670ee8a5147b78a339bf676d5fcae
2010-05-12 21:39:59 -07:00
Nicholas Nethercote
c33fb75973
Bug 564369 - streamline TokenStream::getChar(), part 1. r=cdleary.
...
--HG--
extra : rebase_source : d9e3d00e7798392242f7a4410c1825e8ff30af61
2010-05-12 21:39:32 -07:00
Nicholas Nethercote
a5ad41af4f
Bug 564581 - TM: avoid js_IdIsIndex() calls on trace. r=brendan.
2010-05-12 19:34:01 -07:00
Nicholas Nethercote
f0550e09e5
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject (attempt 2; attempt 1 was backed out due to conflicts). r=brendan.
2010-05-12 18:57:36 -07:00
Blake Kaplan
6950094244
Bug 565521 - Add a test. r=sayrer
2010-05-12 18:18:54 -07:00
Blake Kaplan
6028d00c7d
Bug 565521 - Don't call the getter on the prototype object, call it on the original object instead. r=gal
...
--HG--
extra : rebase_source : 5c37bd912fc301bc009437e7724925e4571a92bb
2010-05-12 16:37:54 -07:00
Nicholas Nethercote
6136d67c9f
merge
2010-05-12 16:18:32 -07:00
Nicholas Nethercote
233b6b88e8
Fix compiler warnings. No bug, r=jorendorff via IRC.
2010-05-12 16:14:49 -07:00
Nicholas Nethercote
e8569db9c5
Bug 565257 - TM: rename opcodes in jstracer.cpp. r=dvander.
2010-05-12 16:05:28 -07:00
Blake Kaplan
581509e73c
Bug 564954 - Call the class hook even if not NEW_ENUMERATE. r=gal
2010-05-12 16:00:23 -07:00
Andreas Gal
cbc81f2d50
add missing parens in expression for clarity (no bug, r=mrbkap)
2010-05-12 15:42:05 -07:00
Andreas Gal
0c9154d22e
Bug 565199 - TM: trace-test failure in testGeneratorDeepBail, x64. r=dvander
2010-05-12 17:14:28 -04:00
Andreas Gal
af72ac4d4c
nit fix for bug 558754 and remove bogus spot-fix that didn't have review (r=brendan)
2010-05-12 13:12:53 -07:00
Vladimir Vukicevic
8c80a0cd55
b=561566,561299; typed array arg checking fix; r=jorendorff
2010-05-12 10:18:35 -07:00
Jason Orendorff
d21c4cbaeb
Merge.
2010-05-12 09:37:31 -05:00
Jason Orendorff
bdb491ed34
Backed out changeset 8cb8888c68d3 due to failing mochitests.
2010-05-12 09:34:03 -05:00
Robert Sayre
0cfaca99bc
Disable most of test_wrappers.html until we fix 564954.
2010-05-12 10:33:47 -04:00
Jason Orendorff
4d3c5821a1
Bug 563728 - Switch the imacro compiler over to Python. r=Waldo.
...
--HG--
rename : js/src/imacro_asm.js.in => js/src/imacro_asm.py
2010-05-12 08:49:36 -05:00
Jason Orendorff
ee50fdd206
Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
...
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9
Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
...
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Jason Orendorff
2b3384521c
Bug 513065 - Part 3, compute scope in the engine before calling the thisObject hook. r=mrbkap.
2010-05-12 08:15:49 -05:00
Jason Orendorff
33ab4dbe7b
Bug 513065 - Part 2, avoid thisObject in obj_getProto (left over from __parent__). r=mrbkap.
...
--HG--
extra : rebase_source : f900cd58592696d522e9c58effc3dc16761e1808
2010-05-12 08:13:05 -05:00
Jason Orendorff
ab2c2c89d5
Bug 513065 - Part 1, avoid thisObject when unwrapping With objects. r=mrbkap.
...
--HG--
extra : rebase_source : 129c8592e7f14bb76cc648ba8ae930bfc73507cb
2010-05-12 08:11:46 -05:00
Chris Leary
e63f347a0a
Bug 564076: Small parser cleanup changes. (r=mrbkap)
2010-05-11 21:33:29 -07:00
Nicholas Nethercote
9e27c4bb2e
Bug 552592 - nanojit: split TMFLAGS=assembly in two (TM-only part). r=jseward.
2010-05-11 20:01:27 -07:00
Nicholas Nethercote
a591c93a13
Update nanojit-import-rev stamp.
2010-05-11 20:00:24 -07:00
Nicholas Nethercote
439c3c6f87
Bug 552592 - nanojit: split TMFLAGS=assembly in two. r=edwsmith.
...
--HG--
extra : convert_revision : 0ab7614fb5140f304020d000789eff6b63ecdef6
2010-05-11 19:14:51 -07:00
Nicholas Nethercote
d398416088
Bug 563277 - nanojit: ignore dead guards in StackFilter. r=edwsmith.
...
--HG--
extra : convert_revision : c6024514710ad40128e05ba004b4db0c2a302862
2010-05-11 18:52:03 -07:00
Nicholas Nethercote
7a0c7aaa29
Bug 562597 - nanojit: more LOpcode-related renamings. r=edwsmith.
...
--HG--
extra : convert_revision : 96391e53a0b48bd53fa98db68da86f76a55e9bd0
2010-05-11 17:14:20 -07:00
Nicholas Nethercote
6d5053e9df
Update nanojit-import-rev stamp.
2010-05-11 16:54:19 -07:00
Edwin Smith
fd1b388c23
Bug 564941 - Rename LOpcode enums in lirasm.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : e165192e6b4adc66ac4c395c8e8e80a66d7f1117
2010-05-10 21:00:15 -04:00
Edwin Smith
4d87ad98e3
Bug 559972 - Rename LOpcode enums in NativeMIPS.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : 24782e879b70fc00120a5697ff978d0c16a8aeab
2010-05-10 20:10:47 -04:00
Edwin Smith
07a068ef9b
Bug 559974 - Rename LOpcode enums in NativeSparc.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : 83cb4cee2b4db69a8d8b2616e062c01156b87dee
2010-05-10 20:09:05 -04:00
Edwin Smith
045c28aa3f
Bug 559973 - Rename LOpcode enums in NativePPC.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : d65d7a51c661d49274ee4707eb0b478f6e7b6ec9
2010-05-07 08:39:56 -04:00
Nicholas Nethercote
2a2687bf69
ARM bustage fix for bug 564080. r=me.
...
--HG--
extra : convert_revision : 98eb4dff32af55697aac78f7c89c4a3b56cb01fa
2010-05-06 16:18:51 -07:00
Nicholas Nethercote
93fba42127
Bug 564080 - nanojit: merge LIR_alloc[iq]. r=edwsmith.
...
--HG--
extra : convert_revision : bf229d93127ae64ffa62f4c872c2319bbc4dc59b
2010-05-06 16:13:11 -07:00
Edwin Smith
279460658a
Bug 559971 - Rename LOpcode enums in NativeARM.cpp (r=nnethercote+ f=jacob.bramley+)
...
--HG--
extra : convert_revision : f7a0d7ffe0739ce2e2b2c259d7b8d3d9b77f78d5
2010-05-06 09:32:06 -04:00
Edwin Smith
8b43bd915d
Change the PPC isS14 macro to an inline function (bug 560370 r=rreitmai+)
...
Fixes two problems:
1. macro incorrectly referred directly to "bd" instead of its argument "i"
2. logic wasn't 64-bit safe (incorrect 32/64bit comparison)
--HG--
extra : convert_revision : 9b65dfcae9f7d70788806afc4f3b989e32c601fe
2010-05-05 10:47:36 -04:00
Brendan Eich
399bb672d5
Pick initialization nit.
2010-05-11 14:05:35 -07:00
Robert Sayre
0821fc2de4
Merge.
2010-05-11 16:37:47 -04:00
Robert Sayre
bcf510f2ff
Backed out changeset 60c4693a80ef
2010-05-11 16:37:18 -04:00
Robert Sayre
2777416cca
Merge.
2010-05-11 11:52:40 -04:00
Robert Sayre
a354ba1cfc
Backed out changeset 919950c7f0f0
2010-05-11 11:52:17 -04:00
Robert Sayre
56652121fd
Backed out changeset e0d454817dfd
2010-05-11 11:50:58 -04:00
Robert Sayre
e67fe7c99c
fix debug build bustage from Bug 559408.
2010-05-11 08:40:08 -04:00
Igor Bukanov
e5c32894ce
bug 563345 - using js::HashMap for JSRuntime::threads. r=lw
2010-05-11 09:49:28 +02:00
Igor Bukanov
443327bdc3
bug 563326 - HashMap::relookupOrAdd as a safe alternative to the add method in presence of map mutations. r=lw
2010-05-11 08:27:53 +02:00
Chris Leary
299dd52ca1
Bug 559408: Arena pool macros to methods. (r=gal)
2010-05-10 21:46:52 -07:00
Jason Orendorff
9b5693f187
Bug 564344 - Crash or "Assertion failure: slot < (this)->scope()->freeslot, at ../jsscope.h:563" @ JSObject::getSlot(unsigned int) when redefining property. r=brendan.
2010-05-10 18:43:34 -05:00
Andreas Gal
2bbccc6cff
can't trace generator close, follow up for 558754, CLOSED TREE
2010-05-07 19:19:19 -07:00
Andreas Gal
2004c301c3
fast object iteration (558754, r=brendan, CLOSED TREE).
2010-05-07 17:52:52 -07:00
Andreas Gal
b943be441e
xml[index] only works for JSXML_CLASS_LIST (564377, r=brendan, CLOSED TREE).
2010-05-07 13:33:57 -07:00
Dan Witte
8abd831785
Bug 562809 - js::HashTable::init(n) should guarantee success of next 'n' add()s. r=luke
2010-05-06 09:14:43 -07:00
Jacek Caban
6b28186055
Bug 557000 - Correctly set GCC_VERSION on mingw. r=ted
2010-04-03 14:41:33 +02:00
Robert Sayre
5690b40895
Update json.cpp comment. a=1hr
2010-04-24 19:05:48 -04:00
Chris Jones
33aee5d515
Bug 566050: Make runxpcshelltests.py tests more amenable to non-standard debugging scenarios. r=ted
2010-02-10 14:52:16 -08:00
Benedict Hsieh
94b9e463dd
Bug 531886 - [regression] *.mfasl fastload caches not invalidated after build / changing XUL/JS code. r=bsmedberg
2010-07-02 16:59:17 -07:00
Kyle Huey
f5a2d71aee
Bug 568691: Followup to fix calling convention mismatch so xpconnect tests will build on Windows.
...
--HG--
extra : rebase_source : bd828190e120d2c11bc3bb5b86b44c366b043748
2010-07-02 15:39:41 -06:00
Ben Turner
50d613eab8
Bug 558675.
2010-04-11 15:05:07 -07:00
Brendan Eich
e3471f5fcb
Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander).
2010-04-10 20:56:16 -07:00
Mike Hommey
0a48e14b6d
Bug 541774: IDL-parser cache and .pyc files are left behind by make clean. r=ted
2010-04-10 16:02:45 -04:00
Mike Hommey
0497968eb1
Bug 541770: Clean up js/src during make distclean. r=ted
2010-04-10 16:00:49 -04:00
Blake Kaplan
689a3f2723
Bug 557728 - Split constructors into called-from-script and called-from-api. r=vlad sr=jst
...
--HG--
extra : rebase_source : 64af9e27799a36ce7cd45c885501bef139ddc44c
2010-04-08 18:20:06 -07:00
Peter Van der Beken
903db0b614
Try to fix bustage.
2010-04-06 17:02:28 +02:00
Ben Newman
b25bf72cb5
CPOW tests (bug 516522). r=jst
2010-01-21 18:25:21 -08:00
Ben Newman
163d75e1b5
Bug 541003 - CPOW: Support throwing arbitrary exceptions from content to chrome. r=mrbkap
...
* * *
CPOW-specific exceptions (bug 541003). r=mrbkap
2010-01-22 12:52:57 -08:00
Ben Newman
1c9d92dfb9
Bug 540126 - CPOW: Let PObjectWrapper actors use ContentProcessParent::RequestRunToCompletion(). r=mrbkap sr=jst
2010-01-20 18:24:14 -08:00
Peter Van der Beken
42d3a70ee1
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Use flags on DOMCI to be able to cast instead of QI. r=jst.
...
--HG--
extra : rebase_source : b33953705ace2b6c2171f32fcf7c0157a1f76173
2010-01-12 15:24:00 +01:00
Jeff Walden
0b04dfbcc9
Bug 534377 - Object literal duplicate-property checking doesn't work for same property as number and as string. r=jimb
2009-12-24 16:10:18 -05:00
Blake Kaplan
bb1b00d30e
Bug 533882 - Don't call into CAPs when we don't have to. r=jst sr=bzbarsky
...
--HG--
extra : rebase_source : 534bfae23aa5c1de4229b5259ba48599aef69a12
2009-12-16 17:40:14 -08:00
Peter Van der Beken
0578abb1ad
Fix warning.
2010-04-08 14:07:28 +02:00
Dan Witte
233a77bbe4
Bug 557413 - Fix race condition building static and shared libraries. r=ted
2010-04-08 16:03:06 -07:00
Blake Kaplan
f2f7a9e028
Bug 557346 - Try harder to fill report->ucmessage in when reporting errors.
2010-04-08 15:57:19 -07:00
Michael Wu
b8bf7067a4
Bug 557303 - Include stdarg.h in jsscan.h, r=jimb
2010-04-08 12:06:54 -07:00
Blake Kaplan
f3bccc63ee
Fix bug 554448. r=jst sr=sicking
...
--HG--
extra : rebase_source : d5b72e262ed2c9da30fae7fb4b4ea8ad75f511c4
2010-03-25 14:38:45 -07:00
Blake Kaplan
33bd565c3b
Bug 386635 - Compatibility hacks to make evalInSandbox continue to work for GreaseMonkey. r=jst
...
--HG--
extra : rebase_source : 3784e3ea135dbb53cd5a935369a58627bb73fb7d
2010-03-23 14:11:50 -07:00
Blake Kaplan
63886e99f2
Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
...
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Dan Witte
89a5523e7f
Bug 557413 - ar: ctypes/libffi/.libs/libffi.a: Resource temporarily unavailable. r=bsmedberg
2010-04-07 14:03:34 -07:00
Ben Turner
ba2cd42a88
Bug 553128 - 'Add better support for typed arrays in structured clone'. r=vlad+jst+jorendorff.
2010-04-07 13:55:12 -07:00
Ben Hearsum
c38c503940
bug 554392: Tracking bug for build and release of Firefox 3.7a4 - version bumps to 1.9.3a5pre/3.7a5pre
...
--HG--
extra : rebase_source : e870a851a205062bca0082049283404207a16601
2010-04-07 14:04:51 -04:00
Olli Pettay
c14b02896e
Bug 519741 - Quickstub nsIDOMRange, r=peterv
2010-04-07 18:25:26 +03:00
Ginn Chen
c3fc2f9d1c
Bug 550371 mozalloc failed to build on Solaris r=bsmedberg
2010-04-07 14:16:32 +08:00
Ben Newman
b3cb7ea79d
Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst
2009-11-06 12:43:39 -08:00
Jason Orendorff
523160aa40
Bug 480850 - Add JSAPI function JS_New (identical to tracemonkey/rev/869bebcf1f21). r=mrbkap.
2010-03-17 10:22:13 -05:00
Doug Turner
b6fe4bd112
today is two merge monday
2010-03-22 22:05:25 -07:00
Johnny Stenback
5de9282f0d
Backing out 2cf18052b8ee to fix orange.
2010-03-22 18:43:13 -07:00
Johnny Stenback
c7621f2611
Backed out changeset 2cf18052b8ee to fix orange.
2010-03-22 18:33:33 -07:00
Blake Kaplan
899efe2f6e
Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky
2010-03-22 15:46:37 -07:00
Justin Wood
11ae38f8ea
Bug 550602, libffi.patch change too. rs=dwitte.
2010-03-20 23:50:38 -04:00
Justin Wood
ade13ea128
Bug 550602, pymake broken by recent libffi changes. Don't use 'old style suffix rules. r=shaver
2010-03-20 23:22:55 -04:00
Mike Hommey
68420b12e8
Bug 550704 - js/src/config/check-sync-dirs.py doesn't check file contents.
...
r=ted.mielczarek.
2010-03-20 18:45:32 +01:00
Doug Turner
9e52c27932
merge from mozilla-central. no merges required
2010-03-23 02:53:35 -07:00
Ben Newman
0c4845ffec
Bug 553448 - nsScriptSecurityManager::ContentSecurityPolicyPermitsJSAction should return JS_TRUE when no subjectPrincipal exists. r=mrbkap sr=dveditz
...
--HG--
extra : rebase_source : c47d6d55063c115921ee89114c4439444883c37d
2010-03-18 17:27:39 -07:00
Peter Van der Beken
3e3654ffca
Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
...
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Blake Kaplan
bb5df50c12
Bug 552516 - Don't create a temporary context for the new sandbox object. r=igor
...
--HG--
extra : rebase_source : 78b20a13d174f1ddf0b47556e9ea39fbe724c2cb
2010-03-17 17:38:16 -07:00
Ben Turner
0bdadbfbee
Bug 550275 - 'Implement the HTML5 structured clone algorithm'. r=jst+mrbkap, sr=jst.
2010-03-17 12:55:45 -07:00
Dan Witte
ae3348a99a
Bug 513788 - Revise js-facing API for js-ctypes. Followup: seal important bits of the global object.
...
r=jorendorff
2010-03-17 10:48:48 -07:00
Bob Clary
a1c1eb8963
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:08:30 -07:00
Ehsan Akhgari
21485ce94f
Bug 458037 - Implement isContentEditable; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : fdcbc217e41e8c1a43bfd7c41a8cc6c6169c588f
2010-03-10 14:10:09 -05:00
Ben Hearsum
4c89a10a78
bug 551278: Tracking bug for build and release of Firefox 3.7a3 - version bumps to 1.9.3a4pre/3.7a4pre. r=me, patch=Tymerkaev.
2010-03-15 12:28:27 -04:00
Brendan Eich
df360e309a
Rename ecmaStrictMode to ecma3OnlyMode, use fresh prototype object initialiser for better style.
2010-03-14 15:46:39 -05:00
Brendan Eich
bfa3f5fb86
Fix copyright notice.
2010-03-14 15:33:13 -05:00
Brendan Eich
371b9215e0
NPOTB: fix #ifdef NARCISSUS code.
2010-03-14 15:26:55 -05:00
Brendan Eich
b952a1bccf
Fix dictionary-mode scope property node alloc to happen inside rt->gcLock (538307, r=jorendorff).
2010-03-03 17:14:20 -08:00
Neil Rashbrook
6053cc6f53
Bug 551050 Disable warning C4702: unreachable code in dlmalloc.c r=dwitte
2010-03-13 23:13:09 +00:00
Walter Meinl
98ecc36264
Bug 552155 - [OS/2] build break in Ctypes.cpp ssize_t not declared. r=dwitte
2010-03-13 14:56:09 -08:00
Blake Kaplan
5d51b081d8
Bug 550356 - Enumeration over COWs should work. r=jst
...
--HG--
extra : rebase_source : 2cb53a88893181c09c969cab0e46188c62acd0fb
2010-03-05 02:03:05 -08:00
Blake Kaplan
ea8d98106a
Bug 542428 - Make wrappers aware of each other. r=jst
...
--HG--
extra : rebase_source : 94d8ce151abbbc5d75b1261e6a2c6cad117d047e
2010-02-11 17:04:41 -08:00
Blake Kaplan
86a7e9e618
Bug 524994 - Flatten out wrapper hierarchy. r=jst
...
--HG--
extra : rebase_source : e120cb38c82f7bbc54751558f5d77a28a5ed2a04
2010-01-19 15:44:42 -08:00
Blake Kaplan
b68606dbeb
Bug 533600 - Write a function to figure out what type of wrapper to create. r=jst, peterv, bz
...
--HG--
extra : rebase_source : 9a3e7a9cf8e205db6caf4d741fd13a37f5a27384
2010-01-12 15:41:44 -08:00
Blake Kaplan
92b000d2bc
Bug 536137 - SJOWs don't enumerate properties named 'next'. r=jst
...
--HG--
extra : rebase_source : e43aa62a06885f9320feaada6ae6da5556e800bd
2010-01-04 22:59:46 -08:00
Dan Witte
92a0404005
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
Dan Witte
8ce014db8d
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
88bd7328a3
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
56fd91773b
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
67d63e9fda
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
d695490da0
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
d050afae06
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
643a7b230b
Bug 551088 fix xpconnect signed warnings
...
r=dbradley
--HG--
extra : rebase_source : 01a2089bc2a3f3a402acaab68b8b9a6bce92bb09
2010-03-12 07:50:12 +01:00
timeless@mozdev.org
422c4d280c
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
ede86c56d9
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
159260b382
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
edb9157850
Revise js-facing API for js-ctypes, patch v3. b=513788, r=jorendorff
2010-03-11 17:17:36 -08:00
Dan Witte
10a9e0f584
Revise js-facing API for js-ctypes, patch v2. b=513788, r=jorendorff
2010-03-11 17:17:36 -08:00
Dan Witte
81ec574b6e
Revise js-facing API for js-ctypes, patch v1. b=513788, r=jorendorff
2010-03-11 17:17:36 -08:00
Ben Newman
6347fe88f3
Bug 553448 - nsScriptSecurityManager::ContentSecurityPolicyPermitsJSAction should return JS_TRUE when no subjectPrincipal exists. r=mrbkap sr=dveditz
2010-03-18 17:27:39 -07:00
Jason Duell
1e8125a004
Fix bug 551850 (xpcshell broken for e10s on windows). a=jae-seong lee, r=cjones
...
This will hopefully fix the e10s windows tree that's been red since March 8th (!)
--HG--
extra : rebase_source : a27dd77b14763cfc72a9cee61123ee63a3aed94b
2010-03-19 08:35:57 -07:00
Jason Duell
a5f74621b1
Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again.
2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391
Merge with mc
2010-03-17 10:37:32 -07:00
Doug Turner
f295d7422b
Merge
2010-03-12 15:20:36 -08:00
Doug Turner
16e2fd5fe7
Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js.
2010-03-10 19:13:35 -08:00
Chris Jones
d62eb460f3
Merge racing pushes
2010-03-08 14:20:39 -06:00
Doug Turner
e91ddd6b67
Fixing js/config/rules.mk to match mozilla-central
2010-03-09 00:11:08 -08:00
Chris Jones
733adfeaaf
Fix some merge bustage.
2010-03-08 14:16:41 -06:00
Doug Turner
d08632917d
Merge with mc
2010-03-08 10:09:55 -08:00
Doug Turner
48e6fd8d9a
Bug 550658 - OS Libs should include qt os libraries. js config.mk change. r=ted
...
--HG--
extra : rebase_source : cdd18e60444210d5093bfc0bbdc4acfcd74e12a0
2010-03-08 09:27:48 -08:00
Ginn Chen
e771c422ae
Bug 548218: Reference to static function in function templates not allowed with Sun Studio compiler r=bsmedberg
2010-03-08 17:36:19 +08:00
Ginn Chen
42dacb38cb
Bug 550154: PGO build issue on Solaris SPARC r=ted.mielczarek
2010-03-08 17:35:41 +08:00
Sid Stamm
47a3291b46
bug 515443 CSP no-eval support. r=mrbkap,brendan
2010-03-08 00:24:50 -08:00
Clint Talbert
7ffd9496bc
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
Uli Link
094757ed9b
Bug 537784: [AIX] Build bustage in js/src/jsstdint.h r=ted
2010-03-06 12:59:41 -05:00
Walter Meinl
7d8b49cff5
Bug 550542: [OS/2] Followups for xmalloc r=cjones
2010-03-06 12:58:04 -05:00
Mike Hommey
25d57bf886
Bug 542468 - js/src/config/check-sync-dirs.py fails when running in a built environment. r=ted
2010-03-06 15:10:12 +01:00
Doug Turner
5daaf36bf1
Merge
2010-03-01 15:36:51 -08:00
Chris Jones
bc05dd163b
Merge from mozilla-central
2010-02-22 21:31:18 -06:00
Olli Pettay
72dc86132d
Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg
2010-02-20 19:05:20 +02:00
Mike Hommey
82b5d8c518
Bug 541767 - "Various problems with how config/my{config,rules}.mk are handled" [r=ted.mielczarek]
2010-02-20 05:12:00 -05:00
Serge Gautherie
a2e80628c2
Bug 534408 - Core bug 514665 dropped/replaced USE_SHORT_LIBNAME uses: port that to c-c (apps); (Av1-MC) Remove obsolete MOZ_MOVEMAIL and MOZ_STATIC_MAIL_BUILD.
...
r=ted.mielczarek.
2010-03-05 21:58:12 +01:00
Dan Witte
1f8e01c665
Remove libffi_msvc now that it's not built. b=538216, rs=ted
2010-03-05 11:32:13 -08:00
Dan Witte
43ac9c345a
Enable building of the libffi internal MSVC code, instead of libffi_msvc. b=538216, r=ted
2010-03-05 11:31:53 -08:00
Dan Witte
12d13bf7f3
Remove Solaris hack now that it's been upstreamed. b=538216, rs=ted
2010-03-05 11:31:00 -08:00
Dan Witte
3d921d88fb
Apply libffi.patch. b=538216, rs=ted
2010-03-05 11:30:40 -08:00
Dan Witte
363d498f91
Pull libffi git revision 8d27f68baa365bf883b6053c5f6bc819646d5434. b=538216, rs=ted
2010-03-05 11:29:55 -08:00
Robert O'Callahan
796c20d53c
Backed out changeset 0923925b4b8f
2010-03-05 21:13:58 +13:00
Vladimir Vukicevic
de69534814
b=550351; don't abort recording when accessing out of range typed array element (return undefined instead); r=dvander
2010-03-04 16:49:31 -08:00
Vladimir Vukicevic
e86557b1a2
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz
2010-03-03 16:40:27 -08:00
Chris Jones
2141078f6e
Bug 441324, part 3: Configure and build changes for libmozalloc. r=bsmedberg
2010-03-03 23:02:57 -06:00
Chris Jones
f0560d9e8e
Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg
2010-03-03 23:02:55 -06:00
Robert O'Callahan
daba5acae2
Backing out bug 534467 to try to fix test failure
2010-03-04 17:50:57 +13:00
Robert O'Callahan
a976e4bcd0
Backed out changeset 1672d4c79e82
2010-03-04 17:50:28 +13:00
Robert O'Callahan
e2fa3fbcee
Backing out fix for bug 543682 because test failed
2010-03-04 16:36:31 +13:00
Robert O'Callahan
2a09856fab
Backed out changeset b4268cb7bf48
2010-03-04 16:36:08 +13:00
Vladimir Vukicevic
42ec90deac
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz
2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
02fe8f1b07
b=534735; use custom quickstubs for canvas fillStyle and strokeStyle; r=bz
2010-03-03 16:40:25 -08:00
Vladimir Vukicevic
73d785248f
b=543682; don't let js array holes escape via typed arrays; r=jorendorff
2010-03-03 16:20:41 -08:00
Serge Gautherie
b1f774fef1
Bug 521673 - Remove remnant OJI references; (Av1) /js/src/configure.in.
...
r=ted.mielczarek.
2010-03-03 11:12:28 +01:00
Serge Gautherie
c6829f1372
Bug 509179 - Make NS_ENABLE_TSF configurable; (Cv2) /js/src/configure.in: Copy (the useful part of) it, Remove checks for oleacc.idl and atlbase.h too.
...
r=ted.mielczarek.
2010-03-03 11:12:28 +01:00
Brad Lassey
65e93ade37
follow up to bug 548207, test for WINCE instead of CROSS_COMPILE due to make check failure on OSX
...
--HG--
extra : rebase_source : 2b0ab634f5286e6317e147daa0cd790f633acdbf
2010-03-10 15:35:31 -05:00
Brad Lassey
8857f4c08a
bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
...
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Jim Mathies
30f4555662
back out of patch for bug 517097 due to bustage. CLOSED TREE
2010-03-10 10:51:15 -06:00
Mitchell Field
4d16a7c52c
bug 517097 - make enabling debug symbols more sane r=ted
...
--HG--
extra : rebase_source : 7abb0297202f10afe80c5a74e47899b4762095a2
2010-03-02 06:24:00 -05:00
Ginn Chen
9063d148c7
Bug 550527 fix the typo r=dougt
2010-03-10 18:28:16 +08:00
Brad Lassey
bb55fe310f
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Daniel Holbert
4b4d581038
Sync bug 544190's changes to config/rules.mk into js/src/config/, to fix "make check" bustage from that bug
2010-02-18 15:19:08 -08:00
Benjamin Smedberg
9485b136dd
Bug 528250 - Unify all the intermediate tiers (xpcom/necko/external/gecko/toolkit) into one tier_platform, r=ted sr=vlad
2009-11-12 14:37:34 -05:00
Nick Thomas
9e11a7c18b
Bug 548093, bump nightly version to 3.7a3pre, r=catlee CLOSED TREE
2010-03-01 12:27:40 +13:00
Robert Sayre
27b961ed50
Merge tracemonkey to mozilla-central.
2010-02-24 12:25:40 -08:00
David Anderson
c99331c609
Better fix for recursion and let blocks (bug 547791, r=gal).
2010-02-23 16:14:34 -08:00
Luke Wagner
06cc81805b
Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff)
2010-02-19 19:22:37 -08:00
Bob Clary
28f3725d79
JavaScript Tests - disable js1_5/Regress/regress-451322.js due to slowness.
2010-02-23 07:58:00 -08:00
Andreas Gal
ad719a55e1
The test for bug 352455 is bogus, a regexp is a callable object and thus can be a getter (bug 547912 changed this behavior).
2010-02-23 02:46:46 -08:00
Andreas Gal
18afa9f743
Setters/getters can be callable objects (547912, r=brendan).
2010-02-22 22:25:09 -08:00
Andreas Gal
a2ae493dd5
Merge.
2010-02-22 20:08:15 -08:00
Andreas Gal
8d92d5fff5
Don't crash on 'typeof null' in compiled code (follow-up fix for 547314).
2010-02-22 20:07:41 -08:00
Jeff Walden
53b100ce6f
Typo fix, r=waylon
2010-02-22 19:43:41 -08:00
Andreas Gal
1aabb47ea6
Followup fix for 547314. We have to unwrap in the typeOf hook due to wrapper lameness.
2010-02-22 19:30:22 -08:00
Andreas Gal
7fc1c8efb0
Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan).
2010-02-22 16:30:22 -08:00
Andreas Gal
bfa1d960a9
remove unused label have_fun (no bug, r=brendan).
2010-02-22 16:27:19 -08:00
Brendan Eich
67355cdc47
Fix bogus assertion (537854, r=mrbkap).
2010-02-22 15:30:35 -08:00
Andreas Gal
bd338bc100
Test whether obj IsCallable instead of VALUE_IS_FUNCTION for call and apply (547046, r=mrbkap).
2010-02-22 14:07:50 -08:00
David Anderson
fd9b61d7cf
Fixed assertion when using recursion in a let block (bug 547791, r=gal).
2010-02-22 13:57:04 -08:00
David Anderson
980a86ab4c
Fixed crash in GetPropertyByName (bug 547299, r=dmandelin).
2010-02-22 13:45:06 -08:00
Brendan Eich
493977bbcb
s/pushAtom/AppendAtom/ name style police raid.
2010-02-22 13:26:57 -08:00
Robert Sayre
84d7499b25
Merge mozilla-central to tracemonkey.
2010-02-22 12:29:54 -08:00
Bob Clary
5efdcdfa7a
JavaScript Tests - fix manifests for bugs 430133, 509354, 523846, 537863, 539488, 545980, 546615
2010-02-22 09:52:02 -08:00
Bob Clary
cb189e82b5
JavaScript Tests - add tests for bugs 375651, 390598, 429739, 451322, 460886, 465145, 465686, 469405, 469547, 470619, 472533, 473282, 474529, 476257, 476653, 476871, 479567, 482783, 489682
2010-02-22 09:52:01 -08:00
Andreas Gal
7ffe32a349
bug 547086 fixed bug 322957
2010-02-21 23:30:26 -08:00
Andreas Gal
1988a59472
Reland previously backed out bug 547086, it didn't cause the regression after all.
2010-02-21 00:11:54 -08:00
Andreas Gal
6e92a92c50
calculating 'this' fails if the object has no parent (547483, r=mrbkap).
2010-02-20 18:35:23 -08:00
Robert Sayre
b2bb3cb03a
Patch for bug 547086 is causing a crash in the js tests. Backed out changeset 10a40c748aed
2010-02-20 07:54:48 -08:00
Andreas Gal
8afa0aa3fe
js_TryMethod suppresses 'too much recursion' exception, going in circles indefinitely (bug 547086, r=mrbkap).
2010-02-19 17:34:32 -08:00
Andreas Gal
4934b15e9e
Remove LiveConnect kludge from call path (1.9.3 will not have LiveConnect according to jst, r=brendan).
2010-02-19 17:31:44 -08:00
Luke Wagner
43ede71344
No bug, fix MSVC bustage from 9ee31f5535ae
...
--HG--
extra : rebase_source : 28eb0357555359caf1e956fb366ed63d0be2a29b
2010-02-19 15:56:46 -08:00
Nicholas Nethercote
080c011cf3
Update nanojit-import-rev stamp.
2010-02-20 10:44:12 +11:00
Nicholas Nethercote
99f1ec6fce
Bug 531326 - nanojit: improve int32 and int64 constant generation in X64 backend. r=rreitmai.
...
--HG--
extra : convert_revision : 3fa60904a28ec82b54d7e8a9e9fac6c29e0a5324
2010-02-20 07:31:41 +11:00
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
Steven Johnson
cd405704e7
Bug 543803 - Fix unused-variable warnings in Release ARM builds (r=rreitmai)
...
--HG--
extra : convert_revision : de2889d43d17c9ccc659c509dcb0c1749111d336
2010-02-02 12:37:59 -08:00
Jeff Walden
7e68c64269
Bug 543097 - Precompute the prototype when evaluating function expressions and regular expression literals on trace, rather than (slowly) looking it up every time. r=jorendorff
...
--HG--
extra : rebase_source : d023ded17937248bdfb23705e7477918b111746f
2010-02-01 17:20:37 -08:00
Jeff Walden
82210191cf
Backed out changeset bc8bb2def82d, something's weird with this and we try to generate 9-argument traceable natives (maxargs is 8).
2010-02-03 17:10:23 -08:00
Boris Zbarsky
ede71f67a6
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
Ginn Chen
08a84668b4
Bug 537076 - jslock.cpp failed to compile with Sun Studio 12u1 on Solaris. r=jorendorff.
...
--HG--
extra : rebase_source : dff24a27c0d1464e18d2abeb72a400360db3267d
2010-02-03 11:02:07 -06:00
Igor Bukanov
f74b35769d
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 13:42:07 +03:00
Igor Bukanov
008691b6f9
Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes
2010-02-03 13:37:56 +03:00
Igor Bukanov
7aafadcc76
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 12:46:10 +03:00
Jason Orendorff
fe72db3caa
Bug 543565 - Assertion failure: fp->slots + fp->script->nfixed + js_ReconstructStackDepth(cx, fp->script, fp->regs->pc) == fp->regs->sp | Assertion failure: pcdepth + ndefs <= StackDepth(script) due to bug handling JSOP_POP after JSOP_UNBRAND. r=brendan.
2010-02-02 18:20:24 -06:00
Rick Reitmaier
140845622b
Bug 504202 - MIPS target support (r+graydon,rreitmai) [chris.dearman]
...
MIPS target support added courtesy of Chris Dearman.
--HG--
extra : convert_revision : 45136ae8db067291bb4b6595f6c4319675012cc5
2010-02-01 10:22:30 -08:00
Rick Reitmaier
692af9f981
Bug 508266 - nanojit X64 backend doesn't handle 64bit jumps (r+nnethercote,edwsmith)
...
--HG--
extra : convert_revision : 84a0590762f5a804b905378b74414294ed22cbe6
2010-01-28 15:25:07 -08:00
Steven Johnson
d3917616cd
Update comment about Thumb-2 usage to be grammatically correct, per nnethercote's suggestion.
...
--HG--
extra : convert_revision : 4520d720b2e3681edfeba915cd7d359231f24de8
2010-01-28 13:57:08 -08:00
Steven Johnson
66b97ac0b3
remove arm_thumb and arm_thumb2 flags (r=rreitmai,r=nnethercote,bug=541491)
...
--HG--
extra : convert_revision : b9b31e60f28eb87842aae9325944c1d03ca1b2a7
2010-01-28 13:37:40 -08:00
Jeff Walden
906c23f6c5
Bug 540985 - Regression in Peacekeeper string benchmarks due to regexp literals no longer tracing. A prototype of this patch was by bz. r=igor
2010-01-26 18:41:30 -08:00
Brendan Eich
7be53aed44
Add jstests.list entry for regress-541455.js.
2010-02-02 11:11:07 -08:00
Brendan Eich
afa77ac32c
Add test for 541455.
2010-02-02 11:10:19 -08:00
Brendan Eich
c42c170a64
Cleanup pass on bug 543119 (r=vlad).
2010-02-01 15:50:30 -08:00
Luke Wagner
7714144859
Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo)
2010-01-29 18:25:16 -08:00
Vladimir Vukicevic
ac27cfa766
b=543119; typed array tracing should be more const than it is; r=gal
2010-01-29 23:03:59 -08:00
Robert Sayre
c7ce498f03
Merge mozilla-central to tracemonkey.
2010-01-29 09:51:21 -08:00
Nicholas Nethercote
247420b724
Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (TM-specific part). r=dvander.
2010-01-28 09:43:36 +11:00
Nicholas Nethercote
6478f53e9b
Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote.
2010-01-28 09:41:07 +11:00
Nicholas Nethercote
832be7e522
Update nanojit-import-rev stamp.
2010-01-28 09:38:06 +11:00
Julian Seward
c0ca91a9e9
Bug 536153 - NativeARM.cpp: Incorrect use ALUr_shi to generate compare insns. r=Jacob.Bramley.
...
--HG--
extra : convert_revision : f4ece4c13545709edbd5b8f856ec39f155223892
2010-01-28 09:31:38 +11:00
Nicholas Nethercote
b61775ba66
Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (NJ-specific part). r=edwsmith.
...
--HG--
extra : convert_revision : 54cf6d39a21dc1e209d3e0e48bb6c2b61ab5f909
2010-01-28 08:45:29 +11:00
Edwin Smith
1cd47593e7
Fix unused local variable warning in NativePPC.cpp (r=me)
...
--HG--
extra : convert_revision : e58ebcf59d3eb1a75a4ad41df32db2794732284b
2010-01-27 10:17:19 -05:00
Steven Johnson
cc53ad5c4e
Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (r=rreitmai,nnethercote)
...
--HG--
extra : convert_revision : 90cd176398da34d02665e189e6311b72e8d3657d
2010-01-26 10:37:38 -08:00
Luke Wagner
89799b298a
Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst)
2010-01-25 08:48:07 -08:00
Igor Bukanov
836b8a84eb
bug 540805 - using reference counting only for empty scopes. r=jorendorff
2010-01-27 09:50:17 +03:00
Vladimir Vukicevic
10bddbda2d
b=542395; really enable typed array tracing and support JSOP_LENGTH; r=gal
2010-01-26 21:45:11 -08:00
Jeff Walden
de3dc07e82
Rearrange jsbuiltins.h's list of traceable natives by file. No bug, r=sparky
2010-01-26 18:20:04 -08:00
Igor Bukanov
7227718637
bug 541790 - do not purge again if the GC restarts. r=jorendorf
2010-01-26 22:27:09 +03:00
Luke Wagner
4040498e00
Fix ARM bustage, part deux
2010-01-26 04:41:00 -08:00
Nicholas Nethercote
8498d179bc
Bug 541886 - nanojit: move compile() into class Assembler (TM-specific part). r=dvander.
2010-01-26 14:06:13 +11:00
Nicholas Nethercote
7eb8623d12
Update nanojit-import-rev stamp.
2010-01-26 13:48:19 +11:00
Nicholas Nethercote
09e7e8d0a8
Bug 541886 - nanojit: move compile() into class Assembler. r=rreitmai.
...
--HG--
extra : convert_revision : f3506c693a7e8b7af089367313cbe960d7e2607f
2010-01-26 13:38:15 +11:00
Steven Johnson
1f13f206c4
Init rb to UnspecifiedReg in asm_fop (x64) to pacify compiler
...
--HG--
extra : convert_revision : 1cae250cda3ca1765fc3de8e057dccdd4522c358
2010-01-25 15:23:34 -08:00
Steven Johnson
f0de53c1ce
remove unused-parameter warning from Assembler::hint() in NativeX64.cpp to fix Linux64 build breakage
...
--HG--
extra : convert_revision : 5db4de482aca2e102551560de084c33bd4db2bc8
2010-01-25 15:04:22 -08:00
Steven Johnson
9c26cf7691
fix obviously wrong call to getTarget() in ValidateReader::read() for LIR_jtbl (r=me)
...
--HG--
extra : convert_revision : 0a24446567224c42ee3f421627ea644976fea3de
2010-01-25 11:56:01 -08:00
Steven Johnson
e0fe64337d
implement EXPANDED_LOADSTORE for ARM (code=vladimir,stejohns; r=vladimir,rreitmai; bug=534765)
...
--HG--
extra : convert_revision : 75f0d95c8bea8ceb0d9bb2dfd55aeb0d0d200bd1
2010-01-25 11:08:42 -08:00
Vladimir Vukicevic
dbeceb07e7
b=533659; tracing support for JS typed array types; r=gal
2010-01-25 17:06:36 -08:00
Graydon Hoare
a8e66a4bcd
Bug 526074 - handle nothing-to-import case in import script, r=gal.
2010-01-25 10:32:33 -08:00
Nicholas Nethercote
0789008cc7
Update nanojit-import-rev stamp.
2010-01-25 14:03:02 +11:00
Nicholas Nethercote
b2dcc26c38
Bug 538924 - nanojit: rework reservations. r=edwsmith.
...
--HG--
extra : convert_revision : 51a78a175b1074c933323e0bf24d6f64b5c6c35d
2010-01-25 10:39:36 +11:00
Nicholas Nethercote
fec7f356b0
ARM bustage fix for bug 540351.
...
--HG--
extra : convert_revision : 4a6d8a20be25e523d261f1754b0be90619fc0554
2010-01-25 09:44:47 +11:00
Nicholas Nethercote
a0704e558a
Bug 540351 - nanojit: refactor hint() and registerAlloc(). r=rreitmai.
...
--HG--
extra : convert_revision : fa4f34a51239317d312b9388f2eb9ca2631b463e
2010-01-25 09:40:11 +11:00
Nicholas Nethercote
126997f7d4
Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64() (TM-specific part). r=dvander.
2010-01-25 08:50:38 +11:00
Nicholas Nethercote
402ef4a279
Update nanojit-import-rev stamp.
2010-01-25 08:36:49 +11:00
Nicholas Nethercote
43cc6ace57
Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64(). r=dvander,stejohns.
...
--HG--
extra : convert_revision : f24a70adec4c24dffd3a9c6c3572c5755938291a
2010-01-25 08:25:04 +11:00
Steven Johnson
37c967beaf
nanojit/NativeARM.h: remove NJ_ARM_ARCH (code=bramley,r=stejohns,bug=541258)
...
--HG--
extra : convert_revision : cfcf246845a1fa07f60c791bdc471ed11a10351a
2010-01-22 12:39:57 -08:00
Edwin Smith
605b734ba8
(second try) Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
...
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.
It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated. If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.
A flag per code chunk is used so that only modified pages are unprotected and
reprotected.
CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.
nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX. Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.
--HG--
extra : convert_revision : 3c9030f46c15cc0f033592db6ba96674e1f5173b
2010-01-22 15:18:12 -05:00