Commit Graph

9354 Commits

Author SHA1 Message Date
Jason Orendorff
36455669c8 Bug 568070 - jsapi.cpp refactoring. Part 4, eliminate redundancy in Define functions. r=Waldo.
--HG--
extra : rebase_source : 2fdce2843e83f73892a19387ae2e8c7280f63e1b
2010-06-02 00:30:36 -07:00
Jason Orendorff
7a82abbc1b Bug 568070 - jsapi.cpp refactoring. Part 3, eliminate redundancy in Lookup, Has, and AlreadyHas functions. r=Waldo.
--HG--
extra : rebase_source : 7ac0bcdd4cbfc43398afed590588945d9968936f
2010-06-02 00:29:27 -07:00
Jason Orendorff
b776dfabce Bug 568070 - jsapi.cpp refactoring. Part Q, CHECK_REQUEST in js_Atomize and js_AtomizeChars, as requested in reviews.
--HG--
extra : rebase_source : 33f35f7723315a96ccf15d72d23df00e5dd9a238
2010-06-02 00:23:43 -07:00
Jason Orendorff
c0a1052f82 Bug 568070 - jsapi.cpp refactoring. Part 2, whitespace changes. r=Waldo.
--HG--
extra : rebase_source : 8d3c5411ea4bb54c10c5fb00da08474390f1a7eb
2010-06-01 21:50:54 -07:00
Jason Orendorff
36e472fba8 Bug 568070 - jsapi.cpp refactoring. Part 1, rearrange functions. No behavior change. r=Waldo.
--HG--
extra : rebase_source : 88efb983301501cbb648611e4f8d6c87ebffa2a3
2010-06-01 21:39:48 -07:00
Jeff Walden
f1e28c8e25 Fix test expectations for new error messages, r=orange 2010-06-01 21:31:18 -07:00
Jason Orendorff
e7ae1fdb12 Merge. 2010-06-01 21:21:36 -07:00
Jason Orendorff
bf6f2c259c Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan. 2010-06-01 21:18:49 -07:00
Brendan Eich
dd3fb0ab0f Trace JSOP_DEL{PROP,ELEM} (523452, r=gal). 2010-06-01 19:42:37 -07:00
Brendan Eich
3f7c00b2c9 Can't rely on UINT16_MAX cross-platform (followup for 569391, bustage fix). 2010-06-01 17:21:01 -07:00
Andreas Gal
0119ec2a9a Properly handle errors during lookup when recording JSOP_IN (569384, r=luke). 2010-06-01 15:45:16 -07:00
Brendan Eich
9c5f58d3ca Call instances uniquely shaped at birth due to lack of runtime-shared empty scope (569391, r=jorendorff). 2010-06-01 15:01:11 -07:00
Rich Walsh
ea28a37159 Bug 568068 - fix jscntxt/jsnativestack build breaks on OS/2 (r=wuno) 2010-06-01 14:48:58 -07:00
David Mandelin
4057e31aea Bug 568991: allow shell jstests to run from 'src' directories, r=vlad 2010-05-28 16:51:06 -07:00
Andreas Gal
9ddcbe92a3 Don't use tinyids in jsregexp.cpp (569115, r=jorendorff, brendan). 2010-05-30 18:31:04 -07:00
Andreas Gal
f5c054ecec Nit patrol shot me down. Follow-up nits for bug 569114. 2010-05-30 17:27:56 -07:00
Andreas Gal
c84cee0514 Don't use tinyids in jsxml.cpp (569114, r=jorendorff). 2010-05-30 17:02:09 -07:00
Marco Perez
8b429d23a7 bug 569145 - fixing FreeBSD regression from the bug 237006. r=igor 2010-05-30 22:50:11 +02:00
Brendan Eich
66e2a9929e Nit patrol flies at dawn, spots minor spacing infractions. 2010-05-30 11:40:14 -07:00
Jason Orendorff
ef28c57f9e Fix js shell test runner to cope with assert-if. No bug, r=cdleary.
--HG--
extra : rebase_source : fc5685b3195dd9f4d34df5b38d61d70112f3ec17
2010-05-30 00:57:13 -07:00
Andreas Gal
336333df60 Follow-up for bug 568966. js_Call is never called with JSFRAME_CONSTRUCT. 2010-05-29 19:43:24 -07:00
Andreas Gal
3026562007 Improve error reporting for proxy handlers and __iterator__ (568966, r=brendan). 2010-05-29 19:04:01 -07:00
Andreas Gal
567a99fb7e Must resolve standard classes even when assigning (568826, r=jorendorff). 2010-05-29 18:59:50 -07:00
Igor Bukanov
368d84dcd5 bug 568285 - jstests.py: option to write list of failures to a file. r=dmandelin 2010-05-29 23:15:53 +02:00
Jacek Caban
1195ed3cc1 Fix NativeCompareAndSwap bustage on mingw (bug 568464, r=dvander). 2010-05-29 12:33:19 -07:00
Andreas Gal
f29c1a11df Properly propagate deep aborts from within js_FindIdentifierBase (568855, r=dvander). 2010-05-29 00:24:26 -07:00
Andreas Gal
8aefb376a8 The iterate() trap of proxy handlers must return an object (568867, r=brendan). 2010-05-28 15:02:33 -07:00
Igor Bukanov
8a9dacca13 Backed out changeset 1070cd7a9da0 2010-05-28 14:19:20 +02:00
Igor Bukanov
28c45dfff3 bug 516832 - temporaral landing to get tinderbox stats 2010-05-28 14:09:25 +02:00
Igor Bukanov
95e3f4ccd7 bug 568303 r=brendan 2010-05-28 10:03:06 +02:00
Igor Bukanov
e31161b87b bug 568485 - fixing my bad typos in other patches. r=brendan 2010-05-28 10:00:07 +02:00
Andreas Gal
8c3e167f37 Update our local copy of the V8 benchmarks to the latest test harness. 2010-05-27 17:15:56 -07:00
Jason Orendorff
4426bcc441 Bug 533592, part 2 - Get rid of BYPASS code in XPCNativeWrappers. r=mrbkap.
--HG--
extra : rebase_source : 69e23e74b696b58f2f0a8c89b1d120e2cbb35084
2010-05-27 12:34:28 -07:00
Jason Orendorff
d7cbea1f4d Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07:00
Jason Orendorff
020bbaf05d Bug 568379, part 2 - Remove support for "shallow" XPCNativeWrappers, thus eliminate FLAG_DEEP. r=mrbkap.
--HG--
extra : rebase_source : 324fea0a26640cdd2d2ac169d901f4619cb2b4c0
2010-05-27 12:32:26 -07:00
Jason Orendorff
b429d9ab76 Bug 568379, part 1 - Remove hasStringArgs weirdness from XPCNativeWrapper constructor. r=mrbkap.
--HG--
extra : rebase_source : 9db4cc0f4d436d015645d074d64137a1d88e5c66
2010-05-27 12:30:37 -07:00
Jason Orendorff
9cddfe0be7 Avoid warning in jsapi-tests/tests.h due to printf type mismatch. No bug, rs=Waldo.
--HG--
extra : rebase_source : 22429e5178fa794fc06da843ba8046a2678ca114
2010-05-27 11:18:06 -07:00
Brendan Eich
f3b00954e9 Followup for 568148 to cure orange from e4x/decompilation/regress-463360.js. 2010-05-27 14:33:57 -07:00
Jeff Walden
f21160d5f0 Fix bustage, add prmjtime.h to the list of headers... 2010-05-27 13:15:51 -07:00
Andreas Gal
8df6c7db72 Fix for bug 568413: I accidentally removed a required () pair when fixing formating nits. 2010-05-27 12:49:14 -07:00
Jeff Walden
16068a18f0 Bug 563938 - Refactor units-of-time used in computing DST offsets. r=sayrer
--HG--
extra : rebase_source : 38ffc11fbd00aaca53fb399e6ff2c1cec4cc5f3b
2010-05-26 17:00:28 -07:00
Jeff Walden
e98ca56524 Bug 563938 - Refactor DST offset computation to pave the way for caching the DST offset when possible. No functionality change. r=sayrer
--HG--
extra : rebase_source : ad70045b70cc23dd7578e594490a10b4fc6fc7ef
2010-05-26 17:00:28 -07:00
Andreas Gal
22db0647cc Implement iterate trap for proxy handlers (568413, r=brendan). 2010-05-27 12:03:25 -07:00
Andreas Gal
e85c97aafb Stringify property names when invoking scripted proxy handlers (568051, r=mrbkap). 2010-05-27 12:01:55 -07:00
Igor Bukanov
f362c01610 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:57:55 +02:00
Igor Bukanov
735d63b45a Backed out changeset c78751701c46 - wrong commit 2010-05-27 16:56:34 +02:00
Igor Bukanov
b4468fa229 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:51:44 +02:00
Igor Bukanov
823bff32f4 Backed out changeset 7ebdbaba843a - that was temporary commit 2010-05-26 14:04:15 +02:00
Igor Bukanov
ef5bf20abd bug 516832 - temporary landing to collect tinderbox logs 2010-05-26 13:40:49 +02:00
Igor Bukanov
69c8687fd7 bug 568073 r=brendan 2010-05-26 12:56:57 +02:00
Brendan Eich
5ecc39b6b9 Strengthen our onlyXML checking (568148, r=gal). 2010-05-25 20:49:14 -07:00
Gregor Wagner
da2ef31170 Bug 568045 HashTable::Range::front should return a non-const Entry. r=lw 2010-05-25 16:23:54 -07:00
Igor Bukanov
e496ace8f3 bug 566141 r=brendan 2010-05-25 12:54:55 +02:00
Blake Kaplan
f17d997577 Bug 566773 - Don't force indirect eval to have a callobj. r=brendan
--HG--
extra : rebase_source : 3b16f2a9fe4918abf9f5bee9d6ecd37a4d62c290
2010-05-24 15:53:11 -07:00
Andreas Gal
dcae10deae Make proxy API internal, allow JSObject::swap on functions (566818, r=brendan). 2010-05-24 14:33:03 -07:00
Andreas Gal
8e4c06cea9 Add a GC mark hook to C++ proxy handlers (567055, r=mrbkap). 2010-05-24 14:26:36 -07:00
Andreas Gal
edb127f3b4 If lookupProperty fails, recording is already aborted (567068, r=luke). 2010-05-24 14:20:19 -07:00
Andreas Gal
827b329995 Abort recording if js_FindIdentifierBase fails (567580, r=brendan). 2010-05-24 14:16:58 -07:00
Patrick Walton
7a314129ce Bug 546097 - Narcissus: replace the regex-based lexer with a handwritten one; remove GLOBAL. r=brendan
--HG--
extra : rebase_source : a0cfac8bbbd86302530b3cbe9e82b161a5db2ac4
2010-05-24 13:43:21 -07:00
Robert Sayre
5f6f628e47 Merge 2010-05-24 13:24:52 -07:00
Robert Sayre
cac17c1ecd Disable msvc warning C4800 2010-05-24 13:24:09 -07:00
Brendan Eich
5679f25545 Fix getter vs. method pointer issues (567066, r=jwalden). 2010-05-24 10:48:32 -07:00
Robert Sayre
def349ad75 Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07:00
Jory A. Pratt
c9e150d2ca Bug 555562 - remove xpctools as no maintainer in 3 years. r=shaver 2010-05-24 11:31:27 +02:00
David Anderson
e2e1e9a8cc Backed out changeset 0f0f444d57ad 2010-05-23 22:09:41 -07:00
David Anderson
fd993d7db3 Deoptimize uses inside polluted scopes (bug 561923 part 3, r=brendan). 2010-05-23 17:15:01 -07:00
David Anderson
b51e272cf2 Avoid resolving while looking up constants during parsing (bug 561923 part 2, r=brendan). 2010-05-23 17:14:59 -07:00
David Anderson
7d51777143 Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap). 2010-05-23 17:14:56 -07:00
David Anderson
e1e1715771 Reserve standard class properties in global objects (bug 561923 part 1, r=brendan). 2010-05-23 17:12:08 -07:00
Luke Wagner
b7325ce98e Bug 567627 - fix strict-aliasing violation in jsgc (r=igor) 2010-05-23 13:38:29 -07:00
Igor Bukanov
2dc14c17ba bug 558150 - js_GC outside a request must wait for other GC to finish. r=jorendorff 2010-05-22 21:49:58 +02:00
Jason Orendorff
a40a1841c1 Bug 530688 - Do not use std::string or iostreams in jsapi-tests. r=Waldo.
--HG--
extra : rebase_source : a87186b5db07a158add196a59937e65f3cbcc0ca
2010-05-22 06:09:17 -05:00
Igor Bukanov
b901f571e8 bug 566949 - always allow JS_malloc to be called outside a request or from a GC. r=jorendorff 2010-05-22 13:07:29 +02:00
Andreas Gal
fd6436223d Don't mark descriptor obj if it is NULL (567387, r=jorendorff). 2010-05-21 10:37:56 -07:00
Jason Orendorff
40d0fb0842 Bug 513065 - Part 3, Stay on trace when calculating scope in thisObject hook. r=mrbkap. 2010-05-21 07:27:00 -05:00
Andreas Gal
39f2723c14 Follow-up fix for bug 567059. 2010-05-21 00:19:09 -07:00
Andreas Gal
aa1254011a Abort tracing if we come across a non-native object (567059, r=dvander). 2010-05-20 21:01:27 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Martin Stránský
1507192afe Make ipc/ build with gcc 4.1.2. r=cjones 2010-05-24 09:36:49 +12:00
Nicholas Nethercote
6ded3c8f40 Fix a compiler warning on opt builds. No bug, r=gal via IRC. 2010-05-20 16:12:41 -07:00
Nicholas Nethercote
16a233b934 Bug 566759 - Remove LOpcode aliases once they are no longer used (TM-specific part). r=gal via IRC. 2010-05-20 16:04:17 -07:00
Nicholas Nethercote
12ed619c14 Update nanojit-import-rev stamp. 2010-05-20 15:58:16 -07:00
Edwin Smith
603d2206c9 whitespace hygiene
--HG--
extra : convert_revision : f96ca24c15235dba3282e3649356b6a7acf5d2e2
2010-05-19 20:54:10 -04:00
Edwin Smith
09708715d6 Bug 560570 - ARM arch detection for RVCT compiler (r=stejohns+)
--HG--
extra : convert_revision : c79dae5ba88018f3cfa06621064008a21e39e49f
2010-05-19 20:52:18 -04:00
Edwin Smith
c79040e8f9 Bug 560571 - Symbian RVCT 2.2 compiler requires explicit cast to (const void*) for &k (r=stejohns+)
--HG--
extra : convert_revision : 304ec7713fbecaf65b4c9f09b14f204b3416daf3
2010-05-19 20:47:56 -04:00
Edwin Smith
edbad98461 Bug 566759 - Remove LOpcode aliases once they are no longer used (r=nnethercote+)
--HG--
extra : convert_revision : 6aa777cb07a63862372399ac78a6f39b573c6dc1
2010-05-19 09:34:07 -04:00
Edwin Smith
c798b8b4d1 Minor PPC tweak from bug 560370, plus a few comments
--HG--
extra : convert_revision : ae4877e82cdda675f7fc8610f4cef987ea9a9c8b
2010-05-18 20:00:33 -04:00
Gregor Wagner
53e42ad125 Bug 566635 - TM: Change gcRootsHash and gcLocksHash to HashMap r=lw 2010-05-20 13:50:08 -07:00
Igor Bukanov
9d49b712de bug 566145 - reserving block and arguments shapes. r=jorendorff 2010-05-20 12:48:04 +02:00
Blake Kaplan
3ea4b3639e Fix bustage. 2010-05-19 19:19:31 -07:00
Blake Kaplan
9d09848caa Avoid calling XPCWrappedNative::GetWrappedNativeOfJSObject when we know we already have a wrapped native's JSObject. r=jst 2010-05-19 18:26:40 -07:00
Blake Kaplan
b2ebc063f7 Don't push call contexts when we don't have to. r=jst 2010-05-19 18:26:29 -07:00
Blake Kaplan
48aa419509 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
a27d4428f7 Bug 565251 - TM: simplify TraceRecorder::guardClass(). r=dvander. 2010-05-19 18:09:54 -07:00
Sean Stangl
e3e75e0bc6 Fix ReprMeter build and x64 bugs (bug 567015, r=dvander). 2010-05-19 16:35:30 -07:00
Brendan Eich
9de413892e Fix hard-case destructurinv vs. for(var ...=... in ...) bug (558633, r=mrbkap). 2010-05-19 16:25:56 -07:00
Luke Wagner
a033c82002 Bug 566831 - add missing 'return' to FrameRegsIter (r=dvander) 2010-05-19 11:21:26 -07:00
Andreas Gal
0042312b1f Don't leak native getters/setters into property descriptor objects (566914, r=brendan). 2010-05-19 14:43:17 -07:00
Julian Seward
a8447f425f Bug 557776 - js_InitTitle: initialize title->lock properly. r=jorendorff. 2010-05-19 15:36:56 -05:00
Andreas Gal
59fd9c917f Slowify dense arrays when used as 2nd argument of eval (566916, r=jwalden). 2010-05-19 12:19:44 -07:00
Jason Orendorff
721947de5b 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
acd79cbc3d Move the scripted proxies test into js1_8_5/extensions (bug 546590). 2010-05-19 02:08:53 -07:00
Igor Bukanov
442b99542f 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
4023a5b4e1 Check for invalid eval scope argument (566000, r=brendan). 2010-05-19 01:24:57 -07:00
Brendan Eich
be1aa946e1 Fix vp off-by-2 bug (566815, r=gal). 2010-05-19 00:59:49 -07:00
Andreas Gal
4bcbe87597 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
e9349c81ba Too much recursion crash with proxies (566790, r=brendan). 2010-05-19 00:13:02 -07:00
Andreas Gal
fc090da906 Properly mark undefined call and construct hooks of function proxies (bug 566781, r=shaver). 2010-05-18 20:20:50 -07:00
Andreas Gal
5b8624d46f Add proxies test directory to Makefile.in (follow-up fix for bug 546590). 2010-05-18 20:00:18 -07:00
Andreas Gal
efd9bd790e Implement ES Harmony Proxies (bug 546590, r=mrbkap). 2010-05-18 19:21:43 -07:00
David Anderson
92852e7346 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
cd83f6032b 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
8f88912ddf 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
492d01b062 bug 564414 - defining XP_MACOSX on MACOSX. r=ted 2010-05-18 23:48:01 +02:00
Jeff Walden
0bd2ff1b53 Null-check the parent before attempting to outerize. rs=brendan 2010-05-18 14:13:22 -07:00
Luke Wagner
8c66dc0bc9 Bug 566556 - Check for nslots == 0 in decompiler (r=waldo) 2010-05-18 10:11:49 -07:00
Igor Bukanov
c512831379 bug 566136 r=brendan 2010-05-18 16:51:11 +02:00
Andreas Gal
379f08c160 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
e46e9a1c25 Fix recursing with inlining (bug 565373, r=luke). 2010-05-17 21:30:59 -07:00
Robert Sayre
13c247559e Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Igor Bukanov
d2691ed07b bug 563326 - followup to fix OOM reporting 2010-05-16 11:23:28 +02:00
Igor Bukanov
c19c9e55c8 Backed out changeset 5748e8ff4666 - I landed the wrong patch 2010-05-16 11:21:08 +02:00
Igor Bukanov
06f3d228f8 bug 563326 - followup to fix OOM reporting 2010-05-16 11:19:38 +02:00
Rasmus Jensen
6ebcc68ad5 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
333acce4c4 E4X literals should be acceptable values for sharp variables. r=jwalden 2010-05-14 21:52:03 -07:00
Marco Bonardo
5a227798cf followup to Bug 553070. Fix test_xpcomutils.js permaorange. 2010-05-22 14:55:34 +02:00
Marco Bonardo
d3cd5e9f26 Forgot to enable the test for Bug 553070 2010-05-22 11:56:43 +02:00
Marco Bonardo
dbe1232637 Bug 553070 - Allow XPCOMUtils to do category registration for specific apps. r=sayrer 2010-05-22 10:41:00 +02:00
Vladimir Vukicevic
560b5dc8cd Bug 564319 - Allow building ctypes on Android, r=ted 2010-05-20 18:19:01 -07:00
Jeff Walden
a8ac2fc31a 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
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Mitchell Field
a333ef25e4 Bug 516758 - Remove --disable-long-long-warning. r=ted
--HG--
extra : rebase_source : 33ac339a48174b0c84a6bf193b6fc2aabb42e6b6
2010-05-17 10:58:00 -04:00
Brad Lassey
1fa8baed11 bug 559263 - make jemalloc work with android, follow up patch r=ted
(transplanted from 098cf0d0c599fdcfedbc6ee5aadf01259e9dcd09)

