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

20070 Коммитов

Автор SHA1 Сообщение Дата
Blake Kaplan 858e994ecc Don't push call contexts when we don't have to. r=jst 2010-05-19 18:26:29 -07:00
Blake Kaplan 507771115c Avoid calling nsXPConnect::GetWrapperFor in the common case of wrapping a global object in its own scope. r=jst 2010-05-19 18:26:15 -07:00
Nicholas Nethercote 0d2ffef49a Bug 565251 - TM: simplify TraceRecorder::guardClass(). r=dvander. 2010-05-19 18:09:54 -07:00
Sean Stangl d6238e4676 Fix ReprMeter build and x64 bugs (bug 567015, r=dvander). 2010-05-19 16:35:30 -07:00
Brendan Eich 42ff02c03a Fix hard-case destructurinv vs. for(var ...=... in ...) bug (558633, r=mrbkap). 2010-05-19 16:25:56 -07:00
Luke Wagner 78744f2989 Bug 566831 - add missing 'return' to FrameRegsIter (r=dvander) 2010-05-19 11:21:26 -07:00
Andreas Gal c917391e02 Don't leak native getters/setters into property descriptor objects (566914, r=brendan). 2010-05-19 14:43:17 -07:00
Julian Seward 9c90f418e0 Bug 557776 - js_InitTitle: initialize title->lock properly. r=jorendorff. 2010-05-19 15:36:56 -05:00
Andreas Gal a5b263897b Slowify dense arrays when used as 2nd argument of eval (566916, r=jwalden). 2010-05-19 12:19:44 -07:00
Jason Orendorff bcd051568e Bug 566549 - Crash [@ js_AllocSlot] or "Assertion failure: obj->map->ops->defineProperty == js_DefineProperty" with evalcx. r=brendan. 2010-05-19 13:23:53 -05:00
Andreas Gal 6785ffe1e9 Move the scripted proxies test into js1_8_5/extensions (bug 546590). 2010-05-19 02:08:53 -07:00
Igor Bukanov 991bd4709a 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 3c167a9dae Check for invalid eval scope argument (566000, r=brendan). 2010-05-19 01:24:57 -07:00
Brendan Eich 023d964169 Fix vp off-by-2 bug (566815, r=gal). 2010-05-19 00:59:49 -07:00
Andreas Gal f9f286c9d2 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 b746ab5037 Too much recursion crash with proxies (566790, r=brendan). 2010-05-19 00:13:02 -07:00
Andreas Gal c5fcb26173 Properly mark undefined call and construct hooks of function proxies (bug 566781, r=shaver). 2010-05-18 20:20:50 -07:00
Andreas Gal 9127323298 Add proxies test directory to Makefile.in (follow-up fix for bug 546590). 2010-05-18 20:00:18 -07:00
Andreas Gal 11fd8abaee Implement ES Harmony Proxies (bug 546590, r=mrbkap). 2010-05-18 19:21:43 -07:00
David Anderson 9990eee027 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 4ea64f746d 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 37af251076 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 16aaf8cf80 bug 564414 - defining XP_MACOSX on MACOSX. r=ted 2010-05-18 23:48:01 +02:00
Jeff Walden 3895f0192e Null-check the parent before attempting to outerize. rs=brendan 2010-05-18 14:13:22 -07:00
Luke Wagner aaf112946a Bug 566556 - Check for nslots == 0 in decompiler (r=waldo) 2010-05-18 10:11:49 -07:00
Igor Bukanov 1fd796d2df bug 566136 r=brendan 2010-05-18 16:51:11 +02:00
Andreas Gal 2415a10d07 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 51fe9a8f79 Fix recursing with inlining (bug 565373, r=luke). 2010-05-17 21:30:59 -07:00
Robert Sayre 58f0e99f4d Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Igor Bukanov ff12ba65c6 bug 563326 - followup to fix OOM reporting 2010-05-16 11:23:28 +02:00
Igor Bukanov 78ceaef176 Backed out changeset 5748e8ff4666 - I landed the wrong patch 2010-05-16 11:21:08 +02:00
Igor Bukanov 2c50378343 bug 563326 - followup to fix OOM reporting 2010-05-16 11:19:38 +02:00
Rasmus Jensen 0fe6e7e306 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 64f6f77fa1 E4X literals should be acceptable values for sharp variables. r=jwalden 2010-05-14 21:52:03 -07:00
Marco Bonardo 7441933cbd followup to Bug 553070. Fix test_xpcomutils.js permaorange. 2010-05-22 14:55:34 +02:00
Marco Bonardo 8ae7b6fb1f Forgot to enable the test for Bug 553070 2010-05-22 11:56:43 +02:00
Marco Bonardo ffd709aa8d Bug 553070 - Allow XPCOMUtils to do category registration for specific apps. r=sayrer 2010-05-22 10:41:00 +02:00
Brad Lassey 1c69fe6b0f bug 563751 - add configure option to js to enable building for thumb2 instruction set r=ted 2010-05-04 18:38:03 -04:00
Brad Lassey d34a8f6578 bug 559263 - implement jemalloc for android r=vlad 2010-05-25 11:28:14 -04:00
Robert Sayre 427567947e Merge tracemonkey to mozilla-central. 2010-05-24 16:27:35 -07:00
timeless@mozdev.org be9c57a19a Bug 565612 unreachable branch in js_InflateUTF8StringToBuffer. r=jorendorff
--HG--
extra : rebase_source : 64e41e13787b9a9c3cfb4faf987c6f6902293407
2010-05-23 15:40:59 -07:00
timeless@mozdev.org 0c58fef20e Bug 565595 glob is used uninitialized in XPCJSContextStack::GetSafeJSContext when JS_NewContext fails. r=jorendorff
--HG--
extra : rebase_source : 352876a6e35a7c811a0218f6a238fd602447e235
2010-05-23 15:38:35 -07:00
timeless@mozdev.org 7c9fd54c8e Bug 565593 crash [@ js_DestroyContext] if JS_NewContext fails in CancelExecution. r=jorendorff
--HG--
extra : rebase_source : a3d5e11c53a042e786560b90c2039f9183329a22
2010-05-23 15:37:31 -07:00
Vladimir Vukicevic a9a9acd619 Bug 564319 - Allow building ctypes on Android, r=ted 2010-05-20 18:19:01 -07:00
Jeff Walden 9362d39dc6 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 cb3b3e8e7b Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Mitchell Field cf0d37bf94 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 285cd10ac0 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 7ac5d86da4 Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay 0bc6709c73 Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay 98966a9e05 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 afd1cab4cb 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 99ac48f5b8 Backed out changeset 90d627f2471e (bug 564979) because it broke mochitests. 2010-05-17 14:59:49 -04:00
Boris Zbarsky 93a3d49314 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 6deef52726 Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander) 2010-03-03 18:10:13 -08:00
Gregor Wagner f154ed33d0 Bug 548388 GC Benchmark Suite. r=jorendorff 2010-05-14 11:17:14 -07:00
Igor Bukanov 61092fc843 bug 561364 - removal of JSRuntime::gcLevel. r=jorendorff 2010-05-14 15:55:17 +02:00
Luke Wagner 39a9e616c8 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Martin Husemann 9add15935b 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 b3bfd27fe1 bug 563345 - using js::HashMap for JSRuntime::threads. r=lw 2010-05-13 19:50:43 +02:00
Rasmus Jensen a5d6e39bf5 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 88c8a6d1a0 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 ccf6d88bac Backed out changeset 23efaeb8652b 2010-05-13 02:21:27 -07:00
Luke Wagner b4cfe93147 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Luke Wagner 6190a5ea18 Bug 565188 - simplify sp adjustment in checkTraceEnd (r=dvander) 2010-05-12 23:04:05 -07:00
Luke Wagner 2258062d86 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 53fddb784c Bug 564369 - streamline TokenStream::getChar(), part 11. r=cdleary.
--HG--
extra : rebase_source : 17731fc14ffa7d8ac7194baf2fe9bf72b7d2f7e5
2010-05-12 21:43:56 -07:00
Nicholas Nethercote 8809c7b6f4 Bug 564369 - streamline TokenStream::getChar(), part 10. r=cdleary.
--HG--
extra : rebase_source : e1eea6473ba5a27f6f0c397706c8a38026c4919c
2010-05-12 21:43:27 -07:00
Nicholas Nethercote 0819148df3 Bug 564369 - streamline TokenStream::getChar(), part 9. r=cdleary.
--HG--
extra : rebase_source : c9315a103358ec76fb572c67c7ba5ca2e049a22b
2010-05-12 21:43:01 -07:00
Nicholas Nethercote 10f28c9c67 Bug 564369 - streamline TokenStream::getChar(), part 8. r=cdleary.
--HG--
extra : rebase_source : 403e102ea4d5b135ea81095ebfd49835940ee4e7
2010-05-12 21:42:44 -07:00
Nicholas Nethercote 8ab25b287f Bug 564369 - streamline TokenStream::getChar(), part 7. r=cdleary.
--HG--
extra : rebase_source : 9017fa314243250ee90170772c5b5bbcbd244262
2010-05-12 21:42:16 -07:00
Nicholas Nethercote 6dec355749 Bug 564369 - streamline TokenStream::getChar(), part 6. r=cdleary.
--HG--
extra : rebase_source : ea659b37be1041d0599ad1152b85b669dd3617dd
2010-05-12 21:41:49 -07:00
Nicholas Nethercote b3c297543e Bug 564369 - streamline TokenStream::getChar(), part 5. r=cdleary.
--HG--
extra : rebase_source : a087a3706e0196962f1be094d697f27d0d476ad5
2010-05-12 21:41:24 -07:00
Nicholas Nethercote c17b3fb594 Bug 564369 - streamline TokenStream::getChar(), part 4. r=cdleary.
--HG--
extra : rebase_source : 5a09b4384740293ef0bbfe5b97454b684c8584ff
2010-05-12 21:40:59 -07:00
Nicholas Nethercote 73abfcf6d8 Bug 564369 - streamline TokenStream::getChar(), part 3. r=cdleary.
--HG--
extra : rebase_source : 4332c12ea549aebb95f72035104e5a47159626e1
2010-05-12 21:40:28 -07:00
Nicholas Nethercote 818150b648 Bug 564369 - streamline TokenStream::getChar(), part 2. r=cdleary.
--HG--
extra : rebase_source : 4148cba1faa670ee8a5147b78a339bf676d5fcae
2010-05-12 21:39:59 -07:00
Nicholas Nethercote e8faa8e904 Bug 564369 - streamline TokenStream::getChar(), part 1. r=cdleary.
--HG--
extra : rebase_source : d9e3d00e7798392242f7a4410c1825e8ff30af61
2010-05-12 21:39:32 -07:00
Nicholas Nethercote 4a6f7e4343 Bug 564581 - TM: avoid js_IdIsIndex() calls on trace. r=brendan. 2010-05-12 19:34:01 -07:00
Nicholas Nethercote 255173a58b 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 4f7893cb68 Bug 565521 - Add a test. r=sayrer 2010-05-12 18:18:54 -07:00
Blake Kaplan 2a027a744b 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 7a61158801 merge 2010-05-12 16:18:32 -07:00
Nicholas Nethercote ff7eee69f8 Fix compiler warnings. No bug, r=jorendorff via IRC. 2010-05-12 16:14:49 -07:00
Nicholas Nethercote f19cf12a9a Bug 565257 - TM: rename opcodes in jstracer.cpp. r=dvander. 2010-05-12 16:05:28 -07:00
Blake Kaplan e81dac065b Bug 564954 - Call the class hook even if not NEW_ENUMERATE. r=gal 2010-05-12 16:00:23 -07:00
Andreas Gal c112d3e1fe add missing parens in expression for clarity (no bug, r=mrbkap) 2010-05-12 15:42:05 -07:00
Andreas Gal 3f01ef74eb Bug 565199 - TM: trace-test failure in testGeneratorDeepBail, x64. r=dvander 2010-05-12 17:14:28 -04:00
Andreas Gal 3595dbe773 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 139834eeed b=561566,561299; typed array arg checking fix; r=jorendorff 2010-05-12 10:18:35 -07:00
Jason Orendorff 86f484c869 Merge. 2010-05-12 09:37:31 -05:00
Jason Orendorff 735b4b66f1 Backed out changeset 8cb8888c68d3 due to failing mochitests. 2010-05-12 09:34:03 -05:00
Robert Sayre 26005881f9 Disable most of test_wrappers.html until we fix 564954. 2010-05-12 10:33:47 -04:00
Jason Orendorff 3fc5a80570 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 a4dd60cb56 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 70d486e6b1 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 ab890a859e 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 e723a3bdd7 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 bb14b2954b 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 31252f1d56 Bug 564076: Small parser cleanup changes. (r=mrbkap) 2010-05-11 21:33:29 -07:00
Nicholas Nethercote ecd50ab8cf Bug 552592 - nanojit: split TMFLAGS=assembly in two (TM-only part). r=jseward. 2010-05-11 20:01:27 -07:00