David Mandelin
43624474b4
Bug 508146: update GetUpvarOnTrace stack arithmetic for inclusion of arguments, r=gal
2009-08-03 17:09:28 -07:00
Jason Orendorff
b3268a5ab8
Fix Windows build breakage due to preceding check-in.
2009-08-03 12:03:10 -05:00
Jason Orendorff
2df7b71611
Bug 507665 - Avoid imacros for JSOP_GETELEM and JSOP_CALLELEM. r=gal.
2009-08-03 11:38:28 -05:00
Nicholas Nethercote
f71d930576
Bug 507528 - TM/nanojit: add indirect call code to the core and x86 back-end. r=rreitmai.
2009-08-03 08:54:02 +10:00
Robert Sayre
7ddae3093a
Merge mozilla-central to tracemonkey.
2009-08-02 15:27:09 -07:00
Robert Strong
601de25f2a
Bug 507513 - Need ABI defined for WinCE / WinMo, r=ted.mielczarek
2009-08-01 16:21:59 -07:00
David Mandelin
bac4a5e107
Bug 495330: trace JSOP_INCNAME and related ops for closures, r=gal
2009-07-31 17:52:30 -07:00
David Mandelin
76878034cc
Bug 507675: relax too-strict assert on scope chain condition, r=gal
2009-07-31 17:21:45 -07:00
David Mandelin
14faeda25e
Bug 507424: allocate slots for cloneable regexps in js_AllocFlatClosure if needed, r=igor
2009-07-31 11:34:33 -07:00
Andreas Gal
d2646f3c10
Incorrect upvar access on trace involving top-level scripts (507292, r=dmandelin).
2009-07-30 19:18:18 -07:00
Graydon Hoare
2e92fcbbe3
Backed out changeset d0be9284ea67
2009-07-30 14:28:26 -07:00
Graydon Hoare
ef5f70907e
Backed out changeset fc66e3f4afc9
2009-07-30 14:27:10 -07:00
Graydon Hoare
3b0d6c1a97
Backed out changeset 4bddf07c409e
2009-07-30 14:26:15 -07:00
Graydon Hoare
998a2e55b1
Backed out changeset 137cbe3c46a9
2009-07-30 14:25:03 -07:00
Graydon Hoare
402e209fc1
Backed out changeset 83f39b3e8b10
2009-07-30 14:23:35 -07:00
Graydon Hoare
b1632ff303
Backed out changeset 3853806a58df
2009-07-30 14:21:19 -07:00
Jason Orendorff
8ca27f5bc7
Bug 507425 - cx->bailExit doesn't get cleared after a native setter. r=gal.
2009-07-30 15:21:23 -05:00
Jason Orendorff
b68e0c3d76
Bug 507080 - TM: "Assertion failure: !(sprop->attrs & JSPROP_GETTER), at ../jstracer.cpp". r=gal.
...
--HG--
extra : rebase_source : f9286e0e42bc567baf22299768772a85c44c360a
2009-07-30 14:04:49 -05:00
Mark Steele
ff339aa3b6
Bug 497999: collect context-specific TraceVis data in JS objects, r=jorendorff
2009-07-30 11:48:02 -07:00
David Mandelin
d2df37e008
Bug 507295: store unboxed value instead of boxed on the stack for traced JSOP_SETNAME with closures, r=gal
2009-07-30 11:37:26 -07:00
David Mandelin
f7a94971a0
Bug 507053: fix on-trace scope chain computation for JSOP_BINDNAME, r=gal
2009-07-30 11:34:35 -07:00
Jason Orendorff
9a9d7d84d3
Bug 507156 - JSOP_TABLESWITCH always aborts, sometimes without an abort message. r=dmandelin.
2009-07-30 13:06:15 -05:00
Jason Orendorff
2a9ce4d07c
Bug 506347 - Assertion failure: OBJ_SCOPE(pobj)->object == pobj, at ../jsinterp.cpp. r=brendan.
...
--HG--
extra : rebase_source : 205b7723b6af57682f8f3445a7eda825995a0911
2009-07-30 10:12:01 -05:00
Serge Gautherie
3c19cd0353
Bug 491784 - runxpcshelltests.py should generate a count summary, as reftest and mochitest do; (Av1a) Just do it, plus followup fix for bug 485736; r=ted.mielczarek
2009-07-31 21:58:42 +02:00
Boris Zbarsky
46de150a80
Backed out changeset 03c40c5a2d4b (bug 505988) to fix password manager test orange.
...
--HG--
extra : rebase_source : c88519859e51b9d49d0f2269085dbb17edabd1c1
2009-07-30 11:01:01 -04:00
Graydon Hoare
8017a66d3d
Bug 507302 - more whitespace fixes, r=nnethercote.
2009-07-29 16:21:40 -07:00
Edwin Smith
1e964d04a7
Bug 507042 - class BitSet doesn't need GC support, r=dvander.
2009-07-08 16:21:55 -04:00
Edwin Smith
da15262810
Bug 507039 - Remove _startingIns from Assembler, r=nnethercote.
2009-07-23 13:46:44 -04:00
Edwin Smith
8441271ced
Bug 507036 - Move valgrind icache-flush notification to CodeAlloc, r=dvander.
2009-07-23 11:55:57 -04:00
Edwin Smith
4179e603b3
Bug 507031 - Replace use of avmplus:String with Allocator and char* in nanojit::LabelMap and LirNameMap, r=dvander.
2009-07-15 12:34:17 -04:00
Graydon Hoare
caf3859643
Bug 504462 - Merge tamarin's CodeAlloc into tracemonkey, r=gal.
2009-07-15 16:50:01 -07:00
Nicholas Nethercote
9453269258
Fix ARM bustage caused by b05e0eaa4686.
2009-07-30 11:10:45 +10:00
Nicholas Nethercote
93a1b3630d
Bug 507087 - TM/nanojit: change _argtypes fields from 2 bits to 3 bits (TR sync). r=rreitmai,jorendorff.
2009-07-30 10:44:34 +10:00
Jason Orendorff
a9c63ed454
Bug 497886 - Document the property cache. r=brendan.
2009-07-29 15:18:31 -05:00
Jason Orendorff
f0ca3c8bd9
Bug 506982 - Fix up jstracer style. r=Waldo.
2009-07-29 11:58:19 -05:00
Jason Orendorff
e9f49c7644
Bug 504520 - TM: a >= b misbehaves if a and b are both Infinity at record time. r=Waldo.
...
--HG--
extra : rebase_source : 3debe2d9be81aa923e8d94081b189fd577a21287
2009-07-29 07:48:06 -05:00
Robert Sayre
99a0962393
Backed out changeset e09130fcb013
2009-07-28 18:51:35 -04:00
Brendan Eich
8d27b07ec5
Bug 471214 - Join function objects transparently, clone via read barrier to satisfy de-facto standard (r=igor).
2009-07-28 13:20:14 -07:00
Robert Sayre
6a8309b6be
Merge mozilla-central to tracemonkey.
2009-07-28 15:39:43 -04:00
Jeff Walden
98a661df6f
Bug 506894 - Crash - e4x/GC/regress-357063-01.js. r=gal
2009-07-28 12:19:00 -07:00
Makoto Kato
ad3a18a9f5
Bug 452912 - Optimize Windows x64 build for javascript engine. r=dvander
2009-07-28 19:47:34 +09:00
Jason Orendorff
2980d62c25
Bug 505522 - Support building with C++ exceptions. r=bsmedberg.
2009-07-21 12:13:21 -05:00
Jason Orendorff
ef5947747a
Bug 506880 - Deadlock on exit in threadsafe shell. r=gal.
2009-07-28 04:39:40 -05:00
Jason Orendorff
eb14203c0c
Bug 506786 - JSScope::trace method. r=brendan.
2009-07-28 04:00:35 -05:00
Andreas Gal
e7f2714ea1
When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo).
2009-07-27 21:10:12 -07:00
David Mandelin
9e09ec6424
Fix incompatible enum warnings in static asserts
2009-07-27 18:49:27 -07:00
David Mandelin
cfb0d1fd1b
Bug 506821: clean up trailing whitespace, r=brendan
2009-07-27 18:40:12 -07:00
David Mandelin
9d0c7a2f72
Bug 495329: Trace JSOP_BINDNAME/JSOP_SETNAME for closures, r=brendan
2009-07-27 18:13:53 -07:00
Jason Orendorff
08e0a53af4
Bug 503408 - Trace native setters. r=brendan.
2009-07-27 16:47:34 -05:00
Jason Orendorff
09f42af59b
lirasm - Rename a parameter, as graydon requested in review for bug 505249.
2009-07-27 16:38:39 -05:00
Jason Orendorff
a22e8a6032
Bug 505932 - Shape regeneration does not touch most empty scopes. r=brendan.
2009-07-27 16:29:02 -05:00
Boris Zbarsky
887c21b643
Bug 496908. Make JSVAL_IS_* functions, not macros. r=brendan,jwalden
2009-07-27 16:14:12 -04:00
Jason Orendorff
2421d2c3d1
Bug 505249 - lirasm - Style cleanup and new tokenizer. r=graydon.
2009-07-17 00:48:39 -05:00
wes@page.ca
c3ce4be6d6
Bug 504594 - Addresses in nanojit-debug output are wrong on SPARC. r=graydon.
2009-07-27 12:40:59 +08:00
Leon Sha
de4d2d6b24
Bug 506201 - regexp.cpp fails to compile on opensolaris: goto bypasses variable init. r=gal
2009-07-27 11:30:57 +08:00
Nicholas Nethercote
e33eb5cd4f
Bug 506346 - nanojit: remove compile warnings caused by the patch for bug 506139. r=rreitmai.
2009-07-27 10:34:44 +10:00
Andreas Gal
7c40de183a
Bug 501275 - TM: Crash [@ nanojit::Assembler::nPatchBranch]. r=dvander
2009-07-26 20:28:46 -04:00
Igor Bukanov
bfbac69d3f
bug 506243 - eliminate GC thread-local lists pools. r=brendan
2009-07-26 18:24:39 +02:00
Robert Sayre
a025e17aae
Merge mozilla-central to tracemonkey.
2009-07-26 10:57:19 -04:00
Igor Bukanov
1c7dc7ec8c
bug 505460 - followup to fix misspellings
2009-07-26 08:54:54 +02:00
Serge Gautherie
15d9b84165
Bug 488824 - Remove WIN16 (support) code, in js/src; (Av1) 2 config.mk; r=gal
2009-07-26 07:21:06 +02:00
David Mandelin
72482b18da
Bug 506018 - crash in js_GetClosureVar, regression from Trace JSOP_NAME for general closures. r=gal
2009-07-24 14:00:35 -04:00
Brendan Eich
2b030508f1
Fix bug 506312, see the bug for the sordid details (r=jorendorff).
2009-07-24 12:47:55 -07:00
Robert Sayre
9d7a5baf9d
Merge backout.
2009-07-24 14:02:23 -04:00
Robert Sayre
131858e620
Backed out changeset 8f6d8ce284ff
2009-07-24 14:02:01 -04:00
David Mandelin
d2e2cdd997
Bug 506018 - crash in js_GetClosureVar, regression from Trace JSOP_NAME for general closures. r=gal
2009-07-24 14:00:35 -04:00
Robert Sayre
710cad8b2a
Merge tracemonkey to mozilla-central.
2009-07-24 13:42:38 -04:00
Rob Campbell
e1d2f48c79
bug 474358 - assertion isOuterWindow fix for windows breakage
2009-07-24 11:49:37 -03:00
Rob Campbell
8b46045669
bug 474358 - ASSERTION: Inner window detected in Equality hook, isOuterWindow, p=me, r=timeless, sr=mrbkap
2009-07-24 10:20:34 -03:00
Brendan Eich
7feb4b6202
Fix assertion location to avoid botching it due to patch for 488731.
2009-07-23 18:40:13 -07:00
Brendan Eich
b4a10de944
Bug 488731 - Avoid shape regeneration and property cache purge during the GC (r=mrbkap).
2009-07-24 06:55:28 -07:00
Igor Bukanov
1fcf4af3b3
bug 505460 - preallocating reserved slots. r=brendan
2009-07-24 12:01:37 +02:00
Nicholas Nethercote
a590e2793e
Bug 495158 - nanojit: add comment about CSEability of guards. r=edwsmith.
2009-07-24 16:19:15 +10:00
Nicholas Nethercote
d5dbe8400a
Bug 506177 - TM/nanojit: remove dead 'isfar' argument from asm_branch(). r=rreitmai.
2009-07-24 15:41:32 +10:00
Robert Sayre
6968ea2205
Merge backout.
2009-07-24 00:02:02 -04:00
Robert Sayre
9e0ade7287
Backed out changeset b3d459d23452
2009-07-24 00:01:37 -04:00
Robert Sayre
8a53853d35
Merge backout.
2009-07-24 00:01:15 -04:00
Robert Sayre
6ab8582310
Backed out changeset d07b03553f36
2009-07-24 00:01:00 -04:00
Robert Sayre
af22a8cd0c
Merge backout.
2009-07-24 00:00:32 -04:00
Robert Sayre
e6325f3164
Backed out changeset 8f7b8cae113d
2009-07-23 23:59:51 -04:00
Robert Sayre
b12b27ccca
Backed out changeset 53b153375585
2009-07-23 23:58:50 -04:00
Andreas Gal
17001de0d6
Fix merge conflict that lost part of bug 505612.
2009-07-23 19:38:09 -07:00
Robert Sayre
3722b48ae2
Merge backout.
2009-07-23 22:08:05 -04:00
Robert Sayre
d71c6818a0
Backed out changeset 047b9102dddb
2009-07-23 22:06:31 -04:00
Robert Sayre
e4ee326659
merge.
2009-07-23 22:05:14 -04:00
Robert Sayre
c59ed574da
Backed out changeset 8f6d8ce284ff
2009-07-23 22:04:45 -04:00
Brendan Eich
ffab1f03f7
Fix assertion location to avoid botching it due to patch for 488731.
2009-07-23 18:40:13 -07:00
Andreas Gal
7884cbdc52
Formating fix (no bug).
2009-07-23 18:26:38 -07:00
Brendan Eich
cf4a2c7921
Avoid shape regeneration and property cache purging from the GC unless the shape generator overflows (488731, r=jorendorff).
2009-07-23 17:59:49 -07:00
Nicholas Nethercote
8aeefe7a20
Bug 506139 - TM/nanojit: merge TR whitespace changes in the i386 backend. r=rreitmai.
2009-07-24 10:02:22 +10:00
Nicholas Nethercote
5e1d4a5859
Bug 503449 - lirasm: always build it with the js shell, and fix some breakage. r=jorendorff.
2009-07-24 08:41:59 +10:00
Andreas Gal
eb711234db
Use a background thread to free() memory while sweeping (505612, r=brendan,bent).
2009-07-23 15:12:34 -07:00
Robert Sayre
a181aec2ed
Merge mozilla-central to tracemonkey.
2009-07-23 16:49:14 -04:00
Robert Sayre
b8172c1402
Bug 503160 - integer constants are not automatically demoted. Patch by Andreas Gal and Robert Sayre. r=dvander/gal
2009-07-22 19:47:41 -04:00
Makoto Kato
240dd42e43
Bug 505680 - xpcshell for Symbian. r=mrbkap
2009-07-24 19:05:57 +09:00
Wesley W. Garland
74b5263a84
Bug 502696 js_CompareAndSwap on sparc should not use PRLock() r=jorendorff sr=benjamin
2009-07-24 17:41:42 +08:00
Igor Bukanov
9534c3d315
bug 504033 - avoiding calling JSFinalizeStub. r=brendan
2009-07-22 18:23:21 +02:00
Leon Sha<leon.sha@sun.com>
87605bbcec
Bug 504043 - Firefox will crash on sparc platform when some website. Last checkin is not up to date. r=gal.
2009-07-22 17:44:28 +08:00
Leon Sha<leon.sha@sun.com>
c18cfc0b33
Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal
2009-07-22 17:28:33 +08:00
Leon Sha<leon.sha@sun.com>
8f74f5cc07
Bug 504043 - Firefox will crash on sparc platform when some website. r=gal
2009-07-22 17:06:23 +08:00
Nicholas Nethercote
a8cd3ba765
Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards (2nd attempt). r=gal.
2009-07-22 14:54:41 +10:00
Jason Orendorff
d53ec81df3
Fix memory leak introduced by changeset 3915e2d2c748 (bug 503080). r=mrbkap, no bug#.
...
--HG--
extra : rebase_source : 6cb42950ce67950f0c694bd32d90ccaa53c7a7d4
2009-07-21 21:55:27 -05:00
Nicholas Nethercote
c414a79e4f
Bug 501232 - nanojit: remove LIR_2 (3rd attempt!). r=edwsmith,gal.
2009-07-22 10:28:25 +10:00
David Mandelin
e8a3e752f8
Bug 496240: trace JSOP_NAME for active (on-stack) closures, r=gal
2009-07-21 16:22:36 -07:00
Luke Wagner
dbe10c51be
Bug 505400: restore fullness check for regexp character set, r=dmandelin,gal
2009-07-21 15:19:40 -07:00
Jason Orendorff
a31f80165c
Bug 503080 - Remove prototype-scope-sharing. r=brendan.
2009-07-21 16:25:11 -05:00
David Mandelin
ae3b1ce36c
Bug 505314: don't use LIR_ialloc with size 0, r=gal
2009-07-21 12:14:33 -07:00
Shawn Wilsher
77c23b85e8
Bug 494826 - Compile SQLite with SQLITE_DEBUG defined
...
Compile SQLite in debug mode in our debug builds. We don't hit any assertions
in tests currently, and if we ever do, we've just found a bug in SQLite.
r=ted
2009-07-22 14:43:24 -07:00
Ginn Chen
5e813f70a4
Bug 492720 libgjs failed to compile with js headers of Firefox 3.5 r=brendan
2009-07-23 18:07:09 +08:00
Peter Weilbacher
afbc0fd077
[OS/2] Bug 505574: OS/2 nsinstall.exe from moztools fails to install test directories recursively (after bug463417), p=wuno@lsvw, r=pweilbacher
2009-07-23 09:12:32 +03:00
timeless@mozdev.org
145236e39f
Bug 504474 JS_ValueToBoolean is void
...
r=brendan
2009-07-22 17:31:04 -05:00
timeless@mozdev.org
4ce3e7f582
Bug 496774 XPCJSRuntime::XPCJSRuntime shouldn't touch mJSRuntime without null checking something
...
r=bent sr=jst
2009-07-22 17:31:03 -05:00
timeless@mozdev.org
1f6f60b919
Bug 501593 update TestXPC to use Request Model
...
r=jorendorff sr=mrbkap
2009-07-22 17:31:02 -05:00
Leon Sha<leon.sha@sun.com>
8d0ba6e2ec
Bug 504043 - Firefox will crash on sparc platform when some website. Last checkin is not up to date. r=gal.
2009-07-22 17:45:41 +08:00
Leon Sha<leon.sha@sun.com>
10e00c97c5
Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal
2009-07-22 17:34:28 +08:00
Leon Sha<leon.sha@sun.com>
130b687fd4
Bug 504043 - Firefox will crash on sparc platform when some website. r=gal
2009-07-22 17:15:39 +08:00
Siddharth Agarwal
223d22bcf8
Part of Bug 503756 -- temporarily back out bug 489579 so that srcdir builds start working again.
2009-07-21 20:06:10 +05:30
Andreas Gal
2c91620976
Merge.
2009-07-20 14:18:31 -07:00
Andreas Gal
9f57d1a918
Backed out changeset 8877e1f8645b (bug 501232).
2009-07-20 14:18:17 -07:00
Andreas Gal
83790e006a
Merge.
2009-07-20 14:06:39 -07:00
Andreas Gal
cb9a549160
Backed out changeset 692e8a1325f8 (bug 504705). Crashes with TMFLAGS=full on browser startup.
2009-07-20 13:58:00 -07:00
Jacob Bramley
00bf423543
Backing out a broken part of 99dfb2001094. (no bug)
2009-07-20 11:34:34 +01:00
Jacob Bramley
b5faafb00f
Use ARM's 'Operand 2' encoding for immediates. Also fixes bug 504637. (490968, r=vladimir)
2009-07-20 10:56:44 +01:00
wes@page.ca
dc3efedd7d
Bug 504647 - JITted regular expressions crash SPARC Nanojit. r=dmandelin
2009-07-20 14:11:12 +08:00
Robert Sayre
375d2b5374
Merge tracemonkey to mozilla-central for backouts.
2009-07-21 00:57:41 -04:00
Benjamin Smedberg
5a86abcc68
Fix review nits from bug 463417 which I forgot to address earlier.
2009-07-20 11:48:45 -04:00
Robert Sayre
0e8682e7ec
Merge tracemonkey to mozilla-central.
2009-07-20 11:18:04 -04:00
L. David Baron
d71ea7085b
Use char16_t when available, and when it is, don't test for -fshort-wchar. (Bug 502298) r=bsmedberg
2009-07-20 07:04:41 -04:00
wes@page.ca
d578c08f24
Bug 504647 - JITted regular expressions crash SPARC Nanojit. r=dmandelin
2009-07-20 14:22:45 +08:00
David Anderson
b1b8fe3444
Fixed bug where dependent traces weren't always trashed (bug 503144, r=gal).
2009-07-17 19:59:08 -07:00
Vladimir Vukicevic
00f4cda14b
b=471585; [arm] jit crash on expedia.com; r=gal
2009-07-17 16:03:59 -07:00
Benjamin Smedberg
dbe8ac7b47
Bug 463417 - Port the nsinstall_win stuff over to the JS build engine as well
2009-07-17 15:22:30 -04:00
Benjamin Smedberg
e12b5aded9
Bug 463417 - import the nsinstall.exe source from CVS buildtools repository: make it capable of copying files with very long names, build it by default on Windows hosts, and stop using the moztools version, r?timeless
2009-07-17 15:10:35 -04:00
Brendan Eich
4632276b25
Bug 499790 - common sub-expression elim for repeated (PND_ASSIGNED | PND_FUNARG), r=mrbkap.
2009-07-17 11:36:45 -07:00
Benjamin Smedberg
4965608501
Bug 483202 - Load chrome from the GRE directory in xpcshell, r=ted
2009-07-17 10:41:26 -04:00
Daniel Jeter II
8f9209bc4f
Bug 503186 - DeprecationWarning using Python 2.6, r=bsmedberg
2009-07-17 10:20:11 -04:00
Nicholas Nethercote
52ab095147
Bug 501232 - nanojit: remove LIR_2. r=edwsmith.
2009-07-17 16:25:18 +10:00
Paritosh Aggarwal
6b3a75eb57
Bug 500786 - lirasm - provide support for guards. r=jorendorff.
2009-07-16 21:41:53 -05:00
Andreas Gal
f8892ed21b
Shrink slots during GC only, split ReallocSlots into Alloc/Grow/ShrinkSlots (504478, r=igor).
2009-07-16 18:42:54 -07:00
Andreas Gal
241532b53a
Inline malloc accounting functions (504219, r=jwalden).
2009-07-16 18:36:19 -07:00
Nicholas Nethercote
dabda589bf
Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards. r=gal.
2009-07-17 11:14:01 +10:00
Luke Wagner
0c16520e8b
Bug 406271: add quantifier support for regexp->native compiler, r=dmandelin
2009-07-16 17:17:35 -07:00
Blake Kaplan
0a6a7cef0c
Fix Windows build bustage. rs=brendan
2009-07-16 13:53:36 -07:00
Brendan Eich
e8b04487b7
Hide C++ from C includers.
2009-07-16 13:33:46 -07:00
Blake Kaplan
cd3a0971f1
Bug 504590 - Don't return a "joined" function object, since we don't support them yet. r=brendan
...
--HG--
extra : rebase_source : b7134d683b6e4439f284f9bb033b8040f53cdfb0
2009-07-16 13:16:33 -07:00
Brendan Eich
be04837737
Fix 502630 (r=Waldo).
2009-07-16 13:16:27 -07:00
Nicholas Nethercote
d2f31c8fbd
Bug 504465 - NJ: Move GC classes to namespace MMgc, r=graydon.
2009-07-16 11:50:27 -07:00
Robert Sayre
53d13821c6
Merge mozilla-central to tracemonkey.
2009-07-16 11:46:05 -04:00
Makoto Kato
a5b989eabe
Bug 503288 - add import/export declare for JavaScript engine. r=jim
2009-07-16 15:58:02 +09:00
Brendan Eich
3d1b06185e
Bug 503406 - TM: Trace calling a user-attached function to RegExp (r=mrbkap).
2009-07-15 17:51:19 -07:00
Brendan Eich
221bd1197a
Bug 503406 - TM: Trace calling a user-attached function to RegExp (r=mrbkap).
2009-07-15 17:48:22 -07:00
Brendan Eich
b1cf17d802
Bug 501230 - TM: fast path for String.toString (r=gal).
2009-07-15 17:36:24 -07:00
Neil Rashbrook
7d7253ddaa
Bug 501609 Make js/src build with VC7.1 r=graydon
2009-07-15 20:31:26 +01:00
Jeff Walden
8361fadbb2
Bug 503992 - js_Int32ToId doesn't return the right id when passed a negative integer which doesn't fit in a jsval. Also change how 'in' is interpreted on trace so that we don't side-exit when the named property exists directly on the object. ALL HAIL TESTCASES! r=jorendorff
2009-07-15 02:48:49 -07:00
Robert Sayre
b1646df788
Merge mozilla-central to tracemonkey.
2009-07-15 11:19:12 -04:00
Wesley W. Garland
ee6d0ceed7
Bug 504119 - jstracer.h no longer compiles debug builds on gcc < 4. r=jorendorff.
...
--HG--
extra : rebase_source : 4ea454201e93f26d87a5707d5b91c295e828cd2f
2009-07-14 19:15:23 -05:00
Andreas Gal
1af8dfb112
Avoid integer division in NewGCThing path (503157, r=jwalden).
2009-07-14 17:06:09 -07:00
Andreas Gal
88cf1d87c6
Avoid integer math for GC trigger factor calculation in allocation path, take 2 (503463, r=dmandelin).
2009-07-14 17:03:20 -07:00
Nicholas Nethercote
acc2840ef2
Bug 504213: nanojit: rename LIR_alloc, LIR_addp, LIR_param to match tamarin-redux. r=graydon.
2009-07-15 10:00:43 +10:00
Nicholas Nethercote
6eb09ec1ad
Bug 504208: fix LInsHashSet::equals(). r=graydon.
2009-07-15 09:54:17 +10:00
Jason Orendorff
d3f1ccb6c5
Bug 502832 - TM: Crash [@ memcpy]. r=graydon.
...
--HG--
extra : rebase_source : 2b58bcfbba855e12b0e24ac6d423f4c1621cea12
2009-07-14 17:45:01 -05:00
Jesse Ruderman
2979b4fd10
Make uneval(window) always return something that can be evaled (bug 380959). r=mrbkap.
2009-07-14 13:30:32 -07:00
Peter Van der Beken
166204d6c0
Backed out changeset 2073d5aae8b6 (Avoid integer math for GC trigger factor calculation in allocation path (bug 503463)).
2009-07-14 11:49:43 +02:00
Peter Van der Beken
cf914cb140
Backed out changeset 2073d5aae8b6 (Avoid integer math for GC trigger factor calculation in allocation path (bug 503463)).
2009-07-14 11:49:15 +02:00
Peter Van der Beken
c318fcd5ad
Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven.)
2009-07-14 11:23:07 +02:00
Peter Van der Beken
c4e9e647fb
Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven).
2009-07-14 11:22:41 +02:00
Blake Kaplan
6e8862dc1e
Add a crashtest for bug 503286. r=gal
2009-07-14 01:59:37 -07:00
wes@page.ca
da15c8675f
Bug 494864 - make nanojit debug output easier to follow. Sparc Changes. NPOTB code. r=graydon
2009-07-14 12:58:18 +08:00
Robert Sayre
6866621c71
Merge tracemonkey to mozilla-central.
2009-07-14 00:42:27 -04:00
Robert Sayre
d2f01e78db
merge backout
2009-07-14 00:26:05 -04:00
Robert Sayre
663a2781d7
Backed out changeset b6a8110a858f
2009-07-14 00:25:35 -04:00
Robert Sayre
7bd56b6f24
Merge backout
2009-07-14 00:25:14 -04:00
Robert Sayre
96f8ce6d85
Backed out changeset 6ca843fc1e67
2009-07-14 00:24:15 -04:00
Nicholas Nethercote
1704e7aacf
Bug 503990: make isStmt() table-driven. r=gal.
2009-07-14 13:08:38 +10:00
Blake Kaplan
f8dbe2d575
Bug 503817 - Deal with xpconnect handing us weird this objects. r=gal
2009-07-13 17:46:47 -07:00
David Mandelin
3d9684f134
Bug 503818: update upvar stack arithmetic for jsop_arguments patch, r=gal
2009-07-13 17:37:00 -07:00
Luke Wagner
5210359549
Bug 503981 - Fix thinko. r=jwalden
2009-07-13 17:31:15 -07:00
Blake Kaplan
d142d70ad5
Bug 503286 - Use the right sp for sp_adj to account for tree calls fiddling with state.sp after we've deep bailed. r=jorendorff
...
--HG--
extra : rebase_source : 2d3e2237ef82d4ea5980b4ece9b484344f450036
2009-07-13 15:44:33 -07:00
Robert Sayre
b6ce61f167
Fix dtrace build bustage.
2009-07-13 18:33:33 -04:00
Robert Sayre
b172ec27fd
Merge tracemonkey to mozilla-central.
2009-07-13 18:19:51 -04:00
Andreas Gal
f552010935
Make js_ValueToString inline (503669, r=jwalden).
2009-07-13 14:55:04 -07:00
Andreas Gal
daadccbdec
Follup-fix for 503665 (missing inlines).
2009-07-13 14:41:38 -07:00
Andreas Gal
bfb17e2d67
Make Scope::hold/drop and parts of Scope::search inline (503665, r=jwalden).
2009-07-13 14:29:32 -07:00
David Anderson
50960fdbcb
Static analysis build fixes, follow-up to bug 497948.
2009-07-13 13:46:16 -07:00
Andrew Sutherland
aaeccd8701
bug 497355 - Assertion failure: STOBJ_GET_CLASS(obj) != &js_BlockClass, at /Users/moztest/comm/main/src/mozilla/js/src/jsscope.cpp:79. r=igor
2009-07-13 13:45:34 -07:00
David Anderson
3afb790b55
Refactored deduceTypeStability/closeLoop for a general cleanup needed for recursion (bug 497948, r=gal+sayrer).
2009-07-13 13:26:27 -07:00
Andreas Gal
0c6942b658
Avoid integer math for GC trigger factor calculation in allocation path (503463, r=dmandelin).
2009-07-13 13:24:25 -07:00
Julian Seward
b9dc1bb9d6
Bug 496693 - NJ: comment and refactor DeadCodeFilter vs Assembler::gen interactions, r=edwsmith.
...
--HG--
extra : rebase_source : e675f824946d4a8bb83b2aed8ff1911c8b23caee
2009-07-13 11:50:42 -07:00
David Mandelin
a10caff6bb
Bug 502789: correct regexp->native compiler of handling case-insensitive matching of characters with multiple lower-case forms, r=lw
2009-07-13 12:41:30 -07:00
Benjamin Smedberg
350cc29383
Bug 501657 - Put local python modules at the beginning of the python path, not the end, tested by Jory Pratt
2009-07-13 12:28:59 -04:00
Florian Queze
6f16d6f944
Bug 468569 - after building in srcdir, make distclean doesn't clean up enough. r=ted
2009-07-13 13:46:23 +02:00
Andreas Gal
427ece476a
Make sure js_FinalizeStringRT can be inlined into js_GC() (503462, r=dmandelin).
2009-07-12 07:41:20 -07:00
Andreas Gal
3367fcef8e
Inline FinalizeObject into js_GC() along with making Scope hold() and drop() inline, too (503461, r=dmandelin).
2009-07-12 07:38:59 -07:00
Andreas Gal
48d847d549
Bump local gcthings limit to 64 (503156, r=igor).
2009-07-12 07:32:59 -07:00
Andreas Gal
6830c9b118
Avoid 16-bit arithmethic in GC arenas (503419, r=dmandelin).
2009-07-12 07:29:18 -07:00
Robert Sayre
247b1e3f5d
Merge mozilla-central to tracemonkey.
2009-07-11 23:46:16 -04:00
Andreas Gal
d788e5a1d4
Make CHECK_FOR_STRING_INDEX an inline function (503666, r=jwalden).
2009-07-11 15:41:32 -07:00
David Anderson
c9fca61ed4
Build fix, follow-up to bug 503595.
2009-07-11 16:02:31 -04:00
David Anderson
a46f3aa0f0
Fix -0 modulo -x disagreement on Windows (bug 503595, r=sayrer).
2009-07-11 12:40:37 -07:00
Andreas Gal
69b9d107c2
Remove unnecessary cast to unsigned (introduced by bug 502241, r=graydon).
2009-07-10 17:18:25 -07:00
Graydon Hoare
e404f743cd
Bug 503593 - NJ: whitespace and modeline cleanup, r=gal.
...
--HG--
extra : rebase_source : c7fcc1acaadb2264796a3ee7a20866eecc4dc484
2009-07-10 12:58:34 -07:00
Blake Kaplan
2afead1cba
Bug 502449 - Now that our pseudo-frame can have a call object it needs slots, too. r=igor
2009-07-10 15:07:19 -07:00
Brendan Eich
107bba886d
Bug 503524 - JSON.stringify does not condition number-typed space parameter per spec (r=sayrer).
2009-07-10 16:02:38 -04:00
Brendan Eich
4e705018ab
Optimize stringify edge case. r=sayrer/jorendorff.
2009-07-10 15:13:54 -04:00
Graydon Hoare
203d645160
Bug 503437 - NJ: Commit missing CodeAlloc and NativePPC files from Adobe, r=gal.
...
--HG--
extra : rebase_source : 51a1d5fdc3c8ce0492f5986612a06858f2c4a5da
2009-07-10 11:21:53 -07:00
Jason Orendorff
72391e700b
Bug 503464 - Memory leak in JSScope::drop. r=brendan.
2009-07-10 10:36:29 -05:00
David Anderson
1899603001
Fixed division and modulo bugs with negative numbers and 0 (bug 498237, r=gal).
2009-07-09 18:14:32 -07:00
Graydon Hoare
3b37933d2d
Bug 502953 - Followup patch to remove residual makefile entries, r=dvander.
...
--HG--
extra : rebase_source : 5e0c1dea8ad190a0fd432a4c8a2791e1cccd7e2f
2009-07-09 13:33:16 -07:00
Brendan Eich
f60779aef5
Bug 503343 - Change JSScope macros to methods. r=jorendorff
2009-07-09 15:27:21 -05:00
Brendan Eich
93c0af174f
Pick nits including warning provoker in jsregexp.cpp from bugs 463535 and 453730.
2009-07-09 15:18:08 -04:00
Brendan Eich
9cfe1539e6
Optimize GCto avoid atomic decrement in js_DropScope (503155, r=jorendorff).
2009-07-09 14:59:44 -04:00
Peter Van der Beken
b831933504
Fix for bug 503170 (Make QS argument unwrapping use thisptr offsets). r=jorendorff, sr=jst.
...
--HG--
extra : rebase_source : 1bf030e9ea24fd8efa3fd14feef3632020a3a359
2009-07-09 16:26:19 +02:00
Peter Van der Beken
9eeb6bea74
Fix for bug 504146 (Crash [@ nsGenericElement::cycleCollection::Traverse] with focus() method, popup, menulist, treecols). r=jst, sr=mrbkap.
...
--HG--
extra : rebase_source : ccd7a76cceab3f1ab593e2918d3847e14e8c5c22
2009-07-17 12:17:46 +02:00
Vladimir Vukicevic
c7416c8257
b=503570, [arm] jit crash with illegal instruction; r=gal
2009-07-16 21:05:29 -07:00
Vladimir Vukicevic
9b3959126b
b=500472; flash activex shunt for Windows CE; r=jst
2009-07-16 14:13:29 -07:00
Peter Van der Beken
5a3a242c13
Fix for bug 503167 (Replace xpc_qsReadOnlySetter with js_GetterOnlyPropertyStub). r=jorendorff, sr=jst.
...
--HG--
extra : rebase_source : 448b7e44111c8261736156e76c9936030457c40a
2009-07-09 16:26:19 +02:00
Peter Van der Beken
2f1f9cb597
Fix for bug 503166 (XPCStringConvert::ReadableToJSString shouldn't allocate for empty string). r/sr=jst.
...
--HG--
extra : rebase_source : 76c08ffb3bced708ad8af9626b7dfcb3c3fae28f
2009-07-09 14:46:39 +02:00
Jason Orendorff
5044a40564
Bug 503198 - Restore ability to trace initprop/setprop with non-branded scope and function rhs. r=brendan.
2009-07-09 06:49:44 -05:00
Jason Orendorff
3b8b21247e
Bug 503191 - trace-test.js aborts in testAddAnyInconvertibleObject et al. r=Waldo.
...
--HG--
extra : rebase_source : 4977a191af6285669e7e268bc713c03a9338c60b
2009-07-08 17:58:59 -05:00
Nicholas Nethercote
9360d761e7
Bug 499605: localize _labels, _patches and pending_lives in Assembler. r=edwsmith.
2009-07-09 08:54:31 +10:00
Nicholas Nethercote
ae95b81b57
Bug 502788: avoid many redundant NULL comparisons in the LirReader pipeline. r=edwsmith.
2009-07-09 08:34:22 +10:00
Jason Orendorff
d9e1f3aa40
Bug 502914 - JIT code can call js_AddProperty when the property already exists (Assertion failure: !SCOPE_HAS_PROPERTY(scope, sprop), at ../jsbuiltins.cpp:257). r=gal.
2009-07-08 15:44:58 -05:00
Jason Orendorff
9b7ea9a02e
Last-minute change to the unit test in the previous changeset a08e3540da32, requested by bz in bug 502890 comment 6. Informal r=graydon.
2009-07-08 15:38:55 -05:00
Jason Orendorff
fc08c0c726
Bug 502890 - Assigning to a called method on trace does not change the object's shape. r=gal,r=brendan.
2009-07-08 14:44:31 -05:00
David Mandelin
975f74c278
Bug 453730: trace JSOP_ARGUMENTS, r=gal
2009-07-08 11:16:41 -07:00
Graydon Hoare
e46aedbb11
Bug 502953 - Remove dead TraceTreeDrawer, r=dvander.
2009-07-07 15:31:03 -07:00
David Anderson
223c73c848
Fixed two rare cases where missing globals in a nested loop could result in an outer recording using an incorrect typemap entry for those slots (bug 502604, r=gal).
2009-07-07 12:14:30 -07:00
Jason Orendorff
b2ae19610c
Bug 498565 - Setting inline style always misses property cache. r=brendan.
...
--HG--
extra : rebase_source : 953740c5d693ee5358fb85690dc0e15df3bafa0a
2009-07-07 06:20:26 -05:00
Jason Orendorff
e0ee1845cf
Give the LIR instruction for loading obj->map the name "map" in debug output. r=brendan in bug 498565 comment 18.
...
--HG--
extra : rebase_source : 3c7954123b4b89d0f38b7e6c2397749a9156e342
2009-07-07 06:20:22 -05:00
Jason Orendorff
50928beb6c
Minor cleanup. Fuse if-if in js_FillPropertyCache. r=brendan in bug 498565 comment 18.
...
--HG--
extra : rebase_source : 386e6c4b1c06aa14b9d7e6cb7efaf83c9fb5e7bd
2009-07-07 06:09:28 -05:00
Leon Sha<leon.sha@sun.com>
db53a19dda
Bug 502584. Firefox will crash when visiting www.hp.com on sparc platform. r=gal. NPOTB code
2009-07-07 14:16:35 +08:00
Nicholas Nethercote
1787bb1105
Trivial fix for a TMFILES=liveness debug output assertion failure.
2009-07-07 15:25:50 +10:00
Nicholas Nethercote
bcb3d13d73
Add some info on troubleshooting in the TraceVis README.
2009-07-07 12:31:09 +10:00
Nicholas Nethercote
b23341dd32
Fix compile breakage on optimized builds caused by my last commit.
2009-07-07 09:49:55 +10:00
Nicholas Nethercote
ab0511054e
Bug 502539: move displacements into load instructions. r=gal,edwsmith.
2009-07-07 09:26:12 +10:00
David Mandelin
fd4086beac
Bug 502058: blacklist regexps for native compilation more efficiently and reliably, r=gal
2009-07-06 13:21:32 -07:00
Luke Wagner
55ec9409d5
Bug 501834 - Regression on js1_5/Regress/regress-312588.js crash [@ JS_HashTableRawLookup]. r=jwalden
2009-07-06 13:02:43 -07:00
Robert Sayre
878a89a073
Merge mozilla-central to tracemonkey.
2009-07-06 12:20:54 -04:00
Andreas Gal
e06ace81ce
Build fix for 502145 with JS_TRACER disabled (no bug).
2009-07-06 07:01:21 +02:00
Andreas Gal
16a60091ed
Shortcut lookup flag calculation when on trace (bug 502145, r=igor).
2009-07-06 06:42:13 +02:00
Peter Van der Beken
b805317eeb
Try to fix orange.
2009-07-05 20:03:52 +02:00
Andreas Gal
5b8748f20e
Add an argument to bench.sh that selects which shell to test (no bug).
2009-07-03 22:26:27 -07:00
Andreas Gal
e2a4db5c7b
Fix warnings in jsxdrapi.cpp (502296, r=jwalden).
2009-07-03 17:37:41 -07:00
Andreas Gal
1406080795
Consistently use signed ints for pcdepth (502241, r=brendan).
2009-07-03 17:03:24 -07:00
Andreas Gal
0324bd664d
Cleanup alignment cast for jump tables (502242, r=jwalden).
2009-07-03 16:55:22 -07:00
Nicholas Nethercote
a87c89d0ef
Bug 493125 - remove LIR_cs. r=edwsmith.
2009-07-02 12:21:28 +10:00
Luke Wagner
4ffa0787b0
Bug 200505 - Better fix for C/C++ syntax problems with declaring the JSTempVector template. r=jwalden
2009-07-01 16:15:01 -07:00
Blake Kaplan
4c0da90619
Bug 501270 - Make pseudo-frames have call objects if they're around a heaveyweight function to preserve engine invariants. r=brendan
2009-07-01 11:40:36 -07:00
Nicholas Nethercote
5842226e62
Bug 492866: implement variable-width LIR. r=graydon.
2009-07-01 14:18:55 +10:00
Nicholas Nethercote
8de6422b09
Backed out changeset ae16e5919d19 (tree was closed for talos maintenance).
2009-07-01 11:33:54 +10:00