Brian Hackett
8b14aaf92b
Cleanup analysis state to avoid bogus assert, bug 616170. r=dvander
2011-03-04 10:56:18 -08:00
Nicholas Nethercote
ce865cc77b
Bug 600734 - TM: some jstracer.h clean-ups. r=dmandelin.
2011-03-03 19:59:00 -08:00
Nicholas Nethercote
0517757fd5
Bug 629858 - improve a strict warning message. r=jwalden.
2011-03-03 16:27:07 -08:00
Chris Leary
30ecc46b76
Bug 614155: Lazily construct toSource cache. (r=lw)
...
--HG--
extra : rebase_source : cbf922c5ce45b7d656ef3fdbd4c872a4ff82aacc
2011-03-03 15:28:25 -08:00
Jeff Walden
1f98843746
Bug 557371 - Make JSON.stringify behavior on Boolean, String, and Number objects to-spec. r=jorendorff
2010-12-31 11:41:23 -06:00
Jeff Walden
e7f473ae7e
Bug 637859 - Anchor a string for a bit. r=cdleary, a=bsmedberg
2011-03-03 13:41:11 -08:00
Jeff Walden
2db290c32a
Bug 638312 - Add JS_IsBuiltinEvalFunction and JS_IsBuiltinFunctionConstructor APIs. r=gal
2011-03-02 19:57:44 -08:00
Jeff Walden
f6da9cb49a
Bug 582717 - Make regular expressions not callable. r=brendan
...
--HG--
extra : rebase_source : 31508fd037fea395d4e1bbacd868e77f2f7a17a9
2011-03-01 09:59:37 -08:00
Jeff Walden
9f2ea56274
Bug 558541 - Add a test. r=jorendorff
2010-04-19 17:40:13 -07:00
Jan de Mooij
5d2018797b
Bug 614608 - Rewrite String.prototype.split to be more ES5 compliant. r=jwalden
2011-03-09 21:04:47 -08:00
Nicholas Nethercote
d08f2f1dfa
Bug 639743 - JM: clean up Executable{Pool,Allocator} some more, 6/6. r=dvander.
2011-03-09 19:13:29 -08:00
Nicholas Nethercote
0e02674730
Bug 639743 - JM: clean up Executable{Pool,Allocator} some more, 5/6. r=dvander.
2011-03-09 19:13:01 -08:00
Nicholas Nethercote
5f718ef281
Bug 639743 - JM: clean up Executable{Pool,Allocator} some more, 4/6. r=dvander.
2011-03-09 19:12:26 -08:00
Nicholas Nethercote
f355e8d6ef
Bug 639743 - JM: clean up Executable{Pool,Allocator} some more, 3/6. r=dvander.
2011-03-09 19:11:59 -08:00
Nicholas Nethercote
e3dd8f0822
Bug 639743 - JM: clean up Executable{Pool,Allocator} some more, 2/6. r=dvander.
2011-03-09 19:11:07 -08:00
Nicholas Nethercote
7115ff9cf1
Bug 639743 - JM: clean up Executable{Pool,Allocator} some more, 1/6. r=dvander.
2011-03-09 19:10:41 -08:00
Paul Biggar
f7477c2d88
Bug 640085 - Fix segfault in shark builds (r=gal)
2011-03-09 15:52:21 -08:00
Nicholas Nethercote
119428d74f
Bug 640076 - TOK_XMLATTR tokens can span multiple lines. r=brendan.
2011-03-09 15:26:38 -08:00
Jeff Walden
67bac5f7af
Bug 560277 - Crash [@ JSObject::getParent] or [@ js_WrapWatchedSetter] or [@ js_GetClassPrototype]: add a test. r=dmandelin
...
--HG--
extra : rebase_source : 7a71c7e095beaf30372648fac3bf93bc295d609d
2010-04-19 17:34:15 -07:00
Nicholas Nethercote
f49a4233d3
nanojit: remove LIR_xtbl (TM-specific part). r=dmandelin.
2011-03-03 14:34:12 -08:00
Nicholas Nethercote
734def8da3
Update nanojit-import-rev stamp.
2011-03-03 14:27:57 -08:00
Nicholas Nethercote
16364ca183
nanojit: remove LIR_xtbl. r=edwsmith.
...
--HG--
extra : convert_revision : fd5ca562e1d1609c275dd0c0b9ff0b656309d4ac
2011-03-03 14:20:55 -08:00
timeless@mozdev.org
717ecc872c
Bug 620291 - useless assert of free_block [@ CodeAlloc::free]. r=gal,edwsmith.
...
--HG--
extra : convert_revision : 265c5971702784c3acae2a8e6b710afacdfd6798
2011-03-02 21:09:15 -08:00
Jason Orendorff
9ca29e86c9
Mark evalcx-using test as shell-only. r=orange.
2011-03-03 15:54:38 -06:00
Jason Orendorff
b13b9ecc23
Bug 630218 - Reflect.parse("x.*") shouldn't mark the MemberExpression as computed. r=dherman.
...
--HG--
extra : rebase_source : 0bb714d5f76734fa88fdcd3c24718a13cc01f735
2011-03-03 15:09:00 -06:00
Jason Orendorff
84d99790b9
Bug 630213 - ASTSerializer::leftAssociate right-associates. r=dherman.
...
--HG--
extra : rebase_source : 18bbf8f963f4c76b1fe6d4e7acc9aa6b33381b73
2011-03-03 15:08:01 -06:00
Jason Orendorff
45e8859924
Bug 636818 - Crash [@ js::CallJSPropertyOpSetter] or [@ js_SetProperty] when assigning to a property inherited from a wrapper. r=gal.
2011-03-03 14:50:40 -06:00
Jason Orendorff
93894af161
Bug 636394 - "Assertion failure: canHaveMethodBarrier()" when cloning a METHOD property to an object of a different class. r=brendan.
2011-03-03 14:46:33 -06:00
Jason Orendorff
29ac094796
Bug 636697 - Crash calling null setter in js_watch_set. r=brendan.
2011-03-03 14:24:13 -06:00
Jason Orendorff
8366fbaf5b
Fix GCC warning about space character in printf format. No bug, rs=sfink.
2011-03-03 14:14:26 -06:00
Steve Fink
f6ff2e9813
Bug 612368 - add headers, line numbers to source note dump (r=dmandelin)
...
--HG--
extra : rebase_source : 11e88670e6f207875be76e54d8eb5ac802d88c92
2010-11-15 12:35:03 -08:00
Steve Fink
d82dc470f0
Bug 633459 - Add in some missing calls to the new script hook (r=luke)
...
WrapEscapingClosure and js_XDRFunctionObject both created scripts without notification.
--HG--
extra : rebase_source : f98de033862337cba9f97540e4fec1a23a0bb173
2011-02-11 13:23:24 -08:00
Steve Fink
45c5ba20ad
Bug 630898 - JS_CurrentThreadId should be js_CurrentThreadId (r=brendan)
...
--HG--
extra : rebase_source : 36df59e5bd180476bbc92ca6827263cc2b183ed6
2011-02-07 14:56:52 -08:00
Steve Fink
e6c27bfa1c
Bug 630939 - JSD type error fetching construction function name (r=timeless)
...
--HG--
extra : rebase_source : 6199fbb193bf4b9471084055275e675629f1b95f
2011-02-01 12:44:41 -08:00
Steve Fink
b02657ea22
Bug 631377 - Add some compartment asserts for jsdbgapi (r=gal)
...
--HG--
extra : rebase_source : 98ed68f0e74c530d4c48d24a9e3e1d97504d7ecd
2011-01-27 18:32:16 -08:00
Steve Fink
d91b101420
Bug 631467 - NULL dereference on jsdc->dumbContext on error (r=gal)
...
--HG--
extra : rebase_source : 4f4bd83377302ccd97ab3c6b412ce9508971a320
2011-02-04 00:36:05 -08:00
Igor Bukanov
b9b1577eec
bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff
2011-02-03 14:06:21 +01:00
Nicholas Nethercote
fd82ec12ca
Fix ARM breakage from bug 617244 (TM-specific part). r=me.
2011-03-02 20:40:51 -08:00
Nicholas Nethercote
bf97cf9052
Update nanojit-import-rev stamp.
2011-03-02 20:38:22 -08:00
Nicholas Nethercote
3712bfedec
Fix ARM breakage from bug 617244. r=me.
...
--HG--
extra : convert_revision : 90782f292765499d7505cd4c2b606a0bb8fa69e0
2011-03-02 20:36:50 -08:00
Nicholas Nethercote
1126a1d66d
Bug 617244 - nanojit: remove AvmCore (TM-specific part). r=gal.
2011-03-02 20:00:45 -08:00
Nicholas Nethercote
242009535f
Update nanojit-import-rev stamp.
2011-03-02 19:53:51 -08:00
Nicholas Nethercote
fb330f1df7
Bug 617244 - nanojit: remove AvmCore (NJ-specific part). r=edwsmith.
...
--HG--
extra : convert_revision : 6a1b21753af64c966f56dc0fad14d8a9d17d674e
2011-03-02 19:39:08 -08:00
Edwin Smith
08c353a31a
Bug 624442: ifndef-guard MIN/MAX macro definitions in vprof.cpp (r=fklockii)
...
--HG--
extra : convert_revision : 17d3562dd533c83fd7c1576eb114880b51f91306
2011-03-02 09:26:17 -05:00
Edwin Smith
5aeab46e08
Bug 620133 - Replace SeqReader with LIR_skip [r=nnethercote]
...
This patch adds LirWriter.insSkip(), LIns.overwriteWithSkip(),
and LirReader.peek()
I extracted the insSkip() changes from bug 545406 so I could use insSkip() and
overwriteWithSkip(). LirReader.read() uses its own size array because of
the special case for LIR_start, but other cases use a shared insSizes[]
array.
I added LirReader.peek() so that when erasing an instruction during a LirReader
iteration, I can find the skipTo instruction to use. It is the next one that
will be read.
--HG--
extra : convert_revision : 3c560f9f45413de8c5ed10cab4584a8c1b1e4e3f
2011-03-01 15:34:11 -05:00
Neil Rashbrook
e044a7a0ba
Bug 626716 Remove use of NJ_NO_VARIADIC_MACROS from Nanojit r=njn,edwsmith
...
--HG--
extra : convert_revision : 7f482bf4ca5ae9c59f19da699c46ed43a087f9d4
2011-02-16 23:53:30 +00:00
Steven Johnson
08a16f2855
Bug 630601 - Comment in LIR.cpp contains non-ASCII char (r=nnethercote)
...
--HG--
extra : convert_revision : 09de25da6b951c4ecf4982888353903c1495f095
2011-02-01 12:23:09 -08:00
Paul Biggar
27255a5f39
Bug 637446 - Run jit-tests as part of |make check| even when ENABLE_TRACEJIT is not enabled (r=nnethercote)
...
--HG--
extra : rebase_source : 16aee6299eed87d2ded7f7aa9fc7783e67c242bb
2011-03-02 15:12:57 -08:00
Paul Biggar
a3c3e1f443
Bug 637437 - Fix --enable-debug --disable-methodjit build (r=jorendorff)
...
--HG--
extra : rebase_source : bfb0ef221120d080302100eefd925d03b7d7c755
2011-03-02 15:11:31 -08:00
Nicholas Nethercote
388b702e25
Bug 620757 - TM: don't trace JSOP_TABLESWITCH. r=dmandelin.
2011-03-02 14:48:10 -08:00
Jeff Walden
b7b5222619
Bug 637385 - Don't try to trace through a bindname in strict mode eval code. r=dvander
...
--HG--
extra : rebase_source : 5964a8007566005cdc6a2bda9b69c99cb0d4c728
2011-03-01 09:59:37 -08:00
Gregor Wagner
91205eabab
Bug 636510 - Change GCTimer output to msec. NPOTB, r=igor
2011-03-02 08:30:27 -08:00
David Anderson
0b86969d83
Fix trace/interp mismsatch in |this| computation (bug 636795, r=gal).
2011-03-01 23:42:22 -08:00
Andreas Gal
a5500a0ce1
Merge.
2011-03-01 17:42:50 -08:00
haytjes
f328b7b2da
Bug 635005: new RegExp(undefined) works like new RegExp(''). (r=cdleary, a=jst)
2011-03-01 17:36:54 -08:00
David Anderson
d79b45f535
Fix tracer integration edge case (bug 636879, r=billm,luke).
2011-03-01 12:50:37 -08:00
Nicholas Nethercote
e3ce73e36f
Bug 635155 - Get full JIT-tests coverage back. r=dmandelin, a=beltzner/npotb.
2011-02-28 16:17:05 -08:00
David Mandelin
1ec8dc20b1
Bug 636820 relanding: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
David Mandelin
ab54915f93
Bug 636820 relanding: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
Luke Wagner
56cb551f05
Bug 637397 - Set runtime debug mode in js shell with -d (r=sfink,a=npotb)
...
--HG--
extra : rebase_source : fd6868299f8998769eaaa5a7a985296099c8961d
2011-02-28 13:05:29 -08:00
David Mandelin
8da7f1614f
Backed out changeset 672a84576ca6 -- tinderbox build bustage
2011-02-28 12:08:57 -08:00
David Mandelin
8e2207d22a
Bug 636820: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
Robert Sayre
ccbfde2165
Merge mozilla-central to tracemonkey.
2011-02-26 19:36:09 -08:00
Luke Wagner
35220d90f3
Bug 619565 - Fix activation object handling by InvokeSessionGuard (r=waldo,a=shaver)
...
--HG--
extra : rebase_source : 24e4d6ecf1cb9696fda7468eb631f13d92d7ab7a
2011-02-24 12:34:33 -08:00
Robert Sayre
377db48438
Merge tracemonkey to mozilla-central. a=blockers
2011-02-25 10:00:38 -08:00
Andreas Gal
32052a42fd
Fix bug 635137 (r=luke, a=blocker).
2011-02-24 19:56:13 -08:00
Andreas Gal
b126dc33dd
Fix bug 635137 (r=luke, a=blocker).
2011-02-24 18:52:27 -08:00
Andreas Gal
77c817bccc
Fix bug 635137 (r=luke, a=blocker).
2011-02-24 18:52:27 -08:00
Andreas Gal
0b35929b8d
Fix for Apple gcc 4.2 compiler bug triggered by bug 636364 (r=CLOSED TREE).
2011-02-24 16:10:16 -08:00
Brendan Eich
53a1b854d8
Pushing new test I forgot to hg add (636364 ; thanks to philor for reminder).
2011-02-24 13:24:21 -08:00
David Anderson
f468d25f2b
Fix extra decref in rare IC path (bug 635968, r=dmandelin).
2011-02-24 12:09:18 -08:00
Brendan Eich
84c3f82dee
Further comment fussing (636364, r=me).
2011-02-24 11:13:55 -08:00
Brendan Eich
1fb329e418
Fix comment glitch in last push (636364, r=me).
2011-02-24 11:12:03 -08:00
Blake Kaplan
bff040d432
Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker
2011-02-24 19:36:33 +01:00
David Anderson
a6ae4f6fb5
Fix extra decref in rare IC path (bug 635968, r=dmandelin, a=blocking).
2011-02-24 12:09:18 -08:00
Jeff Walden
d70cc72f97
Bug 636078 - Fix some typed array bugs. r=vlad, r=jorendorff
2011-02-24 01:23:57 -08:00
David Mandelin
dd55c56f06
Allow -a to be passed with jitflags in jit-tests, NPOTB
2011-02-25 13:09:58 -08:00
David Mandelin
3273dcef7a
Fix MSVC warning.
2011-02-25 13:07:29 -08:00
David Anderson
2b2f15e5f1
Fix (bug 635200, r=gal, a=blocking).
...
--HG--
extra : rebase_source : b8ab8fd50bf405e7ee963b70f3eff5311c03d0e1
2011-02-25 11:08:58 -08:00
David Mandelin
9fec2fde54
Bug 625417: fix detection of ?-quantified groups for empty-match rule in regexes, r=dvander, a=blocking
2011-02-25 11:06:31 -08:00
mrbkap@gmail.com
229848dc69
Fix bug 636097 (r=gal, a=blocker).
2011-02-23 22:13:17 -08:00
Brendan Eich
bb7ac49211
Followup fixes and tests in wake of global |this| binding change (636364, r=luke/gal/dvander, thanks to Waldo for the newGlobal shell function).
2011-02-23 19:38:27 -08:00
Bill McCloskey
f904ac994e
Bug 636219 - Reset interpreter's useMethodJIT flag upon entering/exiting a function (r=dvander,a=shaver)
2011-02-24 10:20:18 -08:00
bent.mozilla@gmail.com
5e450f9830
Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker
2011-02-23 00:08:36 -08:00
Steve Fink
bc5878ce5d
Bug 634648 - Mark tests that require to be run in debug mode
2011-02-16 22:41:14 -08:00
Mounir Lamouri
68eceb3a1d
Backed out changeset d7ea5c7f6cb7 due to oranges.
2011-02-24 14:37:44 +01:00
Mounir Lamouri
38d714c510
Bug 633133 - Define in operator for HTMLCollections and <select>. r=jst
2011-02-24 12:59:50 +01:00
mrbkap@gmail.com
f853de3fb7
Fix bug 636097 (r=gal, a=blocker).
2011-02-23 22:13:17 -08:00
Gregor Wagner
f20e96eab6
Bug 636365 - Add separate GCTIMER interval for sweeping Shapes. NPOTB, (r=gal)
2011-02-23 19:58:19 -08:00
kosver
9edd61c77e
Remove bogus assertion at jsdbgapi.cpp:781. Bug 635195, r=jorendorff, a=dmandelin.
...
--HG--
extra : rebase_source : 51b817d95bd254353f136e9cc88d35831f5f5db1
2011-02-23 14:17:00 -06:00
Jason Orendorff
418cca97a6
Remove unused global variable. rs=brendan, npotb.
...
--HG--
extra : rebase_source : 1f04ea043d3e1ff7abfcad517c0f9ff597b19ea4
2011-02-21 13:10:37 -06:00
Bill McCloskey
227c8948dc
Bug 606960 - Purge property cache even for eval scripts (r=brendan,a=beltzner)
2011-02-23 10:23:59 -08:00
bent.mozilla@gmail.com
4a59c6cf4e
Only run CC after the GC has run at least once (bug 626768, r=gal).
2011-02-23 00:08:36 -08:00
brendan@mozilla.org
649f67b373
Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=gal).
2011-02-22 22:25:10 -08:00
Bill McCloskey
ca2b3326cd
Bug 635594 - Abort recording if closeLoop() fails (r=lw,a=dvander)
2011-02-22 17:51:07 -08:00
Bill McCloskey
5ecac5c965
Bug 635873 - Fix shape marking during per-compartment GCs (r=gal,a=dmandelin)
2011-02-22 12:45:18 -08:00
Steve Fink
530d5125c2
Bug 635298 - Check return value of JS_ValueToString() (r=luke, a=gal)
...
--HG--
extra : rebase_source : 578154e99a3192c7c6610f62b181bf222373b834
2011-02-18 14:27:00 -08:00
Jason Orendorff
e44513b843
Bug 633890 - Assertion failure: prop == (JSProperty*) shape. r=brendan, a=jst.
...
--HG--
extra : rebase_source : 8b5f7ad67b3119c56700f3a2d50f84d320fbda11
2011-02-18 10:57:42 -06:00
Jason Orendorff
d516b40847
Add resolver built-in function to the JS shell. This is for testing. r=brendan in bug 458271, a=npotb.
...
--HG--
extra : rebase_source : 585c1fd53672763341a3f476c46c0704c3e1bf12
2011-02-18 10:57:33 -06:00
Jason Orendorff
23844e2a2c
Silence MSVC warnings. no_r=me.
...
--HG--
extra : rebase_source : edff65eb68b63b90603d552855023a63f2073626
2011-02-18 10:57:28 -06:00