Andreas Gal
be09aa48c3
Only specialize math function if the argument is really a number (511837, r=dvander).
2009-08-26 12:16:11 -07:00
Andreas Gal
67fe30f1e7
Backed out changeset dc2598d08078 (re-landing bug 504516).
2009-08-26 09:58:51 -07:00
Andreas Gal
b9aaa226c3
Backed out changeset 48c039f7ac4f (bug 504516).
2009-08-26 03:24:00 -07:00
Andreas Gal
a2744e1fd1
Avoid overflow exception when dividing -2147483648 / -1 (504516, r=dvander).
2009-08-25 23:55:50 -07:00
Edwin Smith
10163c0cd1
Bug 507042 - class BitSet doesn't need GC support, r=dvander.
...
--HG--
extra : rebase_source : ad1835e60e926a8cdb570711b9deec0e1c40ead1
2009-07-08 16:21:55 -04:00
Edwin Smith
2c7e0812af
Bug 507039 - Remove _startingIns from Assembler, r=nnethercote.
...
--HG--
extra : rebase_source : f4f5451a94fa60bb8059688bd64a6638e69a32c7
2009-07-23 13:46:44 -04:00
Edwin Smith
59e1ebda37
Bug 507036 - Move valgrind icache-flush notification to CodeAlloc, r=dvander.
...
--HG--
extra : rebase_source : 7815a2cd0699aff603e96bb05eae04c27d504578
2009-07-23 11:55:57 -04:00
Edwin Smith
e299aec675
Bug 507031 - Replace use of avmplus:String with Allocator and char* in nanojit::LabelMap and LirNameMap, r=dvander.
...
--HG--
extra : rebase_source : 3c59dc7bff1ece5ac282da9b0cb8820674345684
2009-07-15 12:34:17 -04:00
Michael Sullivan
d329b7a0f0
Bug 507723: separate jsop implements into their own file and allow them to be included as functions, r=brendan
2009-08-10 13:26:28 -07:00
David Mandelin
86609aa9f8
Bug 508187: do stack push after all guards when tracing JSOP_INCNAME et al, r=gal
2009-08-10 13:03:50 -07:00
Jason Orendorff
335eeb15af
Bug 461269 - Remove TOK_RP nodes from the parse tree. r=brendan.
2009-08-10 14:00:46 -05:00
Jason Orendorff
08c6a1c780
Bug 506721 - Convert JSVAL_TO_INT and INT_TO_JSVAL to functions. r=Waldo.
2009-08-09 07:25:53 -05:00
Luke Wagner
7470eaa57b
Bug 503952 - JSStringBuffer/JSCharBuffer with JSTempVector, part 1. r=jwalden
2009-08-07 20:09:11 -07:00
David Anderson
9ffa89ff60
Merge failure fix (bug 497948 fallout).
2009-08-07 17:30:56 -07:00
Graydon Hoare
b8154cc364
Bug 504462 - Merge tamarin's CodeAlloc into tracemonkey, r=gal.
2009-07-15 16:50:01 -07:00
Jason Orendorff
1e09b59b10
Bug 509047 - Defining a property that forces a dense array to become sparse shouldn't call a setter. r=brendan.
2009-08-07 18:31:54 -05:00
David Anderson
829a35875e
Cleanup of deduceTypeStability and closeLoop, take two (bug 497948, r=gal+sayrer).
2009-08-07 14:08:23 -07:00
Jason Orendorff
4652795bfd
Bug 509040 - DEFSHARP should define, not set, properties on fp->sharpArray. r=brendan.
...
--HG--
extra : rebase_source : 808d5523fa1db91152bbeb37f8d6015a40c0bc56
2009-08-07 11:10:12 -05:00
Atul Varma
169e0bf289
Bug 505494 - Unwrap invisible wrappers when they're passed to Function.prototype.apply. r=mrbkap
2009-08-06 20:48:57 -07:00
David Anderson
f574beae13
Merge.
2009-08-06 15:11:54 -07:00
David Anderson
ebe297403d
Improved DumpPeerStability spew (bug 508866, r=gal).
2009-08-06 15:10:53 -07:00
Jacek Caban
5da4c824d2
Bug 505123 - js3250.dll linking fails on MinGW on fastcall inline functions, a=jacek, r=graydon.
2009-08-06 13:40:05 -07:00
Graydon Hoare
fd8a117e2f
Bug 503694 - TM: Code run off an event handler is never traced, r=brendan.
...
--HG--
extra : rebase_source : da2e900baac68f88f06eaa8554b245f7d403153f
2009-08-06 12:40:51 -07:00
Robert Sayre
94c5688746
Backed out changeset 70b3b23c948a
2009-08-06 11:16:20 -07:00
Andreas Gal
af827d73f8
Memory-pressure based GC scheduler (506125, r=igor).
2009-08-05 17:27:20 -07:00
David Mandelin
c1486b955e
Bug 508178: guard that arguments object refers to the same frame if used on trace, r=jorendorff
2009-08-05 12:39:10 -07:00
Igor Bukanov
1cdc6fe8e2
bug 507573 - followup - fixing a typo in putActivationObjects usage.
2009-08-05 16:27:54 +02:00
Igor Bukanov
2e4416c672
bug 493457 - followup - fixing a typo in the patch.
2009-08-05 16:14:24 +02:00
Andreas Gal
9c938dd547
Backout bug 506125 due to talos failures.
2009-08-04 18:42:53 -07:00
Andreas Gal
a71df21ea2
Allow 25% working-set size growth instead of 18.75% (trying to identify tjss regression cause).
2009-08-04 17:58:01 -07:00
Andreas Gal
06ad033ff2
Memory-pressure based GC scheduler (506125, r=igor).
2009-08-04 14:58:21 -07:00
Andreas Gal
625f0b8d66
Remove unused -DJS_USE_SAFE_ARENA build option (508095, r=brendan).
2009-08-04 14:51:06 -07:00
Igor Bukanov
ef90f6f522
bug 493457 - uniform access to private slots. r=mrbkap, sr=jwalden
2009-08-04 23:06:55 +02:00
Luke Wagner
c57a688621
Bug 200505 - Remove a warning in class JSTempVector, r=graydon.
...
--HG--
extra : rebase_source : fcfacd888e7aa33231a828778171b0e6d7287277
2009-08-04 11:01:18 -07:00
Jason Orendorff
1a10f24c21
Remove unnecessary intermediate in case JSOP_FORNAME. No bug#. rs=brendan.
...
--HG--
extra : rebase_source : cab0d44fc57007551c02c9493f58a95e0030552c
2009-08-04 12:58:56 -05:00
David Mandelin
bcef71432b
Bug 507449: Trace JSOP_GETXPROP, r=gal
2009-08-04 11:01:13 -07:00
Robert Sayre
6a084d7111
Bug 507526 - use getc_unlocked in the scanner rather than getc. r=jorendorff
2009-08-04 10:30:26 -07:00
Igor Bukanov
ca5953ea0c
bug 507573 - put activation clenup. r=brendan
2009-08-04 12:55:58 +02:00
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
Nicholas Nethercote
4af0dc60ae
Make LIR variable-width (bug 492866, r=graydon).
2009-07-01 11:13:22 +10:00
Luke Wagner
145fbf91c2
Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo
2009-06-30 20:19:42 -04:00
Robert Sayre
3f97d5e6f5
Backed out changeset b2256abf53c0
2009-06-30 12:14:09 -07:00
Luke Wagner
a6311cf8b5
Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo
2009-06-30 11:29:43 -07:00
Nicholas Nethercote
1e84e68309
Remove dead setCallTable() declaration (bug 488515, r=gal).
2009-06-30 14:55:44 +10:00
David Mandelin
4af7401ebd
Bug 500621: make regexp lirbuf setup work the same as tracing lirbuf to avoid mem leak, r=dvander
2009-06-29 17:04:35 -07:00
Mike Hommey
52c585af70
Bug 501241 - xpcshell fails to build when setting EDITLINE. r=mrbkap
...
--HG--
extra : rebase_source : c41df07d7ccaf98a15335493aa9227788da323ee
2009-06-29 16:10:54 -07:00
Andreas Gal
84b0735487
js_GetMethod shouldn't detect (501229, r=jorendorff).
2009-06-29 15:19:37 -07:00
David Mandelin
b86272cfea
Bug 496448: check in python scripts for TraceVis, r=brendan
2009-06-29 14:56:57 -07:00
Andreas Gal
8196259ca6
clearResv() is i->resv()->clear() now (501072, r=graydon).
2009-06-29 13:23:06 -07:00
Paritosh Aggarwal
c3757b928f
Bug 499365 - lirasm - Provide for execution of multiple fragments in a single file. r=jorendorff.
2009-06-29 13:26:43 -05:00
Andreas Gal
b7aae8df42
Missing strtointeger path in js_StringToInt32 (501124, r=brendan).
2009-06-29 10:55:43 -07:00
Robert Sayre
bb21111d06
Merge.
2009-06-27 11:21:54 -07:00
Robert Sayre
1f424a53da
Merge mozilla-central to tracemonkey
2009-06-27 11:19:19 -07:00
Andreas Gal
d81dccb836
Deep abort is not detected in JSOP_IN (500108, r=dvander).
2009-06-26 16:29:38 -07:00
Graydon Hoare
7c5590c0aa
Bug 473989 - Adjust trace-test.js part of 'make check' in js/src to handle win32 properly, r=bsmedberg.
2009-06-26 12:37:58 -07:00
Graydon Hoare
a94223e1df
Bug 500580 - JS_CallFunction path isn't ~JIT guarded against non-global scope chains, r=brendan.
2009-06-26 11:13:32 -07:00
Graydon Hoare
8ddc326134
Bug 500491 - Only reset saved JSOPTION_JIT after js_Execute, r=brendan.
2009-06-25 16:20:53 -07:00
Brendan Eich
b1edbdb4eb
Back out incorrect patch for bug 497789 (r=jorendorff).
2009-06-26 10:40:51 -07:00
Jason Orendorff
71785f1019
Bug 499897 - reverse INULL in js_ComputeFilename. r=Waldo.
2009-06-25 18:03:46 -05:00
David Anderson
cf5bda02f1
Nits to Queue<T>, assert valid index and support 0 starting size (bug 500554, r=gal).
2009-06-25 17:14:54 -07:00
Jeff Walden
2d9f80b8df
Windows bustage fix, r=foopy
...
--HG--
extra : rebase_source : 3e6a65cb262f12fe73b3ef7657a1f38c9673ad99
2009-06-25 16:36:25 -07:00
David Anderson
ae2714f79c
Merge.
2009-06-25 16:19:56 -07:00
David Anderson
048e17ae2a
Nits.
2009-06-25 16:15:08 -07:00
David Anderson
3d4b953291
Avoid pedantic errors about trailing commas in lists (build bustage fix).
2009-06-25 16:02:29 -07:00
David Anderson
5c320ef809
Follow-up nits to bug 500522.
2009-06-25 15:41:18 -07:00
David Anderson
b6436e2572
Print exit names instead of numbers (bug 500522, r=gal).
2009-06-25 15:32:50 -07:00
David Anderson
4bdda08512
Added TMFLAGS=full mode to mimic TRACEMONKEY=verbose (bug 500517, r=gal).
2009-06-25 14:43:20 -07:00
Brendan Eich
d9828e7abc
Followup assertion restoration and comment fix (497789, r=jorendorff).
2009-06-25 14:16:06 -07:00
Graydon Hoare
25425ac136
Bug 473989 - Enable trace-test on 'make check', r=ted.
2009-06-25 12:47:00 -07:00
Benjamin Smedberg
3323246776
GetAtomFromBytecode is actually JS_REQUIRES_STACK, just marking it so.
2009-06-25 15:19:37 -04:00
Benjamin Smedberg
bc75ed217a
Bug 499971 - js_GetCallVar and several others which are used as JSNatives must not be JS_REQURIES_STACK, r=jorendorff
2009-06-25 15:12:20 -04:00
Benjamin Smedberg
c7cc8fde73
Bug 498398 - fast natives such as array_sort and many others must not be JS_REQUIRES_STACK, r=jorendorff
2009-06-25 15:12:19 -04:00
Benjamin Smedberg
65670172bd
Bug 491988 - do JS_REQUIRES_STACK analysis on function pointers, r=jorendorff+dmandelin
2009-06-25 15:12:19 -04:00
Benjamin Smedberg
3d4a869324
Bug 491988 - Annotation fixes required for analyzing JS_REQUIRES_STACK for function pointers, r=jorendorff
2009-06-25 15:12:19 -04:00
Brendan Eich
579d4f6d24
Seed new empty scope shape from prototype to handle foreshadowing, enable deep propcache hits keyed by shapes, simplify code (497789, r=igor).
2009-06-25 12:05:09 -07:00
Julian Seward
b96eed42da
Bug 494864 - Make nanojit debug output easier to follow, r=graydon.
2009-06-24 20:32:00 -07:00
Brendan Eich
ee292894fd
Nit followup to 496674 (r=graydon).
2009-06-24 16:33:20 -07:00
Robert Sayre
00931a5d0f
Merge mozilla-central to tracemonkey.
2009-06-24 13:16:16 -07:00
Graydon Hoare
0f04cb5c35
Bug 496674 - Replace FORALL macros with template functions and visitors, take 2, r=gal.
2009-06-19 18:48:05 -07:00
Jacob Bramley
47c7c77223
Remove the BL method from the ARM nanojit back-end as it is no longer used. (487607, r=vladimir)
2009-06-24 15:57:17 +01:00
Jacob Bramley
e91a29b36f
Use BLX to provide ARM/Thumb interworking support on ARM. (486639, r=vladimir)
2009-06-24 15:54:35 +01:00
Jacob Bramley
f960ac522c
Correct some corner cases in the branch patching code for ARM. (486325, r=vladimir)
2009-06-24 15:26:07 +01:00
Jacob Bramley
e5b587147f
Improve exit code efficiency on ARM. (491678, r=vladimir)
2009-06-24 08:17:44 +01:00
Boris Zbarsky
e3f52528d3
Bug 499865. Log blacklists as part of our jitstats. r=jorendorff
2009-06-23 23:44:38 -04:00
Andreas Gal
96aa2917f7
Added a FIXME, reminding us to remove the proto chain walking code once bug 497789 has been fixed (comment change only, no bug).
2009-06-23 19:35:17 -07:00
Andreas Gal
6e96f166d2
Check for end of proto chain when walking it (499169, r=mrbkap).
2009-06-23 19:22:54 -07:00
Jeff Walden
a85dcc897c
Bug 499772 - TM: TraceRecorder::test_property_cache needs JSClass.getProperty checks when a property isn't found on an object. r=jorendorff, r=brendan
2009-06-22 14:35:57 -07:00
Graydon Hoare
859a94d6ec
Backed out changeset 5e1b444c803c, broke static analysis tinderbox.
2009-06-23 16:58:30 -07:00
Graydon Hoare
c8b2433196
Bug 496674 - Replace FORALL macros with template functions and visitors, r=gal.
2009-06-19 18:48:05 -07:00
Andreas Gal
791b4c9a77
Backed out changeset 55a8910d8436 (no consensus whether patch should be applied, bug 499664).
2009-06-23 15:50:23 -07:00
Andreas Gal
5786928320
Eliminate 64-bit LIR_callh hack (499664, r=dvander).
2009-06-23 15:11:49 -07:00
Andreas Gal
f3194e9335
Move details of LIns format into LIns class itself (500053, r=dvander).
2009-06-23 14:51:15 -07:00
David Mandelin
b3ab033855
Bug 499019: don't report errors for code that is 'not reached', even as an intermediate result, r=jorendorff
2009-06-23 10:52:52 -07:00
Igor Bukanov
795af78c24
bug 499570 - fixing shutdown leak of not-yet-closed JSNativeEnumerator instances. r=brendan
2009-06-23 18:52:03 +02:00
Jacob Bramley
a0fdb46274
Don't use ARM's MOVW and MOVT instructions to write to the PC. (487595, r=vladimir)
2009-06-23 11:13:54 +01:00
Jacob Bramley
92fa4891a8
Clean up ARM's SET macro and correct a few condition codes. (488845, r=vladimir)
2009-06-23 11:12:22 +01:00
Jacob Bramley
4bc4cb2c09
Clean up asm_branch and correct the use of condition flags on VFP conditions. (489583, r=vladimir)
2009-06-23 10:36:36 +01:00
Jacob Bramley
257161448b
Fix crash on ARM caused by spilling registers in asm_mmq. (495239, r=vladimir) Follow-up: Reveals (or creates) some failures documented in bug 499889.
2009-06-23 09:36:53 +01:00
Nicholas Nethercote
7595f38896
Remove unused field 'parent' from class LabelMap (bug 499400, r=gal).
2009-06-23 14:11:09 +10:00
Graydon Hoare
8c9251f069
Bug 499603 - Stop leaking VMFragments on script-purge, r=jorendorff.
...
--HG--
extra : rebase_source : 110af19d876b552fbedffe4366ef4e1f5172bbfa
2009-06-22 15:48:37 -07:00
Paritosh Aggarwal
8736463f25
Bug 499016 - Provide testing support for lirasm. r=graydon.
2009-06-22 17:22:09 -05:00
Paritosh Aggarwal
f5d7c03678
Bug 497991 - Fix function calls in lirasm. r=graydon,r=jorendorff.
2009-06-22 17:16:21 -05:00
Nicholas Nethercote
ae3ac6a734
Remove unused isCse() and LirBuffer() args (bug 499260, r=edwsmith).
2009-06-22 14:48:16 +10:00
Nicholas Nethercote
a5db26a0e2
Fix assertion failure in trace-test.js with TRACEMONKEY=verbose (bug 499154, r=graydon).
2009-06-22 10:48:36 +10:00
nnethercote@mozilla.com
015cf5504c
remove LIR_calli and LIR_fcalli (492478, r=edwsmith,jorendorff).
2009-06-19 10:20:26 +01:00
Andreas Gal
887e6a5f47
Remove NativeThumb.cpp (bug 486535, hg totally sucks).
2009-06-19 09:47:16 +01:00
Jacob.Bramley@arm.com
4b490c9a33
Remove remaining obsolete ARM Thumb code (486535, r=gal).
2009-06-19 09:45:52 +01:00
Andreas Gal
ac13e56ffd
Backed out changeset 1b5584a4eba4. Accidentally committed some unreviewed changes.
2009-06-19 09:42:34 +01:00
Jacob.Bramley@arm.com
7ecc26f135
Remove remaining obsolete ARM Thumb code (486535, r=gal).
2009-06-19 09:37:38 +01:00
Graydon Hoare
2ad590f536
Bug 497060 - Disable JIT on non-global initial scope chain, r=brendan.
...
--HG--
extra : rebase_source : f8052e5687bfa5fe5f9879622375c06dac647f95
2009-06-18 14:47:57 -07:00
Blake Kaplan
3cd1e79160
Bug 498993 - Don't mistake initialization for assignment when the assignment is hidden by a secon var declaration. r=brendan/jorendorff
2009-06-18 14:52:06 -07:00
Igor Bukanov
3193020246
bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan
2009-06-18 15:24:06 +02:00
Igor Bukanov
e90c3cd0d5
Backed out changeset 7ab1be136cfa - that patch for bug 498899 has a bug.
2009-06-18 15:00:55 +02:00
Igor Bukanov
7d5d5e6b13
bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan
2009-06-18 14:26:16 +02:00
Paritosh Aggarwal
8270114427
Bug 498926 - lirasm - Support --execute with LIR_fret. r=jorendorff.
2009-06-17 11:52:20 -05:00
Igor Bukanov
dfb15bdf9a
bug 498874 - fixing GCC warnings about unsigned < 0 comparisons. r=gal
2009-06-17 13:57:03 +02:00
Jonathan Steele
822c633451
Bug 477170. Remove Windows95/98 support from configure.in. r=ted
...
--HG--
extra : rebase_source : cf9d5aa2347053266a63f92a27d1f23d0186a7d3
2009-06-24 21:10:47 +12:00
Andreas Gal
c175b9122e
Check for end of proto chain when walking it (499169, r=mrbkap).
2009-06-23 19:22:54 -07:00
Andreas Gal
468f664495
If the result of a demoted multiplication is 0, must undemote or we lose -0 (498549, r=dvander).
2009-06-17 08:06:21 +01:00
Nicholas Nethercote
c4b939cd8f
Bug 494639 - NJ: fix numerous LIR memory management problems, r=graydon
2009-06-16 14:01:31 -07:00
Graydon Hoare
8e41e3adb1
Bug 496448 - Followup to fix build, r=jorendorff.
...
--HG--
extra : rebase_source : b9e08e853fcd183ef88b7cfac1e70ca199feb214
2009-06-16 12:19:29 -07:00
Jason Orendorff
aae770b100
Bug 498504 - lirasm - constant jumps produce assertions. intermediates treated as labels. p=paritosh,r=me.
2009-06-16 13:05:59 -05:00
Andreas Gal
0ce2e91c33
Right hand operand must be a 32-bit signed integer if we want to demote the operation (498236, r=dvander).
2009-06-16 09:35:59 +01:00
Nicholas Nethercote
e2a97e3f4c
Bug 496448: TraceVis TraceMonkey performance visualization, r=brendan
2009-06-16 09:30:01 +01:00
David Mandelin
20478b6b72
Bug 497779: try to extend tree on inner-tree CASE_EXIT, r=gal
2009-06-16 09:10:28 +01:00
Phil Ringnalda
9c53680785
Bug 499632 - Remove run_viewer target, r=ted
2009-06-26 22:31:32 -07:00
Walter Meinl
42781281d7
Bug 494490 - make install on linux installs the system_wrappers{_js} in includedir; r=benjamin
2009-06-24 23:31:27 +02:00
Jim Blandy
38da11cf33
Bug 501760: Don't try to use mmap for JS allocation on Symbian. r=blassey
2009-07-09 14:59:54 -07:00
L. David Baron
9a8d97752d
Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv
2009-07-08 18:10:29 -07:00
Vladimir Vukicevic
a678e18942
b=503205; [arm] stop hitting bogus assertion in nPatchBranch; r=crashy
2009-07-08 16:46:57 -07:00
Phil Ringnalda
a51763aea8
Bug 435923 - Remove BUILD_OFFICIAL in favor of MOZILLA_OFFICIAL, r=ted
2009-07-07 20:24:45 -07:00
Phil Ringnalda
b6c6fef600
Bug 501586 - Remove the last vestiges of MOZ_MILESTONE_RELEASE, r=ted
2009-07-07 20:24:40 -07:00
Peter Van der Beken
876abb32f0
Fix for bug 499787 (Remove one AddRef/Release pair from GatherProtoScriptableCreateInfo). r/sr=mrbkap.
...
--HG--
extra : rebase_source : 2db51a8d57cf6bdb8c42e677a819e1d3687e3593
2009-06-23 12:09:13 +02:00
Olli Pettay
2e0f78e968
Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil
2009-06-23 13:07:39 +03:00
Vladimir Vukicevic
b7cdc8d0ff
b=403345; dtrace probes get wrong function name, filename, and line number info when native methods are involved; r=brendan
2009-06-17 13:50:03 -07:00
Jason Orendorff
52fe5a97ba
Bug 497618 - Change JSString macros to methods. r=Waldo.
2009-06-10 20:29:44 -05:00
Jason Orendorff
45de8e01db
Bug 498395 - "Assertion failure: !(pn->pn_dflags & flag), at ../jsparse.h". r=mrbkap, r=brendan.
...
--HG--
extra : rebase_source : c3d0ecfcbbbce0c7494ffd53dc240c2b69e6eb8f
2009-06-15 15:42:00 -05:00
Nicholas Nethercote
de28e96de9
NJ: fix load opcode checking, r=graydon.
2009-06-15 12:04:06 -07:00
Andreas Gal
ec254bec6f
Support tracing instanceof operator (498351, r=jorendorff).
2009-06-15 16:44:30 +01:00
Andreas Gal
213c5e12a5
Remove obsolete ARM/Thumb code (no bug).
2009-06-13 20:05:28 -05:00
Brendan Eich
1bd5c5dc73
Over-parenthesize per house style and to avoid GCC warning (r=nnethercote, private communication).
2009-06-14 19:37:43 -07:00
Andreas Gal
e53b949cbf
Cleanup expression filter in LIR.cpp (497935, r=edwsmith).
2009-06-13 18:04:08 -05:00
Andreas Gal
cc54d17364
Don't trace attempted setting of a constant in an active frame (495962, r=brendan).
2009-06-13 17:31:19 -05:00
Andreas Gal
848b955635
adjustCallerTypes does not aggressively undemote globals anymore (bug 496482, r=dvander). relanding
2009-06-12 17:26:56 -07:00
Andreas Gal
b43077c19f
Optimize ECMA double to int32 conversion path (patch by mohammad.r.haghighat@intel.com, r=dvander).
2009-06-12 15:18:10 -07:00
Blake Kaplan
c538fe444e
Bug 497998 - Remove obsolete assertion. r=brendan
2009-06-12 14:53:25 -07:00
Graydon Hoare
6a44d94f4f
Bug 484142 - Standalone LIR assembler, r=jorendorff.
2009-06-12 11:33:08 -07:00
Andreas Gal
659a7a9b6c
Implement oracle-based speculative fmod/fdiv/fmul demotion (474443, r=graydon,dvander).
2009-06-12 08:33:32 -07:00
Blake Kaplan
dda0e2bd98
Bug 497119 - Don't assume that we have a cx->fp (or that fp is on cx->fp at all). Set up display as it would have been when fp was active, though. r=brendan
2009-06-11 14:12:23 -07:00
Jeff Walden
8b7bef6dd0
Bug 497207 - Define |enum JSTraceType| and stop overloading JSVAL_* for trace-time types. r=jorendorff
...
--HG--
extra : rebase_source : bb72ca3ad8fab4d0b2affca611630bf5a9559531
2009-06-10 16:58:02 -07:00
Andreas Gal
a0182c819c
Correctly disable conditional moves on platforms that do not support them (497455, r=graydon).
2009-06-10 15:21:10 -07:00
Brendan Eich
324ed984a8
Cast to int16 when tagging slot as an int jsval to satisfy an assertion (497146, r=igor from the future).
2009-06-10 12:15:01 -07:00
David Mandelin
3b5dd194d2
Bug 497015: correctly account for tracing/interpreter differences in layout of slots/stack for upvars in top-level frame, r=gal
2009-06-09 17:18:42 -07:00
David Mandelin
3db63853e3
Bug 496922: do upvars correctly when the function defining the upvar was called with extra args, r=brendan,gal
2009-06-09 11:49:53 -07:00
Marti Raudsepp
932d73a3ef
Bug 510040 - Fix JS debugger crash on 64-bit: don't truncate PC to jsuint in jsds_FilterHook. r=timeless
...
This caused Firefox to segfault in 64-bit builds when starting up with the
Chromebug extension loaded.
2009-08-12 22:09:29 +03:00
Chris Seawood
be987a548e
Merge bug 508879
2009-08-16 17:54:37 -07:00
Karl Tomlinson
59e83ae8e9
bug 506845 targets are not rebuilt when archives from EXPAND_LIBNAME change r=bsmedberg
2009-08-17 09:54:45 +12:00
Chris Seawood
62835e520f
Force daysFromBuildID() to return an int so that mingw windres doesn't fail.
...
Bug #508879 r=bsmedberg
2009-08-15 17:24:35 -07:00
Brendan Eich
51fe52e6f9
Wrapper automation should not apply to flat closures, plus cleanup (496790, r=igor).
2009-06-09 00:51:02 -07:00
Blake Kaplan
ce23324f11
Bug 496870 - Emit JSOP_STARTXMLEXPR before potentially emitting any LC nodes in a list. r=Waldo
2009-06-08 16:48:30 -07:00
ikezoe@clear-code.com
2e4dab02a1
LIns::isOp2() lacks qjoin (496851, r=gal,edwsmith).
2009-06-08 15:04:19 -07:00
Benjamin Smedberg
040c645b55
Followup to bug 496824 - reverse the order of the asserts so that we know accessing cx->fp is safe
2009-06-08 17:07:26 -04:00
Brendan Eich
ad476aa98c
Add static analysis incantation, plus assert cx->fp for sanity (496824, r=mrbkap).
2009-06-08 13:35:43 -07:00
David Anderson
7b60d9f172
Fixed sideexit coalescing code not checking global count (bug 496813, r=gal).
2009-06-08 13:20:25 -07:00
Brendan Eich
a08c609235
Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap; take 2).
2009-06-08 13:03:50 -07:00
Blake Kaplan
d7a368c426
Bug 496245 - Assertion failure: fun->u.i.script->upvarsOffset. r=brendan/dmandelin
2009-06-08 12:13:37 -07:00
David Mandelin
344e868872
Bug 496251: use up-to-date typemap when getting upvar from trace entry native frame, r=gal
2009-06-08 10:48:18 -07:00
Brendan Eich
046d89233e
Fix delete upvar (and local var, too) analysis (496422, r=igor).
2009-06-07 13:07:16 -07:00
danderson@mozilla.com
d73e0f0bbf
Merge global type maps at the loop nesting anchor site (496743, r=gal).
2009-06-06 14:04:23 -07:00
Nicholas Nethercote
96dd8702a9
Bug 495028. nanojit: add opcode checks to all LIR get/set methods. r=edwsmith
2009-06-06 12:58:11 -04:00
Robert Sayre
f44a576277
Back out bug 496134, destructuring assignment upvar fixes due to reported fuzzer problems
2009-06-06 02:20:06 -04:00
David Mandelin
1e04a40929
Bug 496270: correct use of C++ reference returned from function, r=gal
2009-06-05 16:19:06 -07:00
Brendan Eich
05f8dc2692
Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap).
2009-06-05 16:14:00 -07:00
Brendan Eich
b95d489795
Skip let binding not in scope (in let head, e.g.) and find any shadowed binding (496532, r=mrbkap).
2009-06-05 13:55:51 -07:00
Brendan Eich
d39f51fdcb
Last gasp for 496605 (r=igor).
2009-06-05 12:24:20 -07:00
Brendan Eich
4d75d6bce0
Fast ultimate fighting web-compat followup for 496605 (r=mrbkap).
2009-06-05 12:13:22 -07:00
Brendan Eich
a356c92db2
Bug 496605 - Need to prevent optimized closure escape via foo.caller still (r=igor).
2009-06-05 11:41:32 -07:00
Andreas Gal
52fad9c62a
Censor block objects in addition to call objects when accessing 'this' (496507, r=mrbkap).
2009-06-04 23:25:20 -07:00
Andreas Gal
9ad02efbdf
Censor call object and substitute it with global object in getThis (496325, r=mrbkap).
2009-06-04 21:04:32 -07:00
Andreas Gal
7b098dc9e7
When merging type maps in a side exit, use the inner tree's globals (495958, r=dvander).
2009-06-04 20:42:56 -07:00
Robert Sayre
3821d57bc6
Merge.
2009-06-04 23:16:04 -04:00
Robert Sayre
e3e6558191
Merge m-c to tracemonkey.
2009-06-04 23:14:49 -04:00
Andreas Gal
3882ad59b6
Merge.
2009-06-04 20:12:44 -07:00
Andreas Gal
7d8559c586
Backed out changeset 2ad658e9f42a (bug 495958, re-opened).
2009-06-04 20:12:31 -07:00
Andreas Gal
6d7d5ebee0
Merge.
2009-06-04 20:11:07 -07:00
Andreas Gal
27fd01b67d
Backed out changeset 17664f5cab40 (bug 496482, also backing out the bug that introduced this bug).
2009-06-04 20:10:55 -07:00
Brendan Eich
77da9d75ed
Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap).
2009-06-04 18:58:47 -07:00
Andreas Gal
c1a6a54eed
adjustCallerTypes does not aggressively undemote globals anymore (bug 496482).
2009-06-04 21:50:26 -04:00
timeless@mozdev.org
6e5d8a5804
Bug 440982 To avoid calling JS at unsafe times from JS_GC, jsds_ScriptHookProc should not get the script hook unless it needs to and it is safe to call
...
r=brendan sr=brendan
2009-06-04 21:00:56 -04:00
David Mandelin
cce0d4d6a6
Bug 496391: trash all trees before deleting fragments in js_PurgeScriptFragments, r=graydon
2009-06-04 17:50:08 -07:00
David Mandelin
80a97eb5d3
Bug 496319: correctly unpack FrameInfo::argc, r=mrbkap
2009-06-04 15:19:59 -07:00
Brendan Eich
64f0a471ba
Make @ns::attr force HEAVYWEIGHT to avoid having to analyze ns as a lexical name (hack for 496316, r=igor).
2009-06-04 10:58:06 -07:00
Robert Sayre
b7ea66606f
Merge mozilla-central to tracemonkey.
2009-06-03 23:19:45 -04:00
Blake Kaplan
445fcf3242
Bug 496113 - Unwrap 'with' objects before calling into getters to restore API compatibility. r=brendan
2009-06-03 16:37:44 -07:00
Jeff Walden
9607777654
Bug 496054 - TM: Null deref [@ JITted code] involving __proto__ munging and array-like access. r=brendan
2009-06-03 16:34:37 -07:00
Boris Zbarsky
9e286af994
Bug 484459. Give SandboxClass a convert method so it doesn't end up delegating that to the prototype. r+sr=mrbkap
2009-06-03 18:49:53 -04:00
Andreas Gal
9ded7b0c3e
Capture missing globals from current environment, not the tree entry map when extending a side exit (495958, r=graydon).
2009-06-03 12:43:38 -07:00
Igor Bukanov
5f8aa186ab
bug 494645 - new "-r" option to the dis function disassemble recursively. r=mrbkap
2009-06-03 20:44:20 +02:00
David Mandelin
a90aee411c
Bug 494269: trace JSOP_LAMBDA_FC, r=brendan,gal
2009-06-03 11:19:20 -07:00
Robert Sayre
305ede3fb6
Merge.
2009-06-03 01:18:05 -04:00
Blake Kaplan
931a6dcb91
Bug 495843 - Crash [@ js_Interpret] or Assertion failure: cg->stackDepth == stackDepth, at ../jsemit.cpp. r=brendan
2009-06-03 01:17:20 -04:00
Andreas Gal
9cc0784c1a
Fall off trace if 'this' is a 'with' object (496057, r=mrbkap).
2009-06-02 20:03:58 -07:00
Andreas Gal
f4be60c6d3
Bug 495897 - Assertion failure: ti->typeMap.matches(ti_other->typeMap) with undeclared global. r=dvander
2009-06-02 22:28:59 -04:00
David Mandelin
5ffad30282
Bug 495907: use more reliable code to get outermost tree script nest level, r=gal
2009-06-02 11:52:24 -07:00
Robert Sayre
497c7b443a
Merge mozilla-central to tracemonkey.
2009-06-02 14:31:13 -04:00
Andreas Gal
518a96a672
Inspect the scope for the right object when looking up properties on fast arrays (495844, r=jwalden).
2009-06-01 18:58:56 -07:00
Andreas Gal
5283063eab
Detect global object wrapping at recording time and on trace (495699, r=mrbkap).
2009-06-01 18:52:08 -07:00
Bob Clary
bde1aa7cf1
JavaScript Tests - bug 463782, bug 476192 - fix summaries to not include string 'Assertion fail', npotb.
2009-06-01 16:41:17 -07:00
Bob Clary
83845aba1d
bug 473096 - JavaScript Test - adjust test for new decompilation pattern.
2009-06-01 16:41:11 -07:00
Bob Clary
13aa297542
bug 476049 - JavaScript Test by Igor Bukanov.
2009-06-01 16:41:06 -07:00
Bob Clary
7c83eba164
bug 475971 - JavaScript Test by Igor Bukanov.
2009-06-01 16:41:00 -07:00
Bob Clary
19569e7562
bug 355829 - JavaScript Tests by Jesse Ruderman, Igor Bukanov.
2009-06-01 16:40:54 -07:00
Bob Clary
429e30fb04
bug 479110 - JavaScript Tests - disable jitstats for math-trace-tests, Andreas Gal.
2009-06-01 16:40:48 -07:00
Bob Clary
0f5dda0b6b
JavaScript Tests - bug 452598, bug 458838, bug 469347, bug 473117, bug 473271, bug 479198, bug 482349, bug 482594, bug 482783, bug 483103, bug 483103, bug 483723, bug 483962, bug 484104, bug 484151, bug 484332, bug 484334, bug 484495, bug 484599, bug 484693, bug 484751, bug 485790, bug 485889, bug 486578, bug 487134, bug 487845, bug 487845, bug 491965, bug 491989, bug 492124, bug 492599, bug 493255 by Andreas Gal, Jeff Walden, David Mandelin, Jacob Bramley, Graydon Hoare, Jason Orendorff, Brendan Eich, Ben Turner, Vladimir Vukicevic, Blake Kaplan.
2009-06-01 16:40:42 -07:00
Bob Clary
17212a9b94
bug 462734 - JavaScript Tests by Gary Kwong, Igor Bukanov, Brendan Eich.
2009-06-01 16:40:37 -07:00
Bob Clary
04adeace8f
bug 455981 - JavaScript Tests by Jesse Ruderman, Gary Kwong.
2009-06-01 16:40:31 -07:00
Bob Clary
4048f30b51
bug 453492 - JavaScript Test by Jesse Ruderman.
2009-06-01 16:40:24 -07:00
Bob Clary
101631d174
bug 452498 - JavaScript Tests by Gary Kwong, Jesse Ruderman, Brendan Eich.
2009-06-01 16:40:18 -07:00
Bob Clary
eddcfcb1a6
bug 436700 - JavaScript Test by Sylvain Pasche.
2009-06-01 16:40:12 -07:00
Bob Clary
99e1c47ffc
bug 426827 - JavaScript Test by Jan Darmochwal.
2009-06-01 16:40:06 -07:00
Bob Clary
2c799af484
bug 416737 - JavaScript Tests by Jesse Ruderman, Igor Bukanov.
2009-06-01 16:40:00 -07:00
Bob Clary
bf74c4373d
bug 375406 - JavaScript Test by Jesse Ruderman.
2009-06-01 16:39:54 -07:00
Bob Clary
2f4b77fd26
bug 495307 - JavaScript Tests - update slow-n-*.tests.
2009-06-01 16:39:36 -07:00
Bob Clary
368a66b444
bug 480680 - update comments regarding need to hg update -C to work around in tree changes.
2009-06-01 16:39:30 -07:00
David Mandelin
5baa8fe491
Bug 495773: include trace entry JSStackFrame in upvar search, also remove obsolete union from FrameInfo, r=gal
2009-06-01 14:50:02 -07:00
Andreas Gal
c70c0c7270
Bug 495396 - TM: missing early return in Nativei386 when generating LEA. r=edwsmith
2009-06-01 16:24:59 -04:00
Robert Sayre
a2faaaa9ff
Merge tracemonkey to mozilla-central.
2009-07-27 11:49:26 -04:00
Michael Kohler
13d4cc6cbd
Bug 106386 - Correct misspellings in source code (old); Misspellings in /js/; r=mrbkap
2009-07-27 10:46:54 +02:00
Serge Gautherie
c6d6af4c54
Bug 488824 - Remove WIN16 (support) code, in js/src; (Bv1) Remove jsOS240.def; r=mozilla@Weilbacher.org
2009-07-27 10:38:38 +02:00
Peter Van der Beken
580d491113
Fix for bug 495554 (crash [@ XPCNativeSet::NewInstance(XPCCallContext&, XPCNativeInterface**, unsigned short) ]). r/sr/a=jst.
...
--HG--
extra : rebase_source : 29b4e1b88da5e56d1c33e7c09697c9fb0a1f9936
2009-05-31 20:07:26 +02:00
Andreas Gal
fd0028e6e9
Hotfix for bug 495563.
2009-05-29 23:17:50 -07:00
Andreas Gal
1f12d31de5
Abort recording if wrapping occurs, take 2 (495563, r=brendan).
2009-05-29 20:39:13 -07:00
David Mandelin
504424ebf3
Bug 495566: fix stack offset calculations for traces that start at top level, r=gal
2009-05-29 18:50:35 -07:00
Jeff Walden
ae6248fe09
Fix bogus warnings from gcc thinking that js_GetLengthProperty doesn't always write its outparam by removing code from it and simplifying what remains -- WIN! No bug, r=gal
2009-05-29 14:57:32 -07:00
Graydon Hoare
65b5c22205
Bug 495362 - TM: disconnecting VMFragments due to script-unload leaks, r=gal.
2009-05-29 15:03:10 -07:00
Boris Zbarsky
d09fd6ef7c
Bug 493246. Improve ::guard logging. r=jorendorff
2009-05-29 16:52:12 -04:00
Igor Bukanov
ffa8b1615c
bug 495216 - proper accounting of args and vars for Call object. r=brendan
2009-05-29 14:23:58 +02:00
Igor Bukanov
ae04e76e20
bug 494208 - js_SetProtoOrParent must check if the object is native before locking it. r=brendan
2009-05-29 10:47:51 +02:00
Brendan Eich
d3fe4a3144
Bug 495045: test tcflags for new Function's top-level, its body, when vetoing flat closure optimization based on HEAVYWEIGHTness (r=jorendorff).
2009-05-28 17:08:06 -07:00
Blake Kaplan
d97fd15843
Bug 505988. Don't unwrap when we shouldn't. r=bz
...
--HG--
extra : rebase_source : d251c442ba2fae0f9ffcae99c2c84d780c99ea52
2009-07-30 15:26:59 +12:00
Robert Sayre
0f696ab5ef
Merge tracemonkey to mozilla-central.
2009-07-29 17:05:05 -04:00
Siddharth Agarwal
1d4cdaa8e3
Part of bug 503756 -- Rename the js/ mozilla-config.h to js-confdefs.h. r=bsmedberg, jimb
...
--HG--
extra : rebase_source : 8b0956fef406cde43c329c76bf63594a882216e4
2009-07-30 00:05:05 +05:30
David Zbarsky
aca9dc4bae
Bug 392526. Some callers of nsID::ToString use a mismatched allocator to free the string. r=bsmedberg
2009-07-29 13:54:44 -04:00
Jim Blandy
337d1489a6
Bug 475654: Allow workaround for NSPR installations with no nspr-config script. a=wes, r=jimb
2009-07-28 13:18:50 -07:00
Jason Orendorff
74a5f6c8f5
Bug 495166 - static-analysis error in jsparse.cpp JSCompiler::compileScript: return without going through label out. r=brendan.
2009-05-28 10:08:57 -05:00
Brendan Eich
f136df48d6
Bug 494954 - JS_GetScriptLineExtent() does not returns the right value (r=mrbkap).
2009-05-27 18:53:22 -07:00
Jason Orendorff
83d855cfa1
Followup to changeset f9ad6d736430 (for bug 493232): fix a stale comment. r=brendan in IRC.
2009-05-27 17:48:39 -05:00
Jason Orendorff
70dbad9c94
Bug 493232 - Wrong variable value accessed in closure. r=brendan.
2009-05-27 15:46:03 -05:00
Andreas Gal
92ec85914f
Build optimized JS shell with -O3 when using gcc (494994, r=sayrer).
2009-05-26 18:53:42 -07:00
Andreas Gal
bd43ddb1c8
Bad assert in NEXTITER exception handling (494975, r=brendan).
2009-05-26 16:39:43 -07:00
Brendan Eich
0139c85e82
Fix typo (494956, r=self, thanks to <soubok@gmail.com> for bug report).
2009-05-26 15:36:32 -07:00
Julian Seward
a61d112402
Bug 494157 - nanojit debug output uses inconsistent output channels. r=jorendorff.
2009-05-26 13:14:41 -05:00
Robert Sayre
d3c4368da3
Merge mozilla-central to tracemonkey.
2009-05-24 12:31:56 -04:00
Brendan Eich
52745d8646
Bug 494544 - Uninitialized variable undefined after assignment whose initializer is a closure capturing that var (r=mrbkap).
2009-05-23 11:01:11 -07:00
Andreas Gal
3f8dfa9e52
LIR_alloc doesn't get emitted correctly for stack args on ARM (494510, r=vlad).
2009-05-22 16:44:18 -07:00
Graydon Hoare
e4863bdb1c
Bug 494084 - TM: Lower maximum LIR skip size further, r=gal.
2009-05-21 18:44:37 -07:00
Jason Orendorff
bb1a005103
Bug 493260 - js1_5/Regress/regress-344959.js - with and eval do not inhibit the flat closure optimization. r=brendan.
2009-05-21 13:00:53 -05:00
Blake Kaplan
ece0649965
Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs). r+sr=jst sr=bzbarsky on some parts.
2009-05-21 01:17:51 -07:00
Blake Kaplan
9056f082c1
Bug 505305 - Don't store pointers into a mutable string. r=gal
2009-07-23 14:41:19 -07:00
Blake Kaplan
a81a467be4
Bug 503926 - Don't call QueryInterface on content JS objects. r=bzbarsky sr=jst
2009-07-23 14:41:16 -07:00
Brendan Eich
38ffcf4dc8
Bug 462704 - [jsd] incorrect lineExtent when a while loop ends a method (r=mrbkap).
2009-05-20 23:35:42 -07:00
David Mandelin
9af4ca2612
Bug 493512: correcting native stack navigation arithmetic, r=gal
2009-05-20 18:57:42 -07:00
Andreas Gal
548cbfeef5
Setting scopeChain to NULL in SynthesizeFrame breaks GetCallObject (494045, r=brendan).
2009-05-20 17:05:38 -07:00
Blake Kaplan
3ffa053fd1
Fix GCC warnings about the argument to %p not being a void *. rs=jorendorff
2009-05-20 16:30:20 -07:00
Jason Orendorff
aa37602c02
Bug 490908 - js_DumpStackFrame. r=Waldo.
2009-05-20 10:10:03 -05:00
Robert Sayre
c2fc830423
Merge tracemonkey to mozilla-central.
2009-05-22 21:21:16 -04:00
Johnny Stenback
f635245925
Re-landing backed out part of bug 483672 for parity with 1.9.1
2009-05-22 15:59:33 -07:00
Peter Van der Beken
faf20b2693
Fix for bug 494445. r/sr=mrbkap.
...
--HG--
extra : rebase_source : 33e2bfe1c564abf2cad000ee62fb2d0520976585
2009-05-22 22:19:25 +02:00
Jim Blandy
55b3b4bc1f
Bug 492594: Add new js/src/ref-config makefile for HP-UXB.11.31. NPOB.
...
This makefile is only used when SpiderMonkey is built using
js/src/Makefile.ref, the standalone SM-only build system --- which is
deprecated; see bug 462542. These files are never used by the Mozilla
build system.
2009-05-22 11:57:37 -07:00
Johnny Stenback
e58e630925
Backing out part of bug 483672 to see if this part is what caused the performance regression.
2009-05-21 20:27:30 -07:00
Benjamin Smedberg
3ebd0ea437
Bug 494172 - Static libs such as libxpcomglue_s are not shipped in the XUL SDK: revert the parts of bug 488175 which were too eager: we still use dist/sdk/lib and dist/sdk/bin, just not dist/sdk/include or dist/sdk/idl, r=ted
2009-05-21 14:12:46 -04:00
L. David Baron
3dd611372e
Backed out changeset 1abeb6c87131 (Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs)) due to mochitest failures and leaks.
2009-05-21 06:54:41 -04:00
Blake Kaplan
83e011d635
Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs). r+sr=jst sr=bzbarsky on some parts.
2009-05-21 01:17:51 -07:00
Vladimir Vukicevic
0d46b33593
b=494095; use -O3 for Mac builds; r=sayrer
2009-05-20 22:18:39 -07:00
Robert Sayre
594a0260f6
Merge.
2009-05-21 00:09:41 -04:00
Robert Sayre
40aa62fac2
Merge tracemonkey to mozilla-central.
2009-05-20 12:21:34 -04:00
Peter Van der Beken
e9612afa0d
Fix quickstubs dependency problem, .h doesn't depend on any headers so don't add it to .dep and make .cpp depend on the interface files instead. rs=ted.
2009-05-20 14:07:20 +02:00
Andreas Gal
91dfa19e20
Wrong callee is restored when side-exiting from a trace (493657, r=brendan,mrbkap).
2009-05-20 03:54:55 -07:00
Olli Pettay
fd7e16f279
Bug 493366 - Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread, at mozilla/js/src/jsapi.cpp:5196, r+sr=mrbkap
2009-05-20 12:30:57 +03:00
Igor Bukanov
fb2b92c352
bug 493720 - using the proper assert to assert the the GC is not running. r=mrbkap
2009-05-20 10:23:56 +02:00
Graydon Hoare
daefd27739
Bug 493821 - NJ: Minimal fix to sign-extension in imm64, r=gal.
2009-05-19 22:01:24 -07:00
Graydon Hoare
606ab3ebdf
Backout alignment-breaking patches for Bug 493821.
2009-05-19 20:26:31 -07:00
Brendan Eich
5c7f7e02b8
Bug 493760: the real fix for problem left in wake of patch for bug 493466 (r=mrbkap).
2009-05-19 18:40:55 -07:00
Graydon Hoare
4298aed9d3
Bug 493821 - Followup to ARM and SPARC native backends, to handle renaming, r=gal.
2009-05-19 18:42:11 -07:00
Andreas Gal
41689550b8
Bug 493821 - NJ: Fix sign-extension in imm64, r=graydon.
2009-05-19 18:27:01 -07:00
Andreas Gal
0daad677d9
Merge.
2009-05-19 18:05:46 -07:00
Andreas Gal
8ccac72ba5
Backed out changeset 8f6c242a75ff (backing out bug 493657 again).
2009-05-19 18:05:36 -07:00
Andreas Gal
30b97b28ae
Merge.
2009-05-19 16:40:57 -07:00
Andreas Gal
f7137f3f27
Backed out changeset c4cea7365f4e (re-landing 493657).
2009-05-19 16:40:46 -07:00
Brendan Eich
72c8adabdb
Back out patch for 493760, chrome mochitests failed.
2009-05-19 16:34:40 -07:00
Andreas Gal
78e26f90f4
Merge.
2009-05-19 14:25:47 -07:00
Andreas Gal
96f14fc4f3
Backed out changeset cec8ee353407 (bug 493657).
2009-05-19 14:25:33 -07:00
Brendan Eich
3a1c6a960c
Bug 492904 - TM: Crash [@ TraceRecorder::test_property_cache] (r=gal).
2009-05-19 12:57:32 -07:00
Andreas Gal
3b5983363f
Wrong callee is restored when side-exiting from a trace (493657, r=brendan).
2009-05-19 12:47:47 -07:00
Brendan Eich
41f161471d
Bug 493760: fix bad typo in patch for bug 493466 (superluminal r=mrbkap).
2009-05-19 12:11:09 -07:00
Brendan Eich
d552a194d4
Bug 493466 - TM: youtube.com customization broken (r=mrbkap).
2009-05-18 18:02:51 -07:00
Robert Sayre
9a29e2628b
Merge.
2009-05-18 20:14:14 -04:00
Robert Sayre
d6c962680a
Bug 493586. JSON.parse replacer function doesn't elide object values correctly. r=brendan
2009-05-18 20:12:51 -04:00
Brendan Eich
2bca77fbad
Back out patch for 493760, chrome mochitests failed.
2009-05-19 16:22:21 -07:00
Brendan Eich
3ab3040ff6
Bug 492904 - TM: Crash [@ TraceRecorder::test_property_cache] (r=gal).
2009-05-19 12:59:08 -07:00
Brendan Eich
04f22fb906
Bug 493760: fix bad typo in patch for bug 493466 (superluminal r=mrbkap).
2009-05-19 12:13:48 -07:00
Ben Turner
ba0f386cbd
Bug 490718 - 'XPCWrappedNativeScope creates a needless cycle with its principal provider.' r=peterv, sr=jst.
2009-05-19 10:56:01 -07:00
Neil Rashbrook
c729ec8853
gmake 3.80 bustage fix for bug 488175 r=bsmedberg
2009-05-19 16:08:15 +01:00
Andreas Gal
0d2b989430
Update JSSLOT_ARRAY_COUNT when emitting array constructor code on trace (493255, r=jorendorff).
2009-05-18 15:56:11 -07:00
Robert Sayre
3aa2950f5a
Merge mozilla-central to tracemonkey.
2009-05-18 13:18:48 -04:00
Robert Sayre
80463b40a5
Backout last cset. Bug 487607 is not ready yet.
2009-05-18 12:36:02 -04:00
Jacob Bramely
fe2103fafc
Bug 487607 - TraceMonkey: The ARM-specific Assembler::BL method is never called. r=vlad
2009-05-18 12:23:18 -04:00
timeless@mozdev.org
b2e7596a82
Bug 491194 - fixing miscellaneous warnings. r=biesi
2009-05-18 12:43:55 +02:00
Nicholas Nethercote
c0f23c4e08
Bug 492491 - nanojit: convert some error() tests to asserts. r=edwsmith
2009-05-18 02:27:12 -04:00
Nicholas Nethercote
a03f3e7b1a
Bug 492490 - nanojit: move Assembler::findVictim() from RegAlloc.cpp to Assembler.cpp
2009-05-18 02:20:59 -04:00
Nicholas Nethercote
90746fda0d
Bug 490947 - nanojit: remove reservation table. r=gal,edwsmith
2009-05-18 02:15:24 -04:00
Nicholas Nethercote
6c4c7621f3
Bug 492488 - nanojit: improve handling of 64-bit constants. r=graydon
2009-05-18 01:56:25 -04:00
Nicholas Nethercote
1a33faa263
Bug 492301 - nanojit: remove some dead code. r=edwsmith
2009-05-18 01:45:46 -04:00
Nicholas Nethercote
9581ac0331
Bug 492292 - nanojit: remove duplicated LIns predicates. r=edwsmith
2009-05-18 01:38:00 -04:00
Jacob Bramley
7992b7231d
Bug 490838 - TraceMonkey: Improve epilogue efficiency for ARM. r=vlad
2009-05-18 01:32:10 -04:00
Vladimir Vukicevic
f4c9d8c915
b=490296; small fixup to asm_ldr_chk -- we can do PC-relative loads as long as the offset fits in U12; r=me
2009-05-17 12:20:09 -07:00
Jacob Bramley
130a761607
b=490296; [arm] tidy misc insn generation macros; r=vlad
2009-05-17 12:11:53 -07:00
Jacob Bramley
65538201e1
b=490296; [arm] tidy ::asm_ld_imm; r=vlad
2009-05-17 12:03:33 -07:00
Andreas Gal
2ae0b58d74
Compilation fix.
2009-05-15 22:04:02 -07:00
Robert Sayre
512b464e09
Merge m-c to tracemonkey.
2009-05-16 00:42:42 -04:00
Andreas Gal
40284299a7
Fix compiler warning (493345, r=brendan).
2009-05-15 21:01:22 -07:00
Brendan Eich
75497c861c
Bug 493177 - Browser crashes in loading of certain page.[@ js_Interpret] (r=mrbkap; take 2).
2009-05-15 17:38:38 -07:00
Brendan Eich
9fcdf01e99
Back out last cset.
2009-05-15 17:32:02 -07:00
Brendan Eich
4c1b058a32
Bug 493177 - Browser crashes in loading of certain page.[@ js_Interpret] (r=mrbkap).
2009-05-15 17:13:34 -07:00
Simon Fraser
9a33168aa0
Bug 74803 - Should make global data const where possible; xpconnect; r=brendan
2009-05-16 01:14:17 +02:00
Robert Sayre
d0018d9fcd
Merge tracemonkey to mozilla-central.
2009-05-15 19:09:54 -04:00
Blake Kaplan
9026da602e
Bug 493315 - Random cleanup in jsdbgapi.cpp. r=sayrer
2009-05-15 15:59:00 -07:00
Blake Kaplan
774d6933f4
Bug 492912 - Clean up the way that TraceRecorder::elem interacts with the rest of the world. r=gal
2009-05-15 15:41:41 -07:00
Brendan Eich
51dd82a552
Bug 489034 - let declaration getting lost in certain situations (r=mrbkap).
2009-05-15 15:32:57 -07:00
Graydon Hoare
a250100e3c
Comment typo fix in tracemonkey.
2009-05-15 19:31:31 -07:00
Jason Orendorff
5504115d71
Bug 491646 - Expose js_StrictlyEqual() to consumers. r=mrbkap.
...
--HG--
extra : rebase_source : 620a67bca11c2e04692d3f72df8739028d0dbd21
2009-05-15 14:51:02 -05:00
Jacob Bramley
297550a6e9
Bug 490296. Tidy ::asm_fop (v2). r=vlad.
2009-05-15 14:50:53 -04:00
Jacob Bramley
8533fc53a7
Bug 490296. Tidy ::asm_ldr_chk (v2). r=vlad.
2009-05-15 14:50:00 -04:00
Jacob Bramley
8b3e87f22c
Bug 490296. Tidy ::asm_prep_fcall. r=vlad.
2009-05-15 14:49:10 -04:00
Jacob Bramley
03cebed3e5
Bug 490296. Tidy ::LD32_nochk. r=vlad.
2009-05-15 14:45:42 -04:00
Jacob Bramley
e2556dd40e
Bug 490296. Tidy ::asm_quad. r=vlad.
2009-05-15 14:44:39 -04:00
Jacob Bramley
acbae2432b
Tidy ::asm_load64. r=vlad.
2009-05-15 14:36:58 -04:00
Jacob Bramley
c2e202b6a4
Tidy ::asm_restore. r=vlad.
2009-05-15 14:35:47 -04:00
Robert Sayre
1b25449f6a
Merge.
2009-05-15 12:41:33 -04:00
Peter Van der Beken
e07ba2eafd
Merge backout.
2009-05-15 16:39:20 +02:00
Benjamin Smedberg
8d53d7a7ea
Bug 492113 - statically assert that we're not on trace in js_SetPropertyHelper, r=igor
2009-05-15 09:37:37 -04:00
Peter Van der Beken
a45851d286
Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression.
2009-05-15 14:49:21 +02:00
Peter Van der Beken
7751c0b754
Backed out changeset 3e3d2d8cc70f (bug 492483 - fixing !JS_THREADSAFE build failure.) to try to fix Tshutdown regression.
2009-05-15 14:35:14 +02:00
Igor Bukanov
0374ee3760
bug 490364 - mutating parent chain shapes only for Call objects and only when adding properties that are not parameter or var names. r=brendan
2009-05-15 11:43:19 +02:00
Graydon Hoare
c142716352
Bug 492673 - TM: Fix memory pressure measurement, r=brendan.
2009-05-14 20:12:40 -07:00
Igor Bukanov
f992869ce1
bug 492483 - fixing !JS_THREADSAFE build failure. r=mrbkap.
2009-05-14 18:39:44 +02:00
Jason Orendorff
cd986613f8
Bug 492714 - "Assertion failure: cg->staticLevel >= level, at ../jsemit.cpp" with genexp. r=brendan
2009-05-13 19:02:33 -05:00
Igor Bukanov
92f94e451c
bug 491126 - sharing object map for non-native objects. r=brendan
2009-05-14 12:35:23 +02:00
Brendan Eich
6ffa7ccf08
Bug 492914 - TM: trace aborts due to flat closure analysis bug (r=mrbkap).
2009-05-13 23:01:08 -07:00
Andreas Gal
59972f7948
Only the global object has to be wrapped on trace, which we can do statically and abort on With objects used as 'this' (492028, r=mrbkap).
2009-05-13 21:57:35 -07:00
Brendan Eich
0416e1e679
Bug 492355 - Suspected Txul regression from JS engine changes (r=igor).
2009-05-13 17:11:23 -07:00
Andreas Gal
f054fa9b09
Use js_TrashTree when purging global scripts (492496, r=graydon).
2009-05-13 13:54:55 -07:00
Igor Bukanov
6c6cde911a
bug 490364 - fixing bad typo in js_SetProtoOrParent. r=mrbkap
2009-05-13 15:05:28 +02:00
Robert Sayre
7d058a4a0f
merge tracemonkey to mozilla-central.
2009-05-14 03:44:11 -04:00
Olli Pettay
a26f88717b
Bug 461861, r=mrbkap, sr=jst
...
--HG--
extra : rebase_source : a5aea484f992785a3d67bb03d7fe074ce4f7f95a
2009-05-14 10:03:15 +03:00
Ginn Chen
ac039c2c65
Bug 492705 Rename jsdtracef.c to jsdtracef.cpp r=sayrer
...
--HG--
rename : js/src/jsdtracef.c => js/src/jsdtracef.cpp
2009-05-14 14:38:17 +08:00
Robert Sayre
faa4d10c30
Merge tracemonkey to mozilla-central.
2009-05-13 23:37:16 -04:00
Blake Kaplan
3bab9bf56c
Bug 483672 - Give regular JS objects that have been reflected into C++ a security policy that follows the same-origin model. Also teach caps about "same origin" for these cases. r=jst sr=bzbarsky
2009-05-13 15:01:01 -07:00
Andreas Gal
2a013fab76
Clear temporary rooting area after native calls on trace (492693, r=jwalden).
2009-05-12 20:55:50 -07:00
Andreas Gal
4bc0d137f5
Don't try to compile more code once we are in a needFlush state (492664, r=dmandelin).
2009-05-12 20:53:43 -07:00
Andreas Gal
42d921d7fe
Backed out changeset c8a74fe0f9af (bug 492664).
2009-05-12 16:44:14 -07:00
Andreas Gal
fd13172747
Don't try to compile more code once we are in a needFlush state (492664, r=dmandelin).
2009-05-12 16:42:21 -07:00
David Mandelin
4e118ecf45
Bug 492610: correctly determine when an upvar is part of the trace, r=brendan
2009-05-12 16:25:57 -07:00
Jeff Walden
24ec69f5cf
Bug 492599 - Recording of JSOP_NEWARRAY doesn't update JSSLOT_ARRAY_COUNT properly. r=jorendorff
2009-05-12 14:31:44 -07:00
Peter Van der Beken
ca8ccf47e0
Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap.
2009-05-12 22:20:42 +02:00
romaxa
b659d4cf02
Bug 487782. Add hildon-mime.h to system headers list. r=sdwilsh
2009-07-04 21:59:05 +12:00
Blake Kaplan
6307e86103
Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst
2009-07-02 17:00:21 -07:00
Blake Kaplan
9b28e7922b
Bug 501577 - Add a missing call to Release in nsXPCWrappedJS::GetNewOrUsed. Also remove a hack needed to get around the missing release. r+sr=peterv
2009-07-02 17:00:20 -07:00
Blake Kaplan
3f48024026
Bug 500691 - Call JS_ClearScope before XPConnect tries to update our outer window's scope's concept of what {Function,Object}.prototype are so that we forward correctly to the inner window's versions. r=jst sr=bzbarsky
2009-07-01 16:43:50 -07:00
Blake Kaplan
434bedc0de
Bug 496441 - Random cleanup: only calculate the callee once. r+sr=jst
2009-07-01 12:12:04 -07:00
Blake Kaplan
2f5c19b4ba
Bug 496441 - Some random cleanup: remove an unnecessary macro. r+sr=jst
2009-07-01 12:12:04 -07:00
Blake Kaplan
8cddc0e049
Bug 498000 - Throw a better error when toString is called cross-origin on an XPCNativeWrapper from an unprivileged context. r+sr=bzbarsky
2009-07-01 12:12:04 -07:00
Blake Kaplan
e70a8f1ac4
Merge backout.
2009-06-30 16:22:43 -07:00
Blake Kaplan
aac9f0431d
Backed out changeset 291552e67a3b due to leaks.
2009-06-30 16:22:20 -07:00
Johnny Stenback
a511964116
Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org
2009-06-30 15:55:16 -07:00
Blake Kaplan
920e1cabfe
Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst
...
--HG--
extra : rebase_source : 5f73d1e92b912cf88c8a45a3ccd53de35c7b1e3d
2009-06-30 13:49:46 -07:00
Robert Sayre
5248dd661e
Merge tracemonkey to mozilla-central.
2009-06-30 12:19:07 -07:00
Benjamin Smedberg
62e1988110
Add headers to system-headers which we're using in electrolysis (trivial change)
...
--HG--
extra : rebase_source : b057f7d6cdb6c5eb737b229ccc7ac7a812c24648
2009-06-29 15:41:40 -04:00
Jason Duell
b92a22ef0f
Bug 483689. Add fflush to print() and dump() in xpcshell, and do some cleanup. r=mrbkap
...
--HG--
extra : rebase_source : 4ad9ed9ddada4d6b6705c1f8a4a84c39213bf2f8
2009-06-29 11:01:42 +12:00
Olli Pettay
b0eab11c98
Bug 497780 - onmouseout's MouseEvent.relatedTarget is a chrome element and is completely inaccessible, r=mrbkap@gmail.com, sr=bz
2009-06-28 22:46:52 +03:00
Dão Gottwald
71d33aa9f3
Backed out changeset 4ceba37b3b22
2009-06-28 12:52:22 +02:00
Marco Pesenti Gritti
00b7763eaa
Pick up the current system timezone when a Date object is created (492056, r=mrbkap).
2009-06-03 11:16:57 -04:00
Jacob Bramley
1631cdbafa
Bug 490296. Tidy ::asm_nongp_copy. r=vlad
2009-05-12 12:02:00 -04:00
Vladimir Vukicevic
49ed5fd2b6
Fix Windows CE from bug 487416 (arm architecture detection)
2009-05-12 10:06:39 +01:00
Josh Aas
109f956de0
Sync config.guess with latest from gnu "config" package. See bug for changelog. b=492623 r=ted
2009-05-12 23:47:03 -04:00
Robert Sayre
f3cf0427b7
Merge tracemonkey to mozilla-central.
2009-05-12 23:19:58 -04:00
Leon Sha<leon.sha@sun.com>
0c71462fb6
Bug 488775 - TM: widen LIR instructions. Sparc Changes. r=gal. remove dead codes
2009-05-12 11:43:57 +08:00
Leon Sha<leon.sha@sun.com>
2e31f66b15
Bug 488775 - TM: widen LIR instructions. Sparc Changes. r=gal.
2009-05-12 10:41:25 +08:00
David Mandelin
be8b0cb323
Bug 458838: updating test case to pass when we successfully trace out-of-reach upvars
2009-05-11 18:58:10 -07:00
David Mandelin
6228b80017
Fix warning for extra args to a debug printf
2009-05-11 18:44:49 -07:00
David Mandelin
112ce8b24b
Bug 458838: enable tracing of upvar accesses that go outside the current trace to interpreter state, r=gal
2009-05-11 18:05:44 -07:00
Andreas Gal
4778325174
Ensure that cx->interpState is always accurate by maintaing a stack (490776, r=jorendorff).
2009-05-11 17:25:38 -07:00
David Mandelin
d6c2eeddf4
Bug 491620: make traces specialized for argc, r=gal
2009-05-11 15:57:28 -07:00
Jeff Walden
6beac46a8b
Likely gmail bustage fix
2009-05-11 15:41:00 -07:00
Jeff Walden
8e5456999b
Bug 486326 - Specialize array methods which modify large numbers of array elements to work efficiently on dense arrays, avoiding highly generalized get/set/delete methods and the floating-point-to-integer conversions needed solely to handle large array indexes but which are rarely necessary in practice. r=shaver
2009-05-11 14:57:18 -07:00
Andreas Gal
806e556ee1
Make sure stack frame is flagged as constructor frame when falling off trace in a slow native constructor (491965, r=graydon).
2009-05-11 14:40:42 -07:00
Andreas Gal
89e9d61d35
Fast-path for string constructors only works for new/call with a single argument (491989, r=dmandelin).
2009-05-11 14:03:29 -07:00
Andreas Gal
5f2681ef36
Bug 489836 - TM: chiptune causes Assertion failure: \!ti->typeMap.matches(ti_other->typeMap)
2009-05-11 12:20:41 -04:00
Jacob Bramley
c942893875
Bug 483962 - Remove ARM-specific code from jstracer.cpp. r=vlad
2009-05-11 12:16:01 -04:00
Brendan Eich
c244179e84
Bug 492150 - Unexpected error occurred when japascript.options.strict is true (r=mrbkap).
2009-05-10 12:52:03 -07:00
Jacob Bramley
d7dc2e67bf
Bug 487416 - TraceMonkey: Improve run-time detection of ARM processor features. r=vlad
2009-05-09 16:14:38 -04:00
Jacob Bramley
7dd0b8fd55
Bug 486669 - TraceMonkey: The ARM-specific _nSlot pointer should be reset along with _nIns. r=vlad,edwsmith
2009-05-09 15:35:56 -04:00
Jacob Bramley
150373e22b
Bug 486096 - TraceMonkey: ARM BKPT instructions are not properly encoded. r=vlad
2009-05-09 15:32:29 -04:00
Nicholas Nethercote
9df38f0476
Bug 488775 - TM: widen LIR instructions. r=graydon,edwsmith
2009-05-09 14:38:34 -04:00
Robert Sayre
ae309b6a1d
Merge mozilla central to tracemonkey.
2009-05-09 12:45:33 -04:00
Brendan Eich
0391b49734
Bug 490191 - "Assertion failure: slot < fp->script->nslots, at ../jsinterp.cpp" with defineGetter, eval (r=mrbkap).
2009-05-08 16:20:46 -07:00
Graydon Hoare
3330967d8a
Bug 492124 - TM: unit tests should gc() before each, to purge JIT state, r=brendan.
2009-05-08 17:02:37 -07:00
Brendan Eich
86967b457a
Bug 452189 - regression (from firefox 2): prototype setters not called by inline cache for [[put]] (r=mrbkap).
2009-05-08 14:04:10 -07:00
Brendan Eich
3e23fdaa48
Bug 490818 - Packed JS that works in Firefox 3.0 and all other browsers fails in Firefox 3.5 (r=mrbkap).
2009-05-08 14:00:56 -07:00
Benjamin Smedberg
ffb8f2e94e
Bug 492040 - js_Execute must bail off trace, r=jorendorff a=josh for CLOSED TREE checkin
2009-05-08 16:32:35 -04:00
Benjamin Smedberg
154f21ccdd
Bug 492040 - js_Execute must bail off trace, r=jorendorff a=josh for CLOSED TREE checkin
2009-05-08 16:32:35 -04:00
Jeff Walden
55db400c70
Bug 482266 - E4X and imacros don't mix. r=graydon
2009-05-08 13:48:05 -07:00
Brendan Eich
9eb1ab4a95
Bug 471703 - Don't optimize group assignment given holey RHS (r=igor).
2009-05-07 21:50:32 -07:00
Brendan Eich
6106136652
Bug 471703 - Don't optimize group assignment given holey RHS (r=igor).
2009-05-07 21:49:53 -07:00
Brendan Eich
0eb877e672
Bug 491806 - "Assertion failure: (uintN)i < ss->top, at ../jsopcode.cpp" with uneval, for, yield (r=mrbkap).
2009-05-07 21:32:58 -07:00
Brendan Eich
e05a9f255d
Bug 491806 - "Assertion failure: (uintN)i < ss->top, at ../jsopcode.cpp" with uneval, for, yield (r=mrbkap).
2009-05-07 21:31:42 -07:00
Robert Sayre
2c3a8f145c
Merge tracemonkey to mozilla-central.
2009-05-07 19:22:53 -07:00
Robert Sayre
e381e4649f
Fix up whitespace. CLOSED TREE
2009-05-07 17:22:33 -07:00
Graydon Hoare
afda8de41a
Bug 491929 - TM: Oracle bit vector allocation not thread-safe, r=gal.
2009-05-07 17:29:26 -07:00
Graydon Hoare
2a50d488f5
Bug 489615 - TM: Store recording attempts in a long-lived hashtable rather than fragments, r=brendan.
2009-05-07 15:49:44 -07:00
Robert Sayre
8b3982769a
Bug 442059 - [native JSON] allow to blacklist keys by name when encoding to JSON. r=brendan
2009-05-07 13:28:21 -07:00
danderson@mozilla.com
e5e1dcffb4
Partial typemap in loop exit can lead to maltyped nested trees (489682, r=gal).
2009-05-07 12:16:12 -07:00
Peter Van der Beken
98633d5f16
Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz.
2009-05-07 11:19:41 -07:00
Igor Bukanov
70247e8f5b
bug 492483 - fixing !JS_THREADSAFE build failure. r=mrbkap.
2009-05-14 18:39:44 +02:00
Peter Van der Beken
e267b828d9
Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
2009-05-07 11:19:36 -07:00
Robert Sayre
3c9325480e
Merge tracemonkey to mozilla-central.
2009-05-16 13:04:50 -04:00
Peter Van der Beken
3c7951a396
Merge backout.
2009-05-16 16:17:50 +02:00
Peter Van der Beken
d7f8357ac2
Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression.
2009-05-16 16:16:55 +02:00
Honza Bambas
b1ee7471c1
Bug 492219 - localStorage's constructor should be Storage, r+sr=jst
2009-05-16 15:59:30 +02:00
Peter Van der Beken
b865be6ac9
Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
...
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Vladimir Vukicevic
cefc7025fc
bug 487416; JS Windows CE bustage fix
2009-05-10 15:49:24 -07:00
Robert Sayre
7cce9201aa
Merge.
2009-05-19 04:14:51 -04:00
Blake Kaplan
0163278d15
Bug 491219 - Make SOWs wrap more deeply. r+sr=jst
2009-05-18 16:52:12 -07:00
Benjamin Smedberg
bb1c33c4ea
Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
...
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Jim Blandy
d4637280de
Bug 485141: Build fixes for Symbian in js/src patch=harry.li r=jimb
2009-05-18 11:07:39 -07:00
Robert Sayre
dad9597989
Merge mozilla-central to tracemonkey
2009-05-06 20:49:50 -07:00
Graydon Hoare
ed4b20f51c
Bug 491514 - Followup, change from sizeof(LIns*) to sizeof(LIns), r=gal.
2009-05-06 17:41:52 -07:00
Andreas Gal
79f3ebed61
We don't constant fold math on doubles and ints (465286, r=edwsmith).
2009-05-06 16:48:41 -07:00
Igor Bukanov
3597961095
bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan
2009-05-06 20:33:10 -02:30
Graydon Hoare
cb7f2307ba
Bug 491514 - Lower skip limit in tracer, r=gal.
2009-05-06 15:19:50 -07:00
L. David Baron
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Robert Sayre
89a3a2d114
Merge mozilla-central to tracemonkey.
2009-05-06 11:16:59 -07:00
Blake Kaplan
1b02d35dc1
Bug 491617 - Expose this as a friendly API. r=gal
2009-05-05 18:09:24 -07:00
Andreas Gal
736876c48b
Follow-up fix for 479888.
2009-05-05 17:49:29 -07:00
nnethercote@mozilla.com
1f7e5c0ef5
kill builtins.tbl (479888, r=jorendorff).
2009-05-05 17:36:26 -07:00
Andreas Gal
8d50d1bf9f
Fix burning static analysis tinderbox (no bug).
2009-05-05 14:51:35 -07:00
jorendorff
93c6d226d3
Record all calls to native functions (487134, r=gal, brendan).
2009-05-05 14:26:06 -07:00
Jim Blandy
5d00dc901f
Bug 488018: Avoid 'may be used uninitialized' error. (no r)
2009-05-04 16:46:15 -07:00
Andreas Gal
fe1ed6adb9
Backed out changeset 6534f8b9aa74 (bug 491013, assert on startup).
2009-05-04 15:07:53 -07:00
Blake Kaplan
00cd76535d
Finish merging.
2009-08-10 19:32:28 -07:00
Blake Kaplan
eab38938f1
Backed out changeset 577258550954. Fixing mochitest-chrome bustage.
2009-08-10 19:32:15 -07:00
Blake Kaplan
9af6523aeb
Bug 509583 - Deal with empty arrays the same way we deal with regular arrays. r+sr=jst
2009-08-10 18:08:13 -07:00
Blake Kaplan
7b08162c95
Bug 506838 - Deal with GetCxSubjectPrincipalAndFrame returning a non-scripted frame. r+sr=jst
2009-08-10 18:07:47 -07:00
Blake Kaplan
9515b85185
Fix bug 508752. r+sr=jst
2009-08-10 18:07:00 -07:00
Blake Kaplan
41dc1bdf6b
Bug 508982 - Don't try to double-rewrap properties. It's a very expensive no-op. r+sr=jst
2009-08-10 16:01:42 -07:00
Blake Kaplan
674602e2c9
Bug 505217 - Don't wrap slim wrappers in SOWs. r+sr=peterv
2009-08-10 16:01:42 -07:00
Jonathan Steele
c3920dc98f
Bug 508720 - Remove less than 4 for GCC Version in Mac; r=ted.mielczarek
2009-08-11 00:40:46 +02:00
Jacek Caban
f7ded6371a
Bug 505729 - nsXPConnect.cpp fails to build on MinGW. r=bz
2009-08-09 16:45:00 +02:00
Serge Gautherie
1e9b319be7
Bug 508760 - Remove MSVC6 support from the tree; (Av1) configure.in; r=ted.mielczarek
2009-08-08 11:47:15 +02:00
Serge Gautherie
c92ed7bbad
Bug 508156 - configure.in: remove AC_DEFINE(_WIN32); (Av1) Just remove it; r=ted.mielczarek
2009-08-08 11:47:12 +02:00
Serge Gautherie
a8ba9f46c0
Bug 507897 - Remove 'WINDOWS16' (support) code everywhere; (Av1) version_win.pl, r=ted.mielczarek
2009-08-08 11:47:09 +02:00
John O'Duinn
622bb7e945
bug 506401: Tracking bug for build and release of Firefox 3.6 alpha1 - version bumps to 1.9.2a2pre/3.6a2pre. r=bhearsum
...
--HG--
extra : rebase_source : 28cbfb5e99af6db807f0211a305ee491edab9e5d
2009-08-07 16:05:22 -04:00
Jim Blandy
5f49bb8f1b
Bug 508637: Allow trailing commas in object initializers in strict mode. r=igor
2009-08-07 10:45:27 -07:00
Blake Kaplan
492422a92a
Merge backout of orange-causing changeset.
2009-08-06 23:52:14 -07:00
Blake Kaplan
ab354b731d
Backed out changeset 5ea7f2882982. It's causing mochitest orange.
2009-08-06 23:52:01 -07:00
Blake Kaplan
3f98edd6fe
Bug 502959 - Restore code to make caps allow wrapping same-origin wrappedjs objects. r=jst sr=bzbarsky
2009-08-06 20:26:33 -07:00
Blake Kaplan
f4d931d00a
Bug 504877 - Check for UniversalXPConnect access further down on the stack chain. r=jst sr=bzbarsky
2009-08-06 20:25:13 -07:00
Jim Blandy
8d67abe8b7
Revert patch for bug 505123, changeset f1a04b1c0b37. 0.9% SunSpider regression.
2009-08-06 14:49:56 -07:00
Ted Mielczarek
3a583f56de
another test fix followup from bug 459114
2009-08-06 16:17:22 -04:00
Jim Blandy
686044995c
Bug 505123: Don't use fastcall calling convention in inline function. a=jacek, r=jimb
2009-08-06 11:37:36 -07:00
Blake Kaplan
5f7e2721c6
Fix bug 505988. r=bzbarsky sr=jst
2009-08-04 15:04:53 -07:00
Blake Kaplan
6c0c17f88a
Bug 508483 - Don't try to create XPCNativeWrappers around a double-wrapped object. r+sr=jst
2009-08-04 20:52:10 -07:00
Masayuki Nakano
841a6aa916
Bug 508202 - Cannot build on Vista x64 with VC9 + MozillaBuild1.4 after bug 505289 r=VYV03354 r=ted.mielczarek
...
--HG--
extra : rebase_source : 97410d0463f08d277b5815063f769205c25ebc77
2009-08-05 15:33:04 -07:00
Blake Kaplan
87be09d504
Bug 507047. Remove unnecessary toString override from COWs. r=jst
...
--HG--
extra : rebase_source : 676013a9567ae59c1dba863a7975467f3cf4d847
2009-08-05 14:39:05 +12:00
Jim Blandy
c21c62d293
Bug 506887: Clarify documentation for --with-system-nspr. r=luser
...
Ideally, we'd go into build/autoconf/nspr.m4 and fix the documentation
for --with-nspr-prefix and --with-nspr-exec-prefix, but that file is
supposed to remain identical with the copy from NSPR itself, and
the --with-system-nspr flag isn't present in all contexts in which that
file is used.
2009-08-04 11:43:58 -07:00
Jim Blandy
8c8b80b16e
Bug 503476: Use configure to decide whether to call sbrk. r=jorendorff
...
Symbian claims to be XP_UNIX, but doesn't have sbrk.
2009-08-04 11:38:51 -07:00
Jim Blandy
d146ef8e83
Bug 505503: Fix typos in GetSystemTimeAsFileTime configure checks. a=jacek, r=jimb
2009-08-04 11:27:06 -07:00
Masatoshi Kimura
150dc05c85
Bug 505289. Add manifest for nsinstall to enable building with UAC enabled on Vista. r=ted
2009-08-04 10:01:55 +12:00
Siddharth Agarwal
89fea00157
Bustage fix for bug 506576 -- update copy in js/ as well
...
--HG--
extra : rebase_source : 3ec12a2c41f2c2f1f5a1b319fa89cd4ee4a98a0e
2009-08-03 23:06:56 +05:30
Igor Bukanov
d77b8664fb
bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan
2009-05-03 20:43:55 -04:00
Igor Bukanov
227ef1efd3
bug 491115 - asserting in js_SetProtoOrParent only when not detecting cycles. r=brendan
2009-05-02 20:49:45 +02:00
Brendan Eich
24a0ac90ef
ug 490741 - Crash [@ js_GetUpvar] on datepick (r=mrbkap).
2009-05-01 18:55:26 -07:00
Igor Bukanov
35116060a2
bug 489501 - consolidating
...
js_SetProto must mutate the prototype chain. r=brendan
2009-05-01 13:48:27 -07:00
Blake Kaplan
2bd59c5615
Bug 491017 - Allow easy building of Narcissus through the autoconf build system. r=jimb
2009-05-01 10:47:08 -07:00
Igor Bukanov
40475ad940
bug - 488607
...
- fixing test_property_cache asserts. r=brendan
2009-05-01 07:10:25 -07:00
Jim Blandy
d9e9626654
Bug 488018: Fix bustage: any function using TRACE_2 needs an 'error' label.
2009-04-30 17:54:20 -07:00
Jim Blandy
56af1e088d
Bug 488018: Propagate errors from tracer to interpreter. r=igor
...
Rename JSMonitorRecordingStatus to JSRecordingStatus. The JSMRS_
prefix becomes JSRS_, accordingly.
Make 'record_' functions return JSRecordingStatus, not bool. 'false'
becomes 'JSRS_STOP'; 'true' becomes 'JSRS_CONTINUE'. Since subsequent
patches will begin to use more than two values (the next assigns
meaning to JSRS_IMACRO), take care to propagate values to callers
accurately.
Define a new recording status, JSRS_ERROR. Return it from recording
functions when appropriate. Check for it at appropriate bottlenecks
in tracer and interpreter.
ABORT_TRACE becomes one of:
. ABORT_TRACE, for when we're simply aborting the recording process
. ABORT_TRACE_ERROR, for aborting due to an error
. ABORT_TRACE_CV, for producing an error message and returning something
other than JSRS_STOP --- some contexts require boolean values.
Conditionally provide an alternative definition for the
JSRecordingStatus type that cannot be converted to 'bool', so that we
can use the C++ compiler to catch improperly converted code.
Use recording function return value for imacro invocation. Eliminate
the JSFRAME_IMACRO_START frame flag. Instead, return JSRS_IMACRO
directly from recording functions.
2009-04-30 17:30:46 -07:00
Andreas Gal
cafa156d52
We don't cache access to shared properties in the property cache (490666, r=igor,brendan).
2009-04-30 15:52:13 -07:00
Brendan Eich
e9db6fcb64
Bug 375250 - Reject (JSON is fixed now) E4X masquerading as JS source (r=igor/mrbkap).
2009-04-29 16:46:43 -07:00
Robert Sayre
75bb19d6c8
Merge tracemonkey to mozilla-central.
2009-05-14 21:37:49 -04:00
Igor Bukanov
b8405f1171
bug 487846 - optimizing shape prediction for set opcodes. r=brendan
2009-04-29 07:07:21 -07:00
Andreas Gal
776395aee0
Eliminate test_property_cache_direct_hit (490370, r=jorendorff).
2009-04-27 16:01:52 -07:00
Brendan Eich
040f6baa77
Bug 490339 - Unexpected ReferenceError when using "new Function()" (r=mrbkap).
2009-04-27 14:43:49 -07:00
Graydon Hoare
9188f47f3a
Backout a seemingly problematic line of cset d8c2060b0f9b.
2009-04-24 23:13:27 -07:00
Graydon Hoare
bb4177dccd
Bug 490044 - TM: Add deep-bailing write barrier to global shape change code, r=brendan.
2009-04-24 17:47:32 -07:00
Andreas Gal
e58ef54027
js_NewInstance locks ctor on trace (490092, r=brendan).
2009-04-24 19:41:36 -07:00
Andreas Gal
214ea26d91
Compilation fix for 489899.
2009-04-24 16:35:42 -07:00
Andreas Gal
a89bbaad23
Stay on trace when reading holes from dense arrays (489899, r=brendan).
2009-04-24 16:28:21 -07:00
Graydon Hoare
3471a48ea3
Bug 470964 - Simulate CFG in imacro assembler and decompiler, r=brendan.
2009-04-24 09:07:49 -07:00
Graydon Hoare
76accb1b4f
Bug 488967 - TM: Add global size check to global shape check, r=gal.
2009-04-23 20:46:40 -07:00
Jeff Walden
d19e88a97f
Bug 488989 - Don't go slow if we don't have to. r=jorendorff
2009-04-23 13:34:18 -07:00
Brendan Eich
52153f3522
Bug 488842 - Local Scope Variables are not displayed by default (r=mrbkap).
2009-04-22 23:22:42 -07:00
Andreas Gal
92ed04cddc
Remove dead code inside #if 0 from JSOP_GENERATOR (cleanup, no bug).
2009-04-22 17:58:51 -07:00
Andreas Gal
9471e12092
Fix burning PowerPC builds.
2009-04-22 17:16:26 -07:00
Andreas Gal
a51f22dbdf
Need an API exposed to control code cache size (474497, r=bent,brendan, sr=mrbkap).
2009-04-22 16:52:59 -07:00
Brendan Eich
b554a4c785
Bug 489552 - Earth Day Recycling for Fun Kids - Assertion failure: RecycleFuncNameKids, at ../jsparse.cpp:444 (r=mrbkap).
2009-04-22 15:30:36 -07:00
Jason Orendorff
4ea515fa8b
Bug 488874 - Change tm.onTrace to tm.tracecx. r=brendan.
...
--HG--
extra : rebase_source : bf683bee5e518cf5bfea8113c17685b8301d72c9
2009-04-22 15:07:55 -05:00
Andreas Gal
b3d5ba6b16
JSOP_BINDNAME wrongful abort due to fp->fun instead of fp->callee usage (489644, r=brendan).
2009-04-22 12:52:35 -07:00
Igor Bukanov
e4bc4e81cb
bug 488995 - fixing error reporting for getter-only properties. r=mrbkap sr=jst
2009-04-22 12:39:08 +02:00
Leon Sha<leon.sha@sun.com>
b8845d61de
Bug 488639 - SPARC jit: testIntOverflow, testIntUnderflow failed. r=gal.
2009-04-22 16:06:45 +08:00
Brendan Eich
50b885546d
Shoot me now (489089).
2009-04-21 22:50:51 -07:00
jimb
b861fed2d3
Bug 469237: Only trace where BINDNAME will choose the global object.
2009-04-21 22:42:43 -07:00
Andreas Gal
c5c7bd2f6c
Trace getting String.length (484332, r=brendan).
2009-04-21 18:56:24 -07:00
Brendan Eich
b2edd9eb0c
Bug 489079 - Google Calendars disappear with latest trunk of Shredder [Error: Error parsing XML streamReferenceError: gCal is not defined] (r=mrbkap).
2009-04-21 18:20:21 -07:00
Brendan Eich
a27f8153f6
Oh for crying out loud (489089).
2009-04-21 18:09:44 -07:00
Brendan Eich
0aadb94a7b
Bug 489089 - JSON.parse is way slower than it needs to be (r=igor/sayrer).
2009-04-21 12:09:27 -07:00
Brendan Eich
af27492080
Bug 488963 - "Assertion failure: cg->lexdeps.lookup(atom), at ../jsemit.cpp" (tachyonal r=mrbkap).
2009-04-20 18:46:46 -07:00
jorendorff
e1b8077e65
Leaving outermost request should js_LeaveTrace (480301, r=brendan).
2009-04-20 18:22:00 -07:00
Brendan Eich
7f4de719f8
Fix dangling JS_PROPERTY_CACHE_METERING bits broken by patch for bug 489171.
2009-04-20 17:32:36 -07:00
igor
48c3925a9a
js_SetPropertyHelper does not null *entryp for read-only properties (489171, r=gal,brendan).
2009-04-20 17:00:59 -07:00
Brendan Eich
be23b17c5d
Bug 488690 - "Assertion failure: dn->pn_defn, at ../jsemit.cpp" (r=mrbkap).
2009-04-20 15:51:27 -07:00
Blake Kaplan
3224ee7ee8
Bug 488843 - Restore missing check for un-optimiziable frames. r=brendan
2009-04-20 15:40:58 -07:00
Jeff Walden
ac7bbee9e5
Bug 489124 - Remove an unnecessary guard, specialize tracing of typeof for functions now that JSVAL_TFUN exists. r=gal
2009-04-20 12:25:43 -07:00
Blake Kaplan
f3d1280a04
Bug 488925 - Check for string indexes in the API entry points. r=brendan
2009-04-20 12:21:44 -07:00
Andreas Gal
b3ec5b0f4d
Abort trace if the global object gets wrapped and we already hold a reference to the unwrapped object (489007, r=brendan).
2009-04-20 11:30:32 -07:00
Andreas Gal
26a670957d
Remove bogus assert (489040, r=brendan).
2009-04-20 09:52:56 -07:00
Igor Bukanov
4ad2e764fa
bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal
2009-04-20 12:10:29 +02:00
Igor Bukanov
fd49b19773
Backed out changeset f4662701526b (bug 488414) to fix !JS_THREADSAFE compilation errors
2009-04-20 11:59:36 +02:00
Igor Bukanov
56547f8087
bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal
2009-04-20 10:17:28 +02:00
Jeff Walden
f10c82d6e3
Kick tinderboxen out of a Linux orange that looks bogus
2009-04-18 22:09:37 -07:00
Jeff Walden
628e407f3f
Bug 488781 - Followup readability fix to rearrange the ordering of cases in various type-switch statements to correspond to numeric values; this makes it much easier (for me at least) to see that such switches are properly exhaustive. r=gal
2009-04-18 16:47:24 -07:00
Jeff Walden
830e81a336
Bug 488781 - Add a trace-time type to differentiate functions from objects. r=brendan
2009-04-18 16:47:23 -07:00
Jeff Walden
c9680230c4
Bug 473117 - Rejigger how guards use side exits, and fix an erroneous comment. r=graydon
2009-04-18 16:47:23 -07:00
Igor Bukanov
ba556afe6d
bug 487039 - caching only white-listed non-globals on the scope chain. r=brendan
2009-04-18 20:10:59 +02:00
Igor Bukanov
ac71be6d66
bug 487204 - NativeGet caching fixes. r=brendan
2009-04-18 19:56:53 +02:00
David Mandelin
e57983f598
Bug 488808: crash due to JSString INIT macros stomping deflated flag, r=brendan
2009-04-17 19:30:26 -07:00
Andreas Gal
ffd13ceb8b
During trecording detect null 'this' object before wrapping it (488816, r=brendan).
2009-04-17 19:24:54 -07:00
Robert Sayre
dc86a73387
Merge mozilla-central to tracemonkey.
2009-04-17 21:35:32 -04:00
Blake Kaplan
38b83aefae
Bug 485868 - Remove code duplication in xpcjsruntime.cpp. r=jst sr=brendan
...
--HG--
extra : rebase_source : 68dbe531ff1dca8b436ae938be763ff3921a1c9a
2009-04-17 16:52:15 -07:00
Blake Kaplan
da5b280a51
Bug 484180 - Don't call the class getter (especially not the scriptable helper!) for functions. r+sr=jst
...
--HG--
extra : rebase_source : 15e927e3a4281a0d5ffd54b528c9c90c76b7c6ee
2009-04-17 16:52:10 -07:00
Jason Orendorff
cc87745ec4
Bug 488693 - TM: "Assertion failure: !JS_TRACE_MONITOR(cx).needFlush, at ../jstracer.cpp". r=gal.
...
--HG--
extra : rebase_source : 4ff76dfc6418e818c7cabba6a7d87e5b49123540
2009-04-17 18:22:16 -05:00
Graydon Hoare
f97341fdf6
Bug 488363 - Missing write barrier on global object, r=jorendorff.
2009-04-17 15:25:25 -07:00
Andreas Gal
adc0da147c
Merge.
2009-04-17 12:44:37 -07:00
Andreas Gal
da0094a55c
Backed out changeset 324bb9dc8372 (bug 487204 is implicated in top site failures).
2009-04-17 12:41:00 -07:00
Blake Kaplan
f4e59bf91a
Bug 479560, r+sr=jst
2009-04-17 12:41:42 +01:00
Andreas Gal
6520b20732
Backed out changeset 5bd116148175 (attempting to re-land bug 487204).
2009-04-16 17:56:18 -07:00
Andreas Gal
3b10c56019
Backed out changeset d1a4ee3d0c59 (bug 487204, due to possible leak).
2009-04-16 12:19:24 -07:00
Jason Orendorff
390c860d16
Fix "unused variable tm" warning I introduced a few days ago. No bug#, r=shaver.
2009-04-15 19:44:25 -05:00
Jason Orendorff
b02039ae3d
Merge backout.
2009-04-17 14:17:21 -05:00
Jason Orendorff
e021a73170
Backed out changeset a6071b1aa626 due to trace-test.js failures.
2009-04-17 14:16:56 -05:00
Jason Orendorff
e62f4c079b
Fix static-analysis-tracemonkey burning due to a6071b1aa626.
2009-04-17 11:22:57 -05:00