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

18225 Коммитов

Автор SHA1 Сообщение Дата
Igor Bukanov fd15cf0041 bug 237006 - automatic detection of the native thread stack base. The patch is based on the initial patches for bug 516832 by gal and gregor. r=gregor 2010-05-19 10:29:05 +02:00
Andreas Gal ca55a2f0b8 Check for invalid eval scope argument (566000, r=brendan). 2010-05-19 01:24:57 -07:00
Brendan Eich f39e2a26c3 Fix vp off-by-2 bug (566815, r=gal). 2010-05-19 00:59:49 -07:00
Andreas Gal 05771704a1 Scripted proxy traps don't guarantee that numeric ids are JSVAL_INT (566806, r=brendan). 2010-05-19 00:21:04 -07:00
Andreas Gal 2e3fcf6766 Too much recursion crash with proxies (566790, r=brendan). 2010-05-19 00:13:02 -07:00
Andreas Gal 6c94c066bc Properly mark undefined call and construct hooks of function proxies (bug 566781, r=shaver). 2010-05-18 20:20:50 -07:00
Andreas Gal 3efbd51be0 Add proxies test directory to Makefile.in (follow-up fix for bug 546590). 2010-05-18 20:00:18 -07:00
Andreas Gal 9f8b556775 Implement ES Harmony Proxies (bug 546590, r=mrbkap). 2010-05-18 19:21:43 -07:00
David Anderson ce1ca3330e Don't execute trees if the inline call depth could exceed interpreter limits (bug 566639, r=luke). 2010-05-18 15:29:10 -07:00
Jason Orendorff 10d997d3e9 Bug 566665 - jstests.py -s should print command lines rather than lists of strings. r=dmandelin. 2010-05-18 17:04:27 -05:00
Dave Herman 645832011f bug 566695, r=jorendorff: js_DumpPC for easy printing current code context in gdb
--HG--
extra : rebase_source : a7e7662fb2271f408ecf5c3f26c6e639243484fc
2010-05-18 16:34:25 -05:00
Igor Bukanov ccb6629ebe bug 564414 - defining XP_MACOSX on MACOSX. r=ted 2010-05-18 23:48:01 +02:00
Jeff Walden ed4aae3773 Null-check the parent before attempting to outerize. rs=brendan 2010-05-18 14:13:22 -07:00
Luke Wagner ee36e7c878 Bug 566556 - Check for nslots == 0 in decompiler (r=waldo) 2010-05-18 10:11:49 -07:00
Igor Bukanov 2e3d928e5b bug 566136 r=brendan 2010-05-18 16:51:11 +02:00
Andreas Gal 69b4feafd6 Bulk clear GC bitmaps when GC starts instead of after the GC ends (565229, r=gregor). 2010-05-18 03:01:33 -07:00
David Anderson 47c15f7d65 Fix recursing with inlining (bug 565373, r=luke). 2010-05-17 21:30:59 -07:00
Robert Sayre 5da1b58f01 Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Igor Bukanov 16d6742d53 bug 563326 - followup to fix OOM reporting 2010-05-16 11:23:28 +02:00
Igor Bukanov c3be567c14 Backed out changeset 5748e8ff4666 - I landed the wrong patch 2010-05-16 11:21:08 +02:00
Igor Bukanov 45121d90be bug 563326 - followup to fix OOM reporting 2010-05-16 11:19:38 +02:00
Rasmus Jensen 362384bdb9 Followup for bug 335051, E4X literals should be acceptable values for sharp variables. r=me 2010-05-15 10:28:54 -07:00
Rasmus Jensen 1fe0904986 E4X literals should be acceptable values for sharp variables. r=jwalden 2010-05-14 21:52:03 -07:00
Marco Bonardo 44c93d30ab followup to Bug 553070. Fix test_xpcomutils.js permaorange. 2010-05-22 14:55:34 +02:00
Marco Bonardo 065ae2ea6c Forgot to enable the test for Bug 553070 2010-05-22 11:56:43 +02:00
Marco Bonardo 026c01b479 Bug 553070 - Allow XPCOMUtils to do category registration for specific apps. r=sayrer 2010-05-22 10:41:00 +02:00
Vladimir Vukicevic d72543c9ef Bug 564319 - Allow building ctypes on Android, r=ted 2010-05-20 18:19:01 -07:00
Jeff Walden 984fff647d Bug 565604 - Typed-array properties don't work when accessed from an object whose prototype is a typed array. r=vlad
--HG--
extra : rebase_source : 6ac630f7a9d2cb04a9a996c2a675be41130ea2b1
2010-05-19 14:25:20 -07:00
Ehsan Akhgari db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Mitchell Field 5a492220e0 Bug 516758 - Remove --disable-long-long-warning. r=ted
--HG--
extra : rebase_source : 33ac339a48174b0c84a6bf193b6fc2aabb42e6b6
2010-05-17 10:58:00 -04:00
Peter Van der Beken 54bcc2ef87 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add support for non-templated custom quickstubs for an interface. r=jst. 2010-05-06 14:16:32 +02:00
Olli Pettay 927111fb28 Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay 1c104f5606 Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay c719bc6e84 Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Jason Orendorff e0e949e522 Bug 564344 - Crash or "Assertion failure: slot < (this)->scope()->freeslot, at ../jsscope.h:563" @ JSObject::getSlot(unsigned int) when redefining property. r=brendan.
--HG--
extra : transplant_source : %9A%DA%EE%06%F2V%B6%C6%03x%26%985%BA%CF%D0%BE%A88Q
2010-05-10 18:43:34 -05:00
Boris Zbarsky 1039a51c26 Backed out changeset 90d627f2471e (bug 564979) because it broke mochitests. 2010-05-17 14:59:49 -04:00
Boris Zbarsky 3bf9b562d1 Bug 564979. Get rid of nsINode::GetSibling and just use GetNext/PreviousSibling instead. r=peterv, sr=sicking 2010-05-17 14:18:25 -04:00
Luke Wagner c6e4fdb2b9 Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander) 2010-03-03 18:10:13 -08:00
Gregor Wagner f06b27db7a Bug 548388 GC Benchmark Suite. r=jorendorff 2010-05-14 11:17:14 -07:00
Igor Bukanov ca8526460f bug 561364 - removal of JSRuntime::gcLevel. r=jorendorff 2010-05-14 15:55:17 +02:00
Luke Wagner dcaba6f07a Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Martin Husemann 8948aa2dca 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 4c7a1014cf bug 563345 - using js::HashMap for JSRuntime::threads. r=lw 2010-05-13 19:50:43 +02:00
Rasmus Jensen b2f96b0ac7 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 8542ab22a5 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 7c4734699c Backed out changeset 23efaeb8652b 2010-05-13 02:21:27 -07:00
Luke Wagner aa5db3e83b Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Luke Wagner 35e02d3b6c Bug 565188 - simplify sp adjustment in checkTraceEnd (r=dvander) 2010-05-12 23:04:05 -07:00
Luke Wagner d661c78f0e 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 778d7d92c2 Bug 564369 - streamline TokenStream::getChar(), part 11. r=cdleary.
--HG--
extra : rebase_source : 17731fc14ffa7d8ac7194baf2fe9bf72b7d2f7e5
2010-05-12 21:43:56 -07:00
Nicholas Nethercote f2e85fd7b9 Bug 564369 - streamline TokenStream::getChar(), part 10. r=cdleary.
--HG--
extra : rebase_source : e1eea6473ba5a27f6f0c397706c8a38026c4919c
2010-05-12 21:43:27 -07:00
Nicholas Nethercote 1c78055f18 Bug 564369 - streamline TokenStream::getChar(), part 9. r=cdleary.
--HG--
extra : rebase_source : c9315a103358ec76fb572c67c7ba5ca2e049a22b
2010-05-12 21:43:01 -07:00
Nicholas Nethercote 785e4e40d7 Bug 564369 - streamline TokenStream::getChar(), part 8. r=cdleary.
--HG--
extra : rebase_source : 403e102ea4d5b135ea81095ebfd49835940ee4e7
2010-05-12 21:42:44 -07:00
Nicholas Nethercote 029904ede6 Bug 564369 - streamline TokenStream::getChar(), part 7. r=cdleary.
--HG--
extra : rebase_source : 9017fa314243250ee90170772c5b5bbcbd244262
2010-05-12 21:42:16 -07:00
Nicholas Nethercote 4cf7a4348c Bug 564369 - streamline TokenStream::getChar(), part 6. r=cdleary.
--HG--
extra : rebase_source : ea659b37be1041d0599ad1152b85b669dd3617dd
2010-05-12 21:41:49 -07:00
Nicholas Nethercote 31e0b50127 Bug 564369 - streamline TokenStream::getChar(), part 5. r=cdleary.
--HG--
extra : rebase_source : a087a3706e0196962f1be094d697f27d0d476ad5
2010-05-12 21:41:24 -07:00
Nicholas Nethercote cce59347f0 Bug 564369 - streamline TokenStream::getChar(), part 4. r=cdleary.
--HG--
extra : rebase_source : 5a09b4384740293ef0bbfe5b97454b684c8584ff
2010-05-12 21:40:59 -07:00
Nicholas Nethercote c4ed06116d Bug 564369 - streamline TokenStream::getChar(), part 3. r=cdleary.
--HG--
extra : rebase_source : 4332c12ea549aebb95f72035104e5a47159626e1
2010-05-12 21:40:28 -07:00
Nicholas Nethercote f8d3c6723f Bug 564369 - streamline TokenStream::getChar(), part 2. r=cdleary.
--HG--
extra : rebase_source : 4148cba1faa670ee8a5147b78a339bf676d5fcae
2010-05-12 21:39:59 -07:00
Nicholas Nethercote 82e3ad898c Bug 564369 - streamline TokenStream::getChar(), part 1. r=cdleary.
--HG--
extra : rebase_source : d9e3d00e7798392242f7a4410c1825e8ff30af61
2010-05-12 21:39:32 -07:00
Nicholas Nethercote 3cf40ab522 Bug 564581 - TM: avoid js_IdIsIndex() calls on trace. r=brendan. 2010-05-12 19:34:01 -07:00
Nicholas Nethercote 92ff244a02 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 5f83d3e778 Bug 565521 - Add a test. r=sayrer 2010-05-12 18:18:54 -07:00
Blake Kaplan 0782ed0cf3 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 d13219c069 merge 2010-05-12 16:18:32 -07:00
Nicholas Nethercote 4a6fde9508 Fix compiler warnings. No bug, r=jorendorff via IRC. 2010-05-12 16:14:49 -07:00
Nicholas Nethercote e26c4972f0 Bug 565257 - TM: rename opcodes in jstracer.cpp. r=dvander. 2010-05-12 16:05:28 -07:00
Blake Kaplan f70491c0c9 Bug 564954 - Call the class hook even if not NEW_ENUMERATE. r=gal 2010-05-12 16:00:23 -07:00
Andreas Gal 2772beea45 add missing parens in expression for clarity (no bug, r=mrbkap) 2010-05-12 15:42:05 -07:00
Andreas Gal a24fcfcaf4 Bug 565199 - TM: trace-test failure in testGeneratorDeepBail, x64. r=dvander 2010-05-12 17:14:28 -04:00
Andreas Gal f8b170b505 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 0aaf622c3a b=561566,561299; typed array arg checking fix; r=jorendorff 2010-05-12 10:18:35 -07:00
Jason Orendorff 19da25d185 Merge. 2010-05-12 09:37:31 -05:00
Jason Orendorff 2513543588 Backed out changeset 8cb8888c68d3 due to failing mochitests. 2010-05-12 09:34:03 -05:00
Robert Sayre f92fe5bcba Disable most of test_wrappers.html until we fix 564954. 2010-05-12 10:33:47 -04:00
Jason Orendorff cc4b331e7a 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 424f3e2bab 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 1e779602f9 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 13a23444f7 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 cc75e738a6 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 bfb31e4bd2 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 9269ff7364 Bug 564076: Small parser cleanup changes. (r=mrbkap) 2010-05-11 21:33:29 -07:00
Nicholas Nethercote d43d32eda6 Bug 552592 - nanojit: split TMFLAGS=assembly in two (TM-only part). r=jseward. 2010-05-11 20:01:27 -07:00
Nicholas Nethercote 63c7c43337 Update nanojit-import-rev stamp. 2010-05-11 20:00:24 -07:00
Nicholas Nethercote 35e2b79100 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 423b80169e 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 702c3d71cf Bug 562597 - nanojit: more LOpcode-related renamings. r=edwsmith.
--HG--
extra : convert_revision : 96391e53a0b48bd53fa98db68da86f76a55e9bd0
2010-05-11 17:14:20 -07:00
Nicholas Nethercote 52438e7376 Update nanojit-import-rev stamp. 2010-05-11 16:54:19 -07:00
Edwin Smith f57e14ba1f 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 a379f808a7 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 934045db1f 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 9f8d3f7aac 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 4f49a40676 ARM bustage fix for bug 564080. r=me.
--HG--
extra : convert_revision : 98eb4dff32af55697aac78f7c89c4a3b56cb01fa
2010-05-06 16:18:51 -07:00
Nicholas Nethercote 5e2a3e9319 Bug 564080 - nanojit: merge LIR_alloc[iq]. r=edwsmith.
--HG--
extra : convert_revision : bf229d93127ae64ffa62f4c872c2319bbc4dc59b
2010-05-06 16:13:11 -07:00
Edwin Smith e07599d930 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 adb400137c 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 8d68822302 Pick initialization nit. 2010-05-11 14:05:35 -07:00
Robert Sayre ac239c8785 Merge. 2010-05-11 16:37:47 -04:00
Robert Sayre d371f6cf09 Backed out changeset 60c4693a80ef 2010-05-11 16:37:18 -04:00
Robert Sayre 5d299c6212 Merge. 2010-05-11 11:52:40 -04:00
Robert Sayre 37cd68aba5 Backed out changeset 919950c7f0f0 2010-05-11 11:52:17 -04:00
Robert Sayre 5b5c0c4f89 Backed out changeset e0d454817dfd 2010-05-11 11:50:58 -04:00
Robert Sayre e4ae828674 fix debug build bustage from Bug 559408. 2010-05-11 08:40:08 -04:00
Igor Bukanov 90520649c3 bug 563345 - using js::HashMap for JSRuntime::threads. r=lw 2010-05-11 09:49:28 +02:00
Igor Bukanov 3d02ee26a9 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 f7037b6fc1 Bug 559408: Arena pool macros to methods. (r=gal) 2010-05-10 21:46:52 -07:00
Jason Orendorff ea6e16fddc 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 780e84b337 can't trace generator close, follow up for 558754, CLOSED TREE 2010-05-07 19:19:19 -07:00
Andreas Gal 811ac4cf75 fast object iteration (558754, r=brendan, CLOSED TREE). 2010-05-07 17:52:52 -07:00
Andreas Gal 9eb74b5896 xml[index] only works for JSXML_CLASS_LIST (564377, r=brendan, CLOSED TREE). 2010-05-07 13:33:57 -07:00
Dan Witte a8e8a3a023 Bug 562809 - js::HashTable::init(n) should guarantee success of next 'n' add()s. r=luke 2010-05-06 09:14:43 -07:00
Blake Kaplan 470ce2375e Fix bug 563243. r=jorendorff
--HG--
extra : rebase_source : 4d0b7a62b0b1c458e2bb7f109e98da604ecba03a
2010-05-03 15:23:01 -07:00
Nicholas Nethercote 152a313e86 Bug 562857 - TM: use LIR_d2i instead of js_DoubleToInt32() when possible. r=gal. 2010-05-05 16:50:50 -07:00
Dan Witte cfb13c40b6 Fix crash. 2010-05-05 15:57:34 -07:00
Chris Leary 722688276e Bug 563870: Fix dtrace linker error. (r=dvander) 2010-05-05 15:32:47 -07:00
Chris Leary 818594c92d Bug 551763: Fix deletion of arguments ident. (r=Waldo) 2010-05-05 15:20:12 -07:00
Chris Leary 694491d4cc Bug 556657: Fix test description. (r=Waldo) 2010-05-05 14:04:16 -07:00
Dan Witte 7991b7ed44 Address review comment from bug 551982. r=benjamn 2010-05-05 12:01:28 -07:00
David Mandelin b2accb9a49 Bug 563842: Make PRMJ_Now always high-resolution in Windows shell builds, r=brendan 2010-05-04 18:06:30 -07:00
Luke Wagner 031310bf07 Bug 563845 - skip jsval-to-jsid conversion when jsval is a jsid (r=igor) 2010-05-04 18:24:13 -07:00
Nicholas Nethercote 4e1453ef5b Bug 563575 - encapsulate jsobj.cpp dslots accesses. r=brendan. 2010-05-04 20:28:38 -07:00
Jeff Walden 5b5fbd3b31 Slightly better single-thread fix to parent() in jsshell. r=foopy 2010-05-04 19:50:53 -07:00
Chris Leary cba4d44b02 Fix shell build break on non-threadsafe. (r=me) 2010-05-04 19:34:21 -07:00
Jeff Walden 2fe1b54c7f Fix bustage from not renaming a variable appropriately in a copy-paste. r=red 2010-05-04 18:27:50 -07:00
Jeff Walden b97410bfd2 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 08d3d1fa5e Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan. 2010-05-04 17:29:42 -07:00
Nicholas Nethercote 5d69105a08 Bug 563590 - TM: rename opcodes in jsregexp.cpp, jsrecursion.cpp. r=dvander. 2010-05-04 16:26:18 -07:00
Jeff Walden 7774574652 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 051f2a2bc4 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
Jeff Walden 23aeebc511 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Jeff Walden 4532818401 Fix typo in patch for bug 562193, r=firebot 2010-04-28 15:54:28 -07:00
Jeff Walden ef40b312bb Bug 560566 - Add this particular failure mode to the Object.defineProperty megatests. r=jorendorff 2010-04-22 18:53:54 -07:00
Luke Wagner 155f8add0a 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 e02e45f8c5 Pretty-up some tcflag use in the parser and emitter (bug 563568, r=cdleary). 2010-05-03 20:53:55 -07:00
Dan Witte 363707c78c 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 2a0914b781 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 5667b860bf 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 499f64a027 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 f65f9eecf6 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 524c85460a 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 cb43b0920f 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 7a6a0f9780 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 a7cca87a4b 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 8ec1a8b93a Merge. 2010-05-03 12:32:11 -04:00
Robert Sayre ab9d581867 Update dense array cloning with new factoring of getDenseArrayCapacity 2010-05-03 11:19:45 -04:00
Robert Sayre 66e25b27c2 Merge mozilla-central to tracemonkey. 2010-05-03 11:03:37 -04:00
Nicholas Nethercote d5473673a7 Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan. 2010-05-02 21:42:09 -07:00
Chris Leary 92daf97ae0 Bug 563259: Fix shark/dtrace enabled combo. (r=me) 2010-05-02 17:14:44 -07:00
Luke Wagner 4aed3f545c Bug 563167 - propagate error out of Parse (r=cdleary) 2010-05-02 10:24:17 -07:00
Luke Wagner 106d910fe5 Missed an init() in c6857d0b1e9f 2010-05-01 13:32:10 -07:00
Luke Wagner 46de2b3cf8 Bug 563123 - use js::HashMap for JSCodeGenerator::constList (r=igor) 2010-05-01 12:53:14 -07:00
Luke Wagner 212a59b04d Bug 563120 - test for failure earlier in js_TestXMLEquality (r=waldo) 2010-05-01 12:43:43 -07:00
Luke Wagner 2c60a4741a Bug 558270 - unroll Duff proper (r=waldo) 2010-04-30 18:48:55 -07:00
Robert Sayre 6b8e2de7b2 Merge mozilla-central to tracemonkey 2010-04-28 11:11:48 -04:00
Igor Bukanov 8998564be0 bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan 2010-04-28 14:34:02 +02:00
Ginn Chen a4a60c36c5 Bug 562001 nanojit failed to compile on Solaris x86_64 r=gal 2010-04-28 17:36:04 +08:00
Gary Kwong 93dca04ef2 Bug 369696 - fix bug number in tests, r=bclary. 2010-04-28 00:00:08 -07:00
Brendan Eich 11c13e6c36 Resolve sharpSlots vs. var-in-with grudge match (561011, r=mrbkap). 2010-04-27 21:35:28 -07:00
Brendan Eich 0011558f08 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 bdfc8c830c Back out my last commit due to orange. 2010-04-27 20:22:57 -07:00
Nicholas Nethercote e9f19b59dd Update nanojit-import-rev stamp. 2010-04-27 19:46:18 -07:00
Nicholas Nethercote 2b4732e779 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 3b774f3949 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 2220af9ccd 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 25ef351979 Fixed clamping bug in typed arrays (bug 561813, r=vlad). 2010-04-27 19:14:08 -07:00
Nicholas Nethercote eb4578183a Update nanojit-import-rev stamp. 2010-04-27 16:33:36 -07:00
Nicholas Nethercote 8455a64633 Fix ARM bustage caused by bug 555255. r=me.
--HG--
extra : convert_revision : fd2a6c5b65a0f4fd4e09fa0366a626e97850f39b
2010-04-27 15:41:17 -07:00
Nicholas Nethercote 4c00a678f6 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 f13271426d 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 2cd6abfcc1 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 15ca9d665c Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC. 2010-04-27 17:43:20 -05:00
timeless cb8031fbcb Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte 2010-04-27 14:59:53 -07:00
Mike Moening f8b6745741 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander 2010-04-27 14:17:11 -07:00
Jason Orendorff 8be6c16547 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 3926cff290 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 c4e3fe74e3 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 c239191edb 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 53b71b9fa9 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 ae1a9ad46d bug 553033 - replacing the background free list with a vector. r=jwalden 2010-04-27 15:46:24 +02:00
Jacob Bramley 7505753561 Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad] 2010-04-27 08:31:36 +01:00
Jason Orendorff 94f094c3c6 Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo). 2010-04-26 22:35:49 -07:00
Nicholas Nethercote c37c32afcb Update nanojit-import-rev stamp. 2010-04-26 22:08:05 -07:00
Nicholas Nethercote 311abce9f8 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 1832b6be55 Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith d6a6e57a1e Fixed whitespace drift.
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier 08a1347b19 fix PPC debug-only build breakage
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier 49be20eb0d 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 32460124af 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 65fec3f07a 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 0609ba3991 Don't bother tracing some elem sets yet (bug 561939, r=gal). 2010-04-26 20:29:49 -07:00
Andreas Gal e45b03c2fe Merge. 2010-04-26 19:07:10 -07:00
Andreas Gal 1ab3f38602 Backed out changeset 35c25547a135 (bug 560358). 2010-04-26 19:06:51 -07:00
Nicholas Nethercote ae0acc8e1f Bug 560774 - encapsulate array-related dslots accesses. r=brendan. 2010-04-26 18:33:36 -07:00
Dan Witte 941ea88f8d Backing out due to bustage. 2010-04-26 15:16:05 -07:00
Mike Moening b97614877b Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander 2010-04-26 14:15:18 -07:00
Jesse Ruderman 7c863b6a0d Bug 561672 - JS_Assert should fflush(stderr). r=shaver 2010-04-26 13:50:56 -07:00
Dan Witte c6ae208684 Bug 561619 - JS CTypes has a build dependency bug. r=sayrer 2010-04-26 13:26:53 -07:00
Luke Wagner 7e5f6969d7 Bug 560798 - propagate errors from deep-aborted natives (r=gal) 2010-04-26 09:30:06 -07:00
Boris Zbarsky f50b5678e0 Bug 556830 followup to fix debug bustage 2010-04-26 11:15:33 -04:00
Boris Zbarsky bfc53cfd21 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