Commit Graph

10079 Commits

Author SHA1 Message Date
David Anderson
a0047931d5 [JAEGER] Added fast-path for JSOP_SETELEM. 2010-06-15 01:40:36 -07:00
David Mandelin
f2f3967750 Bug 572029: fully specialize for unboxing most numbers 2010-06-14 17:26:59 -07:00
Luke Wagner
e54fb2ea80 Make UnboxDoubleHelper extern to match friend declaration 2010-06-14 14:46:31 -07:00
David Mandelin
94e6c8a2cc Bug 571625: bring back box-after-unbox optimization for tracing with fatvals 2010-06-14 14:24:30 -07:00
Andrew Drake
e0cf7c0a56 Merge. 2010-06-14 14:03:53 -07:00
David Anderson
e260a83f6c [JAEGER] Fixed build. 2010-06-14 13:44:06 -07:00
David Anderson
750be487c8 [JAEGER] Merge. 2010-06-14 13:36:20 -07:00
David Anderson
bc2301898a [JAEGER] Merge. 2010-06-14 13:36:05 -07:00
David Anderson
6ce58480af [JAEGER] Added monomorphic inline caches for SETGNAME. 2010-06-14 13:35:47 -07:00
Andrew Drake
53ecdbb058 [JAEGER] Fix --disable-methodjit build, rs=dmandelin 2010-06-14 13:33:19 -07:00
David Mandelin
e645d90105 Build fixes for opt browser 2010-06-14 13:11:59 -07:00
Sean Stangl
22449ee4d8 [JAEGER] Fix backwards comparison on masm.testDouble(). 2010-06-14 12:56:19 -07:00
Jacob Bramley
e8fc94e3eb Add LIR_(add|sub|mul)jovi support to the ARM back-end. [Bug 571202] [r=nnethercote]
--HG--
extra : convert_revision : b9c6f319cf9132680e27ffe7af1d783f6d8fa4c9
2010-06-14 15:42:46 +01:00
Jason Orendorff
285e13d2c5 Bug 568885 - Put Cu.Sandbox globals in a separate compartment from non-sandbox objects in the same domain. r=gal, sr=mrbkap. 2010-06-24 18:08:52 -05:00
Jason Orendorff
4119c39520 Bug 568886 - Instead of severing the stack in SJOW, function.caller should refuse to return an object from a different compartment. r=gal, r=mrbkap.
--HG--
extra : rebase_source : 83ee4482377769b8f59c72171acc62edc481fe7a
2010-06-30 18:09:38 -05:00
Robert Sayre
78608039a3 Fix bustage from jetpack including jstl on Windows. 2010-06-30 16:07:53 -07:00
Robert Sayre
b0ccdf3af2 Move includes in JetpackActorCommon.cpp only. 2010-06-30 14:28:08 -07:00
Robert Sayre
efd4bd36c6 Merge backout. 2010-06-30 13:50:52 -07:00
Robert Sayre
67c4011c63 Backed out changeset 562f69adb6b8 2010-06-30 13:50:26 -07:00
Robert Sayre
aed1689a0b Squash warning, rebuild with Windows clobbered. 2010-06-30 13:45:02 -07:00
Robert Sayre
77addc3777 try to fix moz_free macro substitution bustage on Windows by reordering includes 2010-06-30 13:26:15 -07:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Chris Leary
0094115549 Update |dis| docs in the shell. (r=me) 2010-06-30 00:18:38 -07:00
Neil Rashbrook
84258324f3 Bug 572996 Compiler dependencies don't work for debug-only includes r=ted 2010-06-30 12:44:18 +01:00
Blake Kaplan
50cdb5d92b Bug 574990 - cx->globalObject needs to be innerized before it can be used. r=gal
--HG--
extra : rebase_source : 6e31e65d2e265da850b871b78ec9af984350b08c
2010-06-28 16:38:54 -07:00
Rico
b3c8c97bf8 Bug 575575 - Variable name typo in js1_5/Array/regress-465980-02.js. r=jwalden 2010-06-29 09:00:10 -07:00
Jeff Walden
0ee447d3dd Bug 574992 - Make Date.prototype.toGMTString a normal, non-enumerable, non-alias property; also fixes a failure (with Object.getOwnPropertyNames support) in the MS ES5 tests. r=brendan 2010-06-26 14:08:58 -07:00
Wes Garland
18d86f784e Bug 574398 - New macro for JS_EnterLocalRootScope is not C 2010-06-28 17:14:31 -04:00
David Anderson
b4060da2c5 Bug 567577 - new Math.sin is NaN, not an object, in interpreter only. r=Waldo. 2010-06-28 14:49:12 -05:00
Jeff Walden
ac3f40a0c9 Bug 574867 - Make message, fileName, lineNumber own properties of <NativeError>.prototype, rather making them properties only of Error.prototype. r=luke
--HG--
extra : rebase_source : b01196842d33b177061701ceda47ec2a9319601a
2010-06-26 14:08:58 -07:00
Chris Leary
908f8ec587 Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red) 2010-06-26 18:09:07 -07:00
Chris Leary
52608d352b Bug 559408: Turn arena pool macros into methods. (r=gal) 2010-06-26 17:55:00 -07:00
Jason Orendorff
605e647be1 Weaken compartment assertions to be non-fatal. This will allow us to compartmentalize Gecko without keeping the assertions continually happy (which would be impractical). no bug#, r=gal. 2010-06-26 17:42:22 -05:00
Ginn Chen
04688ebf28 Bug 568788 Implement GetNativeStackBaseImpl() on Solaris r=igor 2010-06-27 01:25:00 +08:00
Andreas Gal
38fdbd4e85 Implement new chrome wrappers (574539, r=mrbkap). 2010-06-25 17:58:09 -05:00
Andreas Gal
7c91c2898c Fix warnings (no bug, r=mrbkap). 2010-06-25 17:57:53 -05:00
Jason Orendorff
9ee0592d4e Fix horrible bug in EvalInContext when the result is an object. rs=mrbkap. 2010-06-25 15:49:17 -05:00
Jason Orendorff
0f2e011c39 Fix significant difference between the new caching code in bug 570622 and CallThisObjectHook. r=orange. 2010-06-25 15:06:49 -05:00
Jason Orendorff
88abf40622 Bug 570622 - TM: eagerly call thisObject hook and cache result in global objects. r=mrbkap. 2010-06-25 13:48:35 -05:00
Andreas Gal
b74167790a Resort to default compartment when global object is set to NULL (r=crash on startup). 2010-06-24 20:13:22 -05:00
Andreas Gal
b35f3418d2 Implement new content wrappers (574502, r=mrbkap). 2010-06-24 19:09:46 -05:00
Jason Orendorff
5eed79e767 Bug 574320 - Tweaks to compartments API. r=gal. 2010-06-24 16:44:18 -05:00
Andreas Gal
1efe5e2ec6 Implement runtime-wide wrap hook (574299, r=mrbkap). 2010-06-24 16:45:32 -05:00
Robert Sayre
1d56325898 Merge mozilla-central to tracemonkey. 2010-06-24 13:47:08 -07:00
Saint Wesonga
15c5e882f9 Bug 512447 - JSON.stringify does not correct handle replacer functions. r=sayrer 2010-06-24 13:32:07 -07:00
Andreas Gal
47613b6fab Function.prototype.toString shouldn't crash on function proxies (574294, r=brendan). 2010-06-24 13:25:09 -05:00
Brendan Eich
fc2a83c5ee Assertion failure: scope->canProvideEmptyScope(&js_ObjectOps, clasp) (574280, r=gal). 2010-06-24 10:10:04 -07:00
Igor Bukanov
60e3fb5cff bug 572678 - valgrind integration with conservative GC. r=nnethercote 2010-06-21 14:22:32 +02:00
Igor Bukanov
3ca4aa4529 bug 572428 - followup to fix a bad typo. 2010-06-24 10:55:18 +02:00
Igor Bukanov
6f0b0ed4fa bug 573709 - do not use history for conservative GC. r=gal 2010-06-24 10:30:56 +02:00
Eric Hennigan
a8d4b520e3 Bug 573646: add memory limit for Unix test harness in order to handle OOM crashes more gracefully 2010-06-23 19:05:33 -07:00
Robert Sayre
0a9fd0ff39 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Jeff Walden
a255bae3b1 Add cycle-detection assertions to prototype/parent-setting methods, tighten some nearby code stylistically. (let r () (r)) 2010-06-23 16:57:52 -07:00
Jason Orendorff
b891ed049a Fix really dumb C++ error in shell/js.cpp. no bug, r=red.
--HG--
extra : rebase_source : 0e22db3a690a24820c8d02087cb12fde16e6db76
2010-06-23 17:45:36 -05:00
Blake Kaplan
8ad3135e90 Fix bug 572130. r=jst 2010-06-23 17:09:00 -05:00
Blake Kaplan
78d9a8bac6 Bug 572233 - Don't accidentally wrap an object on the prototype chain. r=jst
--HG--
extra : rebase_source : ff4c32ed65dde104f2630d9d435888b12298a29f
2010-06-23 16:56:28 -05:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
David Anderson
56a7c58d38 [JAEGER] Merge. 2010-06-12 19:16:33 -07:00
Sean Stangl
2f941c5f22 [JAEGER] Rename FpReg to JSFrameReg; r=dvander. 2010-06-12 19:11:00 -07:00
David Anderson
297eb1af31 [JAEGER] Added monomorphic inline cache for reads of unbound globals. 2010-06-12 19:00:30 -07:00
David Anderson
82d98ad449 [JAEGER] Predict unbound names as being on the global object (bug 564949). 2010-06-12 19:00:27 -07:00
Sean Stangl
b616a53aee [JAEGER] Define FPRegisters struct; r=dvander. 2010-06-12 18:37:34 -07:00
Sean Stangl
2a5a91c2c0 [JAEGER] Rename alloc() to allocReg(); r=dvander.
This patch is in preparation for making a distinction between
registers and floating-point registers for double fastpaths.
2010-06-12 18:26:36 -07:00
Sean Stangl
8ff57facfa [JAEGER] Use frame.testInt32() instead of masm.testInt32(); r=dvander. 2010-06-11 22:07:10 -07:00
Sean Stangl
1662a83587 [JAEGER] Implement testDouble(); r=dvander. 2010-06-11 21:27:56 -07:00
Sean Stangl
3751e1ceaf [JAEGER] Permit FrameState::copyData() with copied FrameEntries; r=dvander. 2010-06-11 21:27:52 -07:00
Luke Wagner
e01cff89da Change NPAPI not to cast to from NPIdentifier and jsval. Fix silly JSObject::resizeDenseArrayElements bug introduced by earlier commit 2010-06-11 18:09:58 -07:00
Luke Wagner
2a2b97cc3f Merge 2010-06-11 14:19:15 -07:00
Luke Wagner
db5e1acb26 Avoid unnecessary initialization of js::Vector 2010-06-11 14:18:45 -07:00
David Anderson
7b6d3db650 [JAEGER] Merge. 2010-06-11 14:11:04 -07:00
David Anderson
b79115e765 [JAEGER] Optimize how atoms are passed to NAME, CALLNAME, and SETNAME. 2010-06-11 14:10:43 -07:00
David Mandelin
eec97abca4 Make sure dense_grow gets inlined into the tracer functions that call it 2010-06-11 11:29:04 -07:00
Andrew Drake
a25e9507f4 [JAEGER] Fix Win32 build. r=dvander 2010-06-11 11:24:39 -07:00
mozilla@buildmonkey-right.mv.mozilla.com
1da69179fa Write simpler code in JSObject::resizeDenseArrayElements so GCC does not do really really bad register allocation 2010-06-11 10:34:47 -07:00
David Anderson
971e66892c [JAEGER] Statically bind some global functions (bug 562729, r=brendan). 2010-06-10 23:43:14 -07:00
David Anderson
22bcf9d6e7 [JAEGER] Reset JIT properly. 2010-06-10 23:42:44 -07:00
David Anderson
d6ac5397a1 [JAEGER] Don't call into JIT while recording. 2010-06-10 23:42:35 -07:00
David Anderson
3bbb12b82b [JAEGER] Added JSOP_ELEMINC,ELEMDEC,INCELEM,DECELEM. 2010-06-10 23:10:15 -07:00
David Anderson
659861b518 [JAEGER] Enable regex JIT with JSOPTION_METHODJIT. 2010-06-10 22:23:13 -07:00
David Anderson
f6b0dbf8c8 [JAEGER] Fix build. 2010-06-10 22:20:30 -07:00
David Anderson
a2bfe74bbb [JAEGER] Merge from fatval branch. 2010-06-10 21:58:13 -07:00
David Anderson
20b5f6469a [JAEGER] Added JSOP_LOCALINC,LOCALDEC,INCLOCAL,DECLOCAL. 2010-06-10 20:08:17 -07:00
David Anderson
df8cd25dd9 [JAEGER] Implemented re-loads of copies while syncing in slow paths. 2010-06-10 19:17:09 -07:00
David Anderson
ee80a9426c [JAEGER] Added JSOP_SETRVAL, JSOP_RETRVAL. 2010-06-10 17:30:00 -07:00
David Anderson
aa81593c46 [JAEGER] Try to find unsynced registers to perform copies in side exits. 2010-06-10 17:29:58 -07:00
David Anderson
91a1779e5c [JAEGER] Added JSOP_ARGINC,ARGDEC,INCARG,DECARG. 2010-06-10 17:29:57 -07:00
David Mandelin
f242431382 Bug 569766: Make tracing work with fat values 2010-06-10 17:20:26 -07:00
Sean Stangl
77d79f4a31 [JAEGER] Fix handling copied FrameEntries; r=dvander. 2010-06-10 16:56:58 -07:00
Blake Kaplan
68ab0034ba Bug 569022 - XPCNativeWrapper is a proper MakeSOW candidate. r=jst
--HG--
extra : rebase_source : a4de66029f47e1f400eed3822132fd45ff98558a
2010-06-10 15:49:22 -07:00
David Anderson
6889905a29 [JAEGER] Fixed build for realz. 2010-06-10 14:20:05 -07:00
David Anderson
f1bb4ba3cb [JAEGER] Fixed build. 2010-06-10 14:18:33 -07:00
Jason Orendorff
c1a1fb9be1 Bug 563099 - Compartments and wrappers API. r=gal.
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Brendan Eich
e672f52623 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Jason Orendorff
c7000f4f86 Bug 574013 - Change JSObjectOps::call to compute this even later in certain cases. (This will also facilitate implementint ES5 primitive this.) r=gal.
--HG--
extra : rebase_source : 2f588a571cc7970ae2119338e4abfc34bdd6fdc8
2010-06-23 12:08:34 -05:00
Gregor Wagner
80ca0e83eb Bug 519949 - TM: remove LocalRootScopes r=igor 2010-06-23 11:37:35 -05:00
Nicholas Nethercote
1acb98c5ab Bug 551885 - TM: avoid stupid stack loads/stores at the end of fragments. r=dvander. 2010-06-22 20:09:11 -07:00
Brendan Eich
bacdc9d75e Assertion failure: slot < (uint32)dslots[-1] (571744, r=dvander). 2010-06-22 14:31:17 -07:00
Igor Bukanov
0b52b79b4d bug 572428 - fixing detection of live things in GC arena for conservative GC. r=wagnerg 2010-06-22 11:19:04 +02:00
Nicholas Nethercote
6f97ec3b23 Bug 572945 - TM: dense arrays specify the wrong number of reserved slots (2
vs 3).  r=gal.
2010-06-22 00:18:51 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Blake Kaplan
c1498e0eab Add test. 2010-06-21 16:51:55 -07:00
David Anderson
858278d975 [JAEGER] Merge from fatval branch. 2010-06-10 14:01:11 -07:00
David Anderson
48bdd8875c [JAEGER] Added JSOP_TABLESWITCH. 2010-06-10 13:37:37 -07:00
David Anderson
f05461c221 [JAEGER] Added JSOP_LOOKUPSWITCH. 2010-06-10 13:24:19 -07:00
Luke Wagner
e6f9490099 Simplify code now that Value is copyable 2010-06-10 10:09:05 -07:00
Luke Wagner
e9442c8c26 Doubles are no longer gc-things, fix testGCChunkAlloc 2010-06-10 09:40:11 -07:00
Luke Wagner
a83311a7c5 Fix build bustage in FF 2010-06-10 00:05:41 -07:00
Luke Wagner
dde2523f3a Remove assumption that getter objects are functions (can be any callable), fix jsproxy aliasing bug 2010-06-09 23:20:37 -07:00
David Anderson
ba5aa9dd19 [JAEGER] Make syncFancy() resume properly. 2010-06-09 22:33:54 -07:00
David Anderson
be3dcd19fc [JAEGER] Improve register allocation when merge-syncing copies. 2010-06-09 22:28:12 -07:00
Luke Wagner
1bb5128ab0 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
David Anderson
517efa88c1 [JAEGER] Fixed bug in invoking JIT from interpreter. 2010-06-09 14:42:17 -07:00
David Anderson
4e28dc4af8 [JAEGER] Fixed bug in JSOP_BINDNAME. 2010-06-09 13:55:32 -07:00
David Anderson
b62bed481e [JAEGER] New JSOP_CALLPROP. 2010-06-09 12:55:41 -07:00
David Anderson
43b26ccbf8 [JAEGER] Tiny fix-ups. 2010-06-09 01:46:07 -07:00
David Anderson
dfa571f425 [JAEGER] Added JSOP_EXCEPTION, JSOP_SETLOCALPOP. 2010-06-09 01:32:40 -07:00
David Anderson
3080b62639 [JAEGER] Added JSOP_ENTERBLOCK, JSOP_LEAVEBLOCK, and support for |let|. 2010-06-09 01:03:58 -07:00
David Anderson
e1c7b826cf [JAEGER] Added JSOP_TYPEOFEXPR. 2010-06-08 22:58:10 -07:00
David Anderson
026b378fe1 [JAEGER] Added JSOP_INITMETHOD; fixed JSOP_RSH bug; fixed JSOP_MOREITER bug. 2010-06-08 22:54:16 -07:00
David Anderson
6448864847 [JAEGER] Fixed bug when RHS of shift was 0. 2010-06-08 22:27:28 -07:00
David Anderson
7eb912feff [JAEGER] Added JSOP_ARGCNT, fixed bug in PROPDEC. 2010-06-08 22:02:09 -07:00
David Anderson
f251a97d3c [JAEGER] Added JSOP_INSTANCEOF. 2010-06-08 21:46:38 -07:00
David Anderson
a385f71677 [JAEGER] Added JSOP_CALLGLOBAL. 2010-06-08 21:38:33 -07:00
David Anderson
aa5188d6af [JAEGER] Added JSOP_ARGUMENTS. 2010-06-08 21:34:46 -07:00
David Anderson
0cf3d36ae0 [JAEGER] Merge. 2010-06-08 21:25:29 -07:00
David Anderson
b27a0b5634 [JAEGER] Added JSOP_LAMBDA_FC. 2010-06-08 21:24:19 -07:00
Sean Stangl
fae3fce758 [JAEGER] Spew inlined opcodes; r=dvander. 2010-06-08 19:18:18 -07:00
David Anderson
87ecc149b0 [JAEGER] Added JSOP_TRY. 2010-06-08 19:03:32 -07:00
David Anderson
00c259c9c9 [JAEGER] Added JSOP_FORNAME. 2010-06-08 18:55:12 -07:00
David Anderson
42f530b5f7 [JAEGER] Added JSOP_THROW. 2010-06-08 18:45:42 -07:00
David Anderson
0e59578e0c [JAEGER] Added JSOP_CALLELEM, fixed bug in JSOP_CALLNAME. 2010-06-08 18:40:26 -07:00
David Anderson
b7162925a0 [JAEGER] Added JSOP_GETXPROP. 2010-06-08 18:18:11 -07:00
David Anderson
674313aca9 [JAEGER] Added JSOP_PUSH. 2010-06-08 18:16:36 -07:00
David Anderson
1d2c54e953 [JAEGER] Added JSOP_LINENO. 2010-06-08 18:13:46 -07:00
David Anderson
c44abdcb06 [JAEGER] Added JSOP_EVAL, JSOP_APPLY. 2010-06-08 18:12:33 -07:00
David Anderson
ef9ba19ba0 [JAEGER] Fixed regalloc bug where eviction could re-sync. 2010-06-08 17:59:15 -07:00
David Anderson
ec9df4dfe4 [JAEGER] Merge from fatval branch. 2010-06-08 17:49:46 -07:00
Luke Wagner
27e99d6856 Remove OS X rules.mk hacks and out-of-date assert in JS_GetObjectID 2010-06-08 17:32:51 -07:00
Sean Stangl
54d4bab987 [JAEGER] Implement JSOP_LENGTH; r=dvander. 2010-06-08 16:28:17 -07:00
Sean Stangl
6e9131b6eb [JAEGER] Implement JSOP_CALLPROP; r=dvander. 2010-06-08 16:28:13 -07:00
Luke Wagner
706cc2c0e9 Firefox starts up and browses the web 2010-06-08 15:12:18 -07:00
David Anderson
c1cb664baa [JAEGER] Merge from fatval branch. 2010-06-08 11:32:46 -07:00
David Anderson
ee5ecaa165 [JAEGER] Merge. 2010-06-08 11:31:22 -07:00
David Anderson
8b0d60f638 [JAEGER] Added missing spew for 32-bit x86 or. 2010-06-08 11:31:06 -07:00
Andrew Drake
fc09b35f9c [JAEGER] Fix JS_ATOMIC_CLEAR_MASK. 2010-06-08 00:37:38 -07:00
Luke Wagner
6d5a111999 Don't re-define js_ObjectOps in xpconnect. Remove assumptions that private jsvals are ints 2010-06-08 00:01:45 -07:00
Andrew Drake
eba8539f0d Merge. 2010-06-07 23:58:42 -07:00
Andrew Drake
3f53cbb073 [JAEGER] Generalize operation callback mechanism and implement for methodjit, r=dvander 2010-06-07 23:55:13 -07:00
David Anderson
a1eb218fc2 [JAEGER] Fix build. 2010-06-07 19:32:59 -07:00
David Anderson
ad6f6ffb02 [JAEGER] Merge from fatval branch. 2010-06-07 19:29:40 -07:00
David Anderson
c861c54c87 [JAEGER] Added JSOP_SETMETHOD. 2010-06-07 19:25:23 -07:00
David Anderson
39e26b6da1 [JAEGER] Added JSOP_PROPINC,PROPDEC,INCPROP,DECPROP. 2010-06-07 19:23:25 -07:00
Jason Orendorff
6e7f075424 Merge backout. 2010-06-07 20:39:48 -05:00
Jason Orendorff
03f2a11f1a Merge backout. 2010-06-07 20:39:05 -05:00
Jason Orendorff
120196fad2 Back out changeset 46fed5bdcf44 for now. 2010-06-07 20:38:51 -05:00
Jason Orendorff
987881e65c Merge backout. 2010-06-07 20:38:30 -05:00
Jason Orendorff
5874315d91 Back out changeset 5f425aecd7ab again. Still has performance issues; 14% in ThisObject hook. 2010-06-07 20:36:57 -05:00
Andreas Gal
be035f8008 Allow reading reserved slots without locking if we know its safe to do so (570404, r=brendan). 2010-06-07 21:35:58 -04:00
Luke Wagner
0d5dd30ea8 Firefox builds 2010-06-07 18:21:51 -07:00
David Anderson
7ce213d12c [JAEGER] Fixed display not being adjusted correctly. 2010-06-07 17:21:40 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
David Anderson
b884c72a44 Merge. 2010-06-07 16:45:14 -07:00
David Anderson
0acdab7b8b [JAEGER] Added JSOP_CALLLOCAL. 2010-06-07 16:44:25 -07:00
Sean Stangl
4dcf214e5c [JAEGER] Move redundant code to jsop_getprop_slow(); r=dvander. 2010-06-07 16:43:45 -07:00
Sean Stangl
9592877ac7 [JAEGER] Implement JSOP_SETPROP, JSOP_GETPROP, and associated ops; r=dvander. 2010-06-07 16:32:26 -07:00
Luke Wagner
a8883b8520 Merge 2010-06-07 13:58:13 -07:00
Luke Wagner
9814243213 xpconnect builds 2010-06-07 13:57:40 -07:00
David Anderson
5ccdb8922d Bug 556569 - Trace shallow recursion more robustly. r=jorendorff. 2010-06-07 12:47:24 -05:00
Igor Bukanov
24dee0ab53 bug 557538 - custom GC chunk allocation. r=gal,jorendorff 2010-06-07 11:17:15 +02:00
Nicholas Nethercote
3744861727 Update nanojit-import-rev stamp. 2010-06-06 20:27:01 -07:00
Nicholas Nethercote
e2a11770ff Fix typo in patch for bug 527512, and add a missing case. r=gal.
--HG--
extra : convert_revision : eb43593410b935717be223a37dec993a30472073
2010-06-06 20:22:48 -07:00
David Anderson
64882231ed [JAEGER] Added JSOP_CONCATN. 2010-06-06 00:49:46 -07:00
David Anderson
54b2c073e5 [JAEGER] Added JSOP_STRICTEQ, JSOP_STRICTNE. 2010-06-06 00:41:57 -07:00
David Anderson
1177477dd0 [JAEGER] Added JSOP_TYPEOF. 2010-06-06 00:34:14 -07:00
David Anderson
4fa75d61e6 [JAEGER] Added JSOP_FORLOCAL, JSOP_MOREITER, JSOP_ENDITER. 2010-06-05 23:54:56 -07:00
David Anderson
ebd08a0fb3 [JAEGER] Added JSOP_ITER. 2010-06-05 21:42:25 -07:00
David Anderson
50d4d4eb78 [JAEGER] Added JSOP_INITPROP. 2010-06-05 21:35:07 -07:00
David Anderson
5af47cbec1 [JAEGER] Added JSOP_NOT. 2010-06-05 21:20:34 -07:00
David Anderson
6fd3673dd5 [JAEGER] Added JSOP_OR, JSOP_AND. 2010-06-05 19:25:54 -07:00
David Anderson
71219c36fb [JAEGER] Added JSOP_INCNAME,DECNAME,NAMEINC,NAMEDEC. 2010-06-05 19:06:39 -07:00
David Anderson
15245f0d9a [JAEGER] Fixed bug in SetName handling. 2010-06-05 18:24:03 -07:00
David Anderson
ebc66018d0 [JAEGER] Added JSOP_LAMBDA. 2010-06-05 18:17:41 -07:00
David Anderson
5eddc9e757 [JAEGER] Added JSOP_REGEXP. 2010-06-05 18:08:26 -07:00
David Anderson
58c8662b7b [JAEGER] Added JSOP_SETARG. 2010-06-05 18:01:06 -07:00
David Anderson
dd8e9d257f [JAEGER] Added JSOP_DEFLOCALFUN. 2010-06-05 17:56:28 -07:00
David Anderson
6caf036c24 [JAEGER] Added JSOP_GETUPVAR, JSOP_CALLUPVAR. 2010-06-05 17:40:42 -07:00
David Anderson
646a599539 [JAEGER] Added JSOP_URSH. 2010-06-05 17:26:19 -07:00
David Anderson
0fd1118fae [JAEGER] Added JSOP_BITNOT. 2010-06-05 17:21:56 -07:00
David Anderson
50f045e244 [JAEGER] Added JSOP_INITELEM. 2010-06-05 16:45:48 -07:00
David Anderson
8bb2f61b44 [JAEGER] Quell GCC warning. 2010-06-05 16:32:57 -07:00
David Anderson
cc13ff932c [JAEGER] Added JSOP_BITOR. 2010-06-05 16:32:12 -07:00
David Anderson
33f5c65fe2 [JAEGER] Fixed register allocation bug with copies. 2010-06-05 16:32:05 -07:00
David Anderson
e5e8f01db0 [JAEGER] Added JSOP_NEWINIT, JSOP_ENDINIT. 2010-06-05 16:08:27 -07:00
David Anderson
7c6f4d702b [JAEGER] Added JSOP_BITXOR. 2010-06-05 15:27:56 -07:00
David Anderson
15bafd4e40 [JAEGER] Added JSOP_OBJTOSTR. 2010-06-05 15:20:36 -07:00
David Anderson
72c6ddb69d [JAEGER] Added JSOP_GETDSLOT, JSOP_CALLDSLOT. 2010-06-05 14:48:26 -07:00
David Anderson
6895923093 [JAEGER] Added JSOP_DUP2. 2010-06-05 14:38:10 -07:00
David Anderson
b5f91c1f7c [JAEGER] Added JSOP_DUP. 2010-06-05 14:32:53 -07:00
David Anderson
1884924c8f [JAEGER] Added JSOP_NEG. 2010-06-05 14:26:00 -07:00
David Anderson
e0f4979989 [JAEGER] Fixed warnings. 2010-06-05 12:27:50 -07:00
David Anderson
907f512ff2 [JAEGER] Workaround for register exhaustion on safe point spills. 2010-06-05 03:52:00 -07:00
David Anderson
abffff4766 [JAEGER] Merge from fatval. 2010-06-05 03:35:52 -07:00
David Anderson
24b06aa25a Unbroke opt build. 2010-06-05 03:34:53 -07:00
David Anderson
b82e2162a8 [JAEGER] Dual mapping between tracker and FE stack to hold copy invariants better and faster. 2010-06-05 03:26:31 -07:00
David Anderson
4db1dbc3d7 [JAEGER] Removed unused member variable. 2010-06-05 01:59:34 -07:00
David Anderson
7b5472464b [JAEGER] Fixed stupid typo. 2010-06-05 01:55:50 -07:00
David Anderson
4fb3d04534 [JAEGER] Track FEs instead of indexes - preparation for more regalloc fixes. 2010-06-05 00:31:59 -07:00
David Anderson
f95234d329 [JAEGER] Added JSOP_THIS. 2010-06-04 23:14:20 -07:00
David Anderson
0e663fe6c0 [JAEGER] Added JSOP_NEWARRAY. 2010-06-04 22:38:54 -07:00
David Anderson
8caee42f61 [JAEGER] Merge from fatval branch. 2010-06-04 22:21:00 -07:00
David Anderson
1ee067adac Fixed js_Disassemble1 decoding JOF_ATOM+JSOP_DOUBLE as astom (bug 570285). 2010-06-04 22:19:53 -07:00
David Anderson
b3d4470682 [JAEGER] Fixed build. 2010-06-04 22:18:38 -07:00
David Anderson
87d142550e [JAEGER] Merge from fatval branch. 2010-06-04 22:11:53 -07:00
David Anderson
b23b0f93d4 [JAEGER] Added JSOP_NEW. 2010-06-04 20:02:21 -07:00
David Anderson
69cdfac1b8 [JAEGER] Fixed build. 2010-06-04 19:33:16 -07:00
David Anderson
573bea6910 Merge. 2010-06-04 19:32:38 -07:00
David Anderson
ccfc1a5aa6 [JAEGER] Added JSOP_ADD,SUB,MUL,DIV,MOD. 2010-06-04 19:31:46 -07:00
David Anderson
9dd620f1d5 [JAEGER] Implement SETLOCAL when copied entries are involved. 2010-06-04 19:31:44 -07:00
David Anderson
8d37f58238 [JAEGER] Added test case for eq+ifeq fusing. 2010-06-04 19:31:28 -07:00
David Anderson
7c056b3f2f [JAEGER] Make sure to flip EQ/NE test when fusing with IFEQ. 2010-06-04 19:29:43 -07:00
Luke Wagner
7b81a5dc24 Make JSHasInstanceOp and JSEqualityOp take jsval. Get a lot of xpconnect compiling 2010-06-04 16:55:08 -07:00
Sean Stangl
64a6b3d9c7 [JAEGER] Change SetElem,GetElem to use ValueToObject(); re=dvander. 2010-06-04 16:47:46 -07:00
Sean Stangl
3293d7ad4d [JAEGER] Implement JSOP_GETELEM, JSOP_SETELEM; r=dvander. 2010-06-04 15:54:19 -07:00
David Anderson
46c6541654 Backed out changeset 820c2007cf35 2010-06-04 15:13:11 -07:00
David Anderson
7023c8aa22 [JAEGER] hot-fix for regalloc bug - incorrect, proper fix forthcoming. 2010-06-04 15:04:32 -07:00
William Maddox
06858e0f9c Bug 555345 - Histogram profiling macros for JIT-generated code (r=rreitmai+)
This patch adds wrapper macros _jhprof_init, _jhnprof_init, and _jhprof to
facilitate histogram profiling from JIT-generated code.