--HG--
extra : transplant_source : %09%8C%F0%D0%C5%99%FD%CF%ED%BCn%E5%AA%DF%01%25%9E%9D%CD%09
2010-06-05 13:15:50 -04:00
Masatoshi Kimura
a50b072e40 Bug 567497 - "Files executed via download manager cause Win7 compatibility mode to permanently apply to firefox.exe and not downloaded file" [r=ted]
(transplanted from 63b89b3114614929b80a358163a2d1ae9feea91b)

--HG--
extra : transplant_source : c%B8%9B1%14aI%29%B8%0A5%81c%A2%D1%AE%9F%EE%A9%1B
2010-05-24 09:55:00 -04:00
Chris Jones
84a3655756 Bug 551071: Suppress valgrind-reported "mismatched free()" (false alarm) of chromium objects by using mozalloc there (complements STL wrappers). Add a gross hack to prevent mozalloc macros from conflicting with methods in jscntxt.h. r=bent r=bsmedberg dependent-r=brendan 2010-06-04 18:16:34 -05:00
Peter Van der Beken
4f514217e6 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
078f01ee1d Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd 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
cbde17d3b8 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
9f46f37b84 Backed out changeset 90d627f2471e (bug 564979) because it broke mochitests. 2010-05-17 14:59:49 -04:00
Boris Zbarsky
f830440dab 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
Phil Ringnalda
e0e4b433f1 Bug 561354 - Disable regress-422348.js on all 64-bit OSes, like everyone including me thought I was going to do in the last patch 2010-06-19 18:59:20 -07:00
Phil Ringnalda
b0f61913ff Bug 561354 - Disable some jsreftests that we know fail on Linux (and Mac) 64-bit on all other sorts of 64-bit too, r=bc 2010-06-15 21:53:44 -07:00
Benoit Jacob
6c594ab3c3 b=571029; readPixels API change, support both old and new signatures, also fix 572797 (allow non-fitting rectangles), and check that sizes are nonnegative; r=vladimir 2010-06-19 10:46:12 -04:00
Blake Kaplan
1a4baae7ca Bug 572149 - Deal with an abort when about to *start* executing an imacro. r=gal 2010-06-16 20:29:52 -07:00
Justin Wood
1659d0b064 Bug 565191: Add --with-debug-label to js. r=ted
--HG--
extra : rebase_source : 7924c1d60929cd8a163052323927e7ca70de21d3
2010-06-17 18:43:13 -07:00
Kyle Huey
72a3bb4d3c Bug 561674: Finish removing DEBUG_<username> from the tree. r=ted
--HG--
extra : rebase_source : e1d21af437660367681dbe631e1b8f6852c68f16
2010-06-17 17:34:23 -07:00
Ehsan Akhgari
e6dd111825 Bug 572445 - Bug 552121 broke compilation with --enable-functiontimer turned on; r=vlad 2010-06-16 13:01:17 -04: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
Rail Aliev
5e9f91ea2b bug 569426: Tracking bug for build and release of Firefox 3.7a5 - Version bump for default branch. r=bhearsum 2010-06-10 10:35:42 -04:00
Blake Kaplan
d85ecf0625 Fix bug 567069. r=jorendorff/luke 2010-06-10 10:48:59 -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
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
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