--HG--
extra : convert_revision : 939ade8f3ee9716faaedc2b2a0cf986b5010003f
2010-06-04 14:31:25 -07:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Jason Orendorff
5f5deee89d Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing. 2010-06-04 00:34:57 -07:00
David Anderson
f38a5d5fd1 [JAEGER] Added JSOP_IFEQ, JSOP_IFNE. 2010-06-03 23:16:47 -07:00
David Anderson
3dff010f52 [JAEGER] Added JSOP_LSH, JSOP_RSH. 2010-06-03 23:05:32 -07:00
David Anderson
8e4fe7b3e9 [JAEGER] Merge from fatval branch. 2010-06-03 23:04:57 -07:00
Sean Stangl
6833c03c42 [JAEGER] Fix a missed path in InlineEqualityOp(); r=dvander. 2010-06-03 22:33:24 -07:00
Sean Stangl
26f684c3d7 [JAEGER] Implement JSOP_EQ, JSOP_NE; r=dvander 2010-06-03 21:29:03 -07:00
Luke Wagner
8846bb56a4 Fix failing reftests. Align consts stored in scripts 2010-06-03 18:22:37 -07:00
David Anderson
ff56c35cb8 [JAEGER] Added JSOP_CALLARG, workaround for nmap asserts. 2010-06-03 16:16:53 -07:00
William Maddox
a577524f6a Bug 555345 - Add profiling capability for JIT-generated code (vprof changes only) (r=rreitmai+)
An earlier patch to tamarin-redux included vprof patches as well as a coordinated set of changes
to other files in TR.  The vprof directory is imported from nanojit-central, and the vprof changes
were overwritten.  This patch separates the initialization of new profile records from the logging
of data therein, which facilitates the use of the profiling infrastructure from JIT-generated code.

--HG--
extra : convert_revision : 10b865fa5d413277c2e11c211302f75d87029f06
2010-06-03 16:02:28 -07:00
Andrew Drake
0691d6d766 [JAEGER] Ensure nmap has a mapping entry for all ops, not just safepoints. r=dvander 2010-06-03 15:50:23 -07:00
David Anderson
45c0e609d2 [JAEGER] Added JSOP_VOID. 2010-06-03 15:27:04 -07:00
David Anderson
74afc2ba2e [JAEGER] Added support for JSOP_NULL. 2010-06-03 15:08:21 -07:00
David Anderson
3b0c7241d4 [JAEGER] Attempt to JIT inline calls in the interpreter. 2010-06-03 14:28:22 -07:00
David Anderson
27f87fcf42 [JAEGER] Fixed assert in FrameState merging. 2010-06-03 13:59:19 -07:00
Steven Johnson
38b8e72eb0 Bug 527512 - ExprFilter missing trivial optimizations for ugt, ult (r=edwsmith,nnethercote)
--HG--
extra : convert_revision : 9bdc25ecdb1b5b3b6a81705df3ae573b812bc990
2010-06-03 10:35:26 -07:00
Luke Wagner
8f6c06b148 Remove jsboxedword, change jsid to be a jsval 2010-06-02 19:09:04 -07:00
David Anderson
0c9f982560 [JAEGER] Slight improvement to register movement in sync path. 2010-06-02 19:07:58 -07:00
David Anderson
e8bd3a6f72 Merge. 2010-06-02 18:59:23 -07:00
David Anderson
d203d9aee3 [JAEGER] Allocate registers for local variables (GET/SETLOCAL). 2010-06-02 18:57:52 -07:00
David Anderson
a56d7ce464 [JAEGER] Fixed bug in comparison stub calls. 2010-06-02 16:48:41 -07:00
Andrew Drake
eef45a5ee7 [JAEGER] Fix nmap not being saved in JSScript properly r=dvander 2010-06-02 16:45:45 -07:00
David Anderson
b4b3c306b4 [JAEGER] Improved last test case. 2010-06-02 15:58:25 -07:00
David Anderson
b2c052e23b [JAEGER] Fixed crash where tail of slow fused compare op ran overboard. 2010-06-02 15:57:36 -07:00
David Anderson
50edbde73a [JAEGER] Added JSOP_TRUE, JSOP_FALSE. 2010-06-02 15:33:36 -07:00
David Anderson
03ba62a0cc [JAEGER] Fixed JSOP_SETNAME not ordering the stack correctly. 2010-06-02 15:25:53 -07:00
David Anderson
37e94e6030 [JAEGER] Fixed JSOP_STOP clobbering fp->rval. 2010-06-02 14:25:30 -07:00
Sean Stangl
29eb2211f9 [JAEGER] Handle JSOP_POPV; re=dvander. 2010-06-02 14:11:46 -07:00
David Anderson
e30e08a407 [JAEGER] Re-added script->nmap creation. 2010-06-02 02:09:17 -07:00
David Anderson
3868a5a89c [JAEGER] Quell GCC warnings about trailing commas. 2010-06-02 02:08:26 -07:00
Leon Sha
4e076c0bf0 http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
Sean Stangl
9fdf7ec98f Fix build in 41977:15bf5f68aa25: use correct defines. r=dvander 2010-06-01 21:42:45 -07:00
David Mandelin
7dddedeff0 Makefile changes to force pointers to 32 bits on OSX--this is just a stopgap for testing and shell development 2010-06-01 19:06:54 -07:00
David Mandelin
e7faa0e1c8 Bug 569441: Update Nitro assembler to SVN rev 60501 + our changes, no_r=me 2010-06-01 18:09:55 -07:00
David Mandelin
7bdb82c9d9 [JAEGER] Windows build fixes 2010-06-01 18:06:46 -07:00
David Anderson
9c9903f6dc [JAEGER] Added JSOP_GETARG. 2010-06-01 11:12:50 -07:00
David Anderson
6e6c481f29 [JAEGER] Fixed build on Mac. 2010-05-31 23:40:14 -07:00
David Anderson
25c5fc6b60 [JAEGER] Fixed opt build. 2010-05-31 23:03:42 -07:00
David Anderson
18209b07ab [JAEGER] Added JSOP_LT,LE,GT,GE,STRING with fast-paths. 2010-05-31 22:44:00 -07:00
David Anderson
e60d435fae [JAEGER] Enhanced constant-folding of rel ops. 2010-05-31 03:19:46 -07:00
David Anderson
3cef63ff88 [JAEGER] Constant fold LT,LE,GT,GE. 2010-05-31 02:17:05 -07:00
David Anderson
fe92fc9287 [JAEGER] Fixed bug in stubs::Name(). 2010-05-31 00:59:45 -07:00
David Anderson
8ddd668df0 [JAEGER] Fixed JSOP_STOP w/ inline calls. 2010-05-31 00:41:31 -07:00
David Anderson
8b3a220284 [JAEGER] Fixed bug where constants weren't unsynced on push. 2010-05-31 00:03:31 -07:00
David Anderson
2f59b29548 [JAEGER] Added JSOP_DEFFUN, JSOP_NOP. 2010-05-30 23:51:32 -07:00
David Anderson
5bdf03d38d [JAEGER] Implemented register eviction algorithm. 2010-05-30 23:37:04 -07:00
David Anderson
c4bb991d3b [JAEGER] Implemented CALL. 2010-05-30 23:18:39 -07:00
David Anderson
fa4bfd26db [JAEGER] Added JSOP_CALLNAME. 2010-05-30 22:46:39 -07:00
David Anderson
945f036f29 [JAEGER] Fixed pointless assert. 2010-05-30 20:19:25 -07:00
David Anderson
ff19a371e5 [JAEGER] Fixed mem corruption bug. 2010-05-30 20:16:10 -07:00
David Anderson
c8844c4d54 [JAEGER] Build fixes. 2010-05-30 20:13:07 -07:00
David Anderson
dff194f865 [JAEGER] Merge from fatval. 2010-05-30 20:07:48 -07:00
David Anderson
403f03ea8f [JAEGER] Fixed bugs in allocating temp registers for FEs. 2010-05-30 19:57:01 -07:00
David Anderson
bf470f73e5 [JAEGER] Added JSOP_GLOBALINC, JSOP_GLOBALDEC, JSOP_INCGLOBAL, JSOP_DECGLOBAL. 2010-05-30 19:44:29 -07:00
David Anderson
aad4b0b970 [JAEGER] Common function for computing obj slot refs; improved regalloc on GETGLOBAL. 2010-05-30 14:37:18 -07:00
David Anderson
a822a2418e [JAEGER] Fixed bug in slow path side exit generation. 2010-05-30 01:10:02 -07:00
David Anderson
536a5700bd [JAEGER] Finished initial stub-call mechanism, added BITAND. 2010-05-30 01:01:41 -07:00
David Anderson
299e5d9436 [JAEGER] Stub call exits now work. 2010-05-29 23:33:51 -07:00
David Anderson
d8f2a30535 [JAEGER] Fix bugs, inline FrameState.h.
--HG--
rename : js/src/methodjit/FrameState.cpp => js/src/methodjit/FrameState-inl.h
2010-05-29 22:43:38 -07:00
David Anderson
14f8391316 [JAEGER] New FrameState.
--HG--
rename : js/src/methodjit/nunbox/FrameEntry.h => js/src/methodjit/FrameEntry.h
rename : js/src/methodjit/nunbox/FrameState.cpp => js/src/methodjit/FrameState.cpp
rename : js/src/methodjit/nunbox/FrameState.h => js/src/methodjit/FrameState.h
2010-05-29 21:48:13 -07:00
Blake Kaplan
c0c914d70f Bug 561279 - Don't assume there is only one stack frame in global code. r=jorendorff 2010-05-28 16:01:04 -07:00
Wesley W. Garland
620032b563 Bug 573510 - jsapi-test harness could use a print() function. r=jorendorff. 2010-06-21 15:27:48 -05:00
Jason Orendorff
46fecd5674 Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal.
--HG--
extra : rebase_source : eaa2aee559527dbca94c3279d256833d2293ca67
2010-06-16 16:13:28 -05:00
Andreas Gal
56f83ce367 Slow arrays don't need custom objectops (571810, r=mrbkap). 2010-06-21 12:19:36 -07:00
Blake Kaplan
4d411a583b Merge backout of 5e948055cc43. 2010-06-21 11:40:48 -07:00
Blake Kaplan
7ee058443a Backed out changeset 5e948055cc43 2010-06-21 11:40:35 -07:00
David Mandelin
63421f8622 Bug 571595: make sure dense_grow always gets inlined, r=nnethercote
--HG--
extra : rebase_source : 14d00cd5356a3dc1fbc88fd305a2244584ac6889
2010-06-21 11:23:39 -07:00
Jason Orendorff
9988b38a60 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal. (Part 2 is to follow; my apologies for crummy numbering.) 2010-06-16 16:13:50 -05:00
Nicholas Nethercote
3dd0b2f480 Bug 564117 - TM: negative index check for GETELEM on 64-bit platforms is bogus. r=gal. 2010-06-20 18:46:43 -07:00
Igor Bukanov
9960173867 bug 572991 - replacing JSXMLArray locals with autoclasses. r=gal
--HG--
extra : rebase_source : b0f13006282537b671d4b410fd9849215154ae18
2010-06-19 20:58:00 +02:00
Blake Kaplan
731acc336b Bug 565230 - Don't try to resolve standard classes if an XPCNativeWrapper is resolving through us. r=gal 2010-06-10 14:48:19 -07:00
Blake Kaplan
a2ac6b938e Remove incorrect return. rs=lumpy 2010-06-18 17:45:33 -07:00
Brendan Eich
734c3a1ba9 Back out a81f2aed9c9b due to orange. 2010-06-18 17:39:22 -07:00
Jeff Walden
06de83b720 Bug 572577 - Generate only a proxy's enumerable properties by filtering a vector of all its properties in-place, without copying properties to a second vector. r=gal 2010-06-17 14:37:33 -07:00
Brendan Eich
157c408713 Eliminate JSClass::reserveSlots and reserve fixed-per-class slots lazily (535416, r=gal). 2010-06-15 10:06:40 -07:00
Brendan Eich
95bae4afbc Skip tests that fail always on 64-bit targets. 2010-06-18 16:39:22 -07:00
Jason Orendorff
a77184c334 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst.
--HG--
extra : rebase_source : dc17a29e8f4e8d174064df5ead078bce2970ff95
2010-06-18 15:29:21 -05:00
Ginn Chen
4fae667754 Bug 562281 - libffi configure failed if env var CFLAGS is set in ksh93 on OpenSolaris. r=ted 2010-06-18 10:30:44 -07:00
Luke Wagner
d984311efe Bug 572625 - create call object only after new frame is pushed (r=dvander) 2010-06-16 23:14:02 -07:00
Brendan Eich
9469e07029 Cherry-pick patch from bug 561674 to not define DEBUG_USERNAME. 2010-06-17 19:48:25 -07:00
Brendan Eich
4b502c156f Fix warnings due to constant JS_MAX size params in MAX_DSLOTS_LENGTH (r=gal).
--HG--
extra : rebase_source : eb93aa51f3ee12ff4711170093434910ff19a125
2010-06-13 06:08:50 +01:00
Andreas Gal
a92e115145 Move proto out of fslots and make it JSObject* (572820, r=jorendorff). 2010-06-17 15:23:17 -07:00
Jeff Walden
ff125e1ca1 Hm, didn't realize JS_LIKELY required a numeric (not nearly bool-ish) argument. r=red 2010-06-17 15:02:38 -07:00
Jeff Walden
e3d1dba2a3 Followup fix for iteration over null, misread a caller and thus missed that we could be asked to snapshot properties of null. r=orange 2010-06-17 14:45:55 -07:00
Wesley W. Garland
55cf36b68a Bug 572600 - Skip jstests which scatter. r=jorendorff.
--HG--
extra : rebase_source : cef99af144d165f54c2216641670832b61f5e1fd
2010-06-17 15:56:36 -05:00
Jeff Walden
5fbb5b9367 Bug 572577 - Change NativeIterator::allocate to accept a vector of ids rather than separate pointer/length. r=gal
--HG--
extra : rebase_source : a7b3993ec46a83e3f70bb1c2975028e1273bb044
2010-06-16 16:17:45 -07:00
Jeff Walden
e993047657 Bug 572577 - Convert proxy name-enumerating APIs to fill in vectors of names, rather than return JSIdArrays. r=gal
--HG--
extra : rebase_source : 5df8f88b785d5c2974bcc89cf285f9791dfbb0c9
2010-06-16 16:11:13 -07:00
Jeff Walden
054bf6ca45 Bug 572577 - Make property enumeration mechanisms fill in a provided vector of names, rather than return a JSIdArray. r=gal
--HG--
extra : rebase_source : 20994eb4c76aad9fe570b8dcfce1f5b6ceeef0fc
2010-06-16 14:12:21 -07:00
Blake Kaplan
eeece03cc6 Bug 572149 - Deal with an abort when about to *start* executing an imacro. r=gal
--HG--
extra : rebase_source : 916ec03b814d9e31134546a910eb329639c0b389
2010-06-16 20:29:52 -07:00
Andreas Gal
d79abfd782 Bug 572774 - NULL deref due to bug in js_Call, regression from bug 572495. r=jorendorff. 2010-06-17 13:15:18 -05:00
Igor Bukanov
5b76e21662 bug 516832 follow up - better assert coverage with conservative gc 2010-06-17 15:35:52 +02:00
Igor Bukanov
a3a94a3484 bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap 2010-06-17 14:32:26 +02:00
Chris Leary
1d03ae0f11 Fix jstests.py --valgrind-args flag. (r=jorendorff) 2010-06-16 18:34:57 -07:00
Jason Orendorff
c80c81124a Merge backout. 2010-06-16 20:03:30 -05:00
Jason Orendorff
c1e349137a Back out changeset 4c1fbfcf1d0d due to orange. 2010-06-16 20:03:11 -05:00
Jason Orendorff
07430a1bcd Back out changeset fdaff211cb8f due to orange. 2010-06-16 20:02:53 -05:00
Jason Orendorff
e4eacf8d04 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal.
--HG--
extra : rebase_source : cfe0da3aa979b24ba331fbc2622970767b06ad58
2010-06-16 16:13:50 -05:00
Andreas Gal
02be8d79fb Compute 'this' in call ObjectOp so it can be overriden (572495, r=jorendorff). 2010-06-16 16:36:40 -07:00
Jason Orendorff
2d3b5bbe7a Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal. 2010-06-16 16:13:28 -05:00
Jason Orendorff
6472e34dba Bug 570169 - Part 1, preparation. Rearrange some code. r=gal. 2010-06-16 16:13:01 -05:00
Jason Orendorff
651a2b804e Delete testContexts_bug570746, which is failing only on tinderbox, inexplicably. No test is worth this much trouble. r=orange. 2010-06-16 15:19:53 -05:00
Chris Leary
c55687cccc Back out changeset fecc8ed9e813. 2010-06-16 01:17:34 -07:00
Jason Orendorff
5550380090 Note that js1_8_5/regress/regress-555246-1.js fails in the shell. 2010-06-15 19:07:50 -05:00
Dave Herman
ddf90cda8e bug 533874, r=cdleary: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Jason Orendorff
604cfc9c6f Fix testContexts_bug570746 for the third time. The scope of the jsvalRoot fundamentally cannot be correct here, so explicit JS_{Add,Remove}ObjectRoot calls are needed. r=orange.
--HG--
extra : rebase_source : e6a4ace8f159dfdb939495cecb5a9c3110242620
2010-06-14 18:50:07 -05:00
Igor Bukanov
287bafafff bug 516832 followup - fixing jsapi-tests compiler warnings 2010-06-15 09:57:24 +02:00
Jason Orendorff
6435203fb2 Remove #include cycle between jsscopeinlines.h and jsobjinlines.h. rs=Waldo. 2010-06-14 15:00:02 -05:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Igor Bukanov
5a45e44fd0 bug 571661 - removal of unused xpconnect-specific auto request classes. r=mrbkap 2010-06-12 18:28:19 +02:00
Jeff Walden
036e2b3101 Bug 570551 - Don't use shared-permanent properties to implement RegExp instance properties. r=jorendorff 2010-06-05 18:16:03 -07:00
Jim Blandy
4b1fae7897 Bug 568375: Delete the JSOP_XMLOBJECT bytecode. r=waldo 2010-06-11 10:48:08 -07:00
Nicholas Nethercote
dd1f103ade Update nanojit-import-rev stamp. 2010-06-10 18:05:05 -07:00
Nicholas Nethercote
a35fc574ae Bug 569753 - nanojit: clean up ExprFilter::ins2(). r=edwsmith.
--HG--
extra : convert_revision : 27e933f40d36603509b75ca2e7361616781528fe
2010-06-10 17:12:53 -07:00
Edwin Smith
b919fbbe12 Bug 562152 - Remove typedef LInsp (r=nnethercote+)
--HG--
extra : convert_revision : 63a0a36e4637218160b42646feb9a18b408d8671
2010-06-10 11:22:18 -04:00
Jim Blandy
5f169e84e2 Bug 563109: Retire jsDriver.pl and friends, in favor of jstests.py. r=bclary 2010-06-10 14:43:54 -07:00
Nicholas Nethercote
13d03be824 merge 2010-06-09 19:41:59 -07:00
Nicholas Nethercote
991efe1344 Bug 568466 - TM: avoid premature NULL check in NewXMLQName(). r=gal. 2010-06-09 19:40:12 -07:00
Vladimir Vukicevic
601bca059e b=571014; assertion when accessing ArrayBuffer props; r=brendan 2010-06-09 19:05:00 -07:00
Vladimir Vukicevic
050bac772e b=560818; use jemalloc chunk allocation in GC, also add GC chunk memory report; r=shaver 2010-06-09 14:56:53 -07:00
Jason Orendorff
9f4dfaa18c Get rid of tabs in jsapi-tests and apply modelines everywhere. Whitespace only change. no_r=me. 2010-06-09 14:34:18 -05:00
Jason Orendorff
6c7518750c Missing "return true;" in jsapi-test is what was really causing it to fail on tinderboxes. Sorry for the mess. r=orange, shame=me. 2010-06-09 14:18:34 -05:00
Jacob Bramley
8dc56be0dd Update nanojit-import-rev stamp. 2010-06-09 09:46:51 +01:00
Jacob Bramley
07c75d07c8 Include signal.h to fix breakage in 49982fe529dd. [Bug 570895] [r=me]
--HG--
extra : convert_revision : 0a8efeddb4d97553a877a1cfd11b3e4b9fb54098
2010-06-09 09:30:23 +01:00