Commit Graph

6944 Commits

Author SHA1 Message Date
Jason Orendorff
eb983a642d Bug 509103 - Drop support for assigning to parameterized properties. r=shaver.
--HG--
extra : rebase_source : 1c1d756ed4a510414a561546d73d3989204c16cb
2009-08-13 16:05:25 -05:00
Jacob Bramley
f77c90d4c3 Relax the testTableSwitch2 test for non-x86 platforms which don't use ::tableswitch() in jstracer.cpp. (510193, r=jorendorff) (with minor orangeness fix by jorendorff, r=shaver) 2009-08-13 15:03:48 -05:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Brad Lassey
14569d27f4 bug 503137 - xpcshell.exe needs an --environ cli option to work with xpcshell unittests on windows mobile r+sr=mrbkap 2009-08-28 10:16:30 -04:00
Blake Kaplan
e6ad9883bf Bug 512589 - Initialize some more members. r=peterv sr=peterv 2009-08-27 12:45:34 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Ted Mielczarek
3d123a9cd0 bug 511791 - configure and PGO fail with ICC. r=bsmedberg 2009-08-25 18:18:24 -04:00
Peter Van der Beken
8b5c239aac Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Peter Van der Beken
e20a909c30 Remove debugging code for setters and methods to avoid weird behaviour from calling the native setters and methods twice.
--HG--
extra : rebase_source : bc087eb4c541411d5adc696b267295d4d172614e
2009-08-24 08:44:16 -07:00
Peter Van der Beken
06a3290ed7 Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
Mark Banner
f53b655eed Sync js/src/config files with change from changeset a1a1591eee2a / Bug 402892 "Switch from gnome-vfs to GIO" (add gio/gio.h to system-headers) - to fix unit test bustage. 2009-08-26 08:17:16 +01:00
David Anderson
42e1fe8339 Fixed assertion botch, (fallout from bug 512029 desk r=jorendorff).
--HG--
extra : rebase_source : a934cbfbc1e641d2c49511d1041105d8bec4aa66
2009-08-25 13:41:05 -07:00
Robert Sayre
9eda7abe2f Merge tracemonkey to mozilla-central. 2009-08-25 09:52:56 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Serge Gautherie
fffa744caa Bug 506502 - Remove "MOZ_BITS == 16" parts (in dbm and nsprpub); (Bv1-MC) Remove (last) 3 *.mak; r=gal 2009-08-25 15:22:26 +02:00
Josh Aas
cc8d9ebb04 Remove java-specific preferences from Firefox UI, hidden prefs. Java should be managed via the addons manager. Also improves accuracy of "window.navigator.javaEnabled()". b=506985 r/sr=jst uireview=faaborg 2009-08-24 15:56:43 -07:00
Magnus Melin
bfbe8d383b Bug 248280: pref "javascript.allow.mailnews" is obsolete and should be removed. r=dmose 2009-08-24 21:12:22 +03:00
Rich Walsh
f5f2f3bc1a Bug 510657 - implement OS/2 memory functionality in nanojit/avmplus, r=gal 2009-08-24 10:21:37 +02:00
Vladimir Vukicevic
8ddb6fef0b b=510571; [arm,wince] don't report illegal instructions to debugger while doing our tests; r=graydon 2009-08-20 19:19:56 -07:00
Edwin Smith
fa572124fd Bug 510116 - Remove dead code paths and arguments in nanojit::compile, r=gal. 2009-08-05 15:06:00 -04:00
Graydon Hoare
7ae3eb245d Bug 510104 - NJ: fix arm merge fallout, r=gal.
--HG--
extra : rebase_source : e739a12da66e0d65171bb5c2e3c09f98431ddf7c
2009-08-12 17:45:08 -07:00
Luke Wagner
fa2f83712c Bug 507458 - clear the waters a bit regarding JSVAL_BOOLEAN 2009-08-12 16:39:23 -07:00
Edwin Smith
83930e09a2 Bug 510095 - allocate LirBuffer with Allocator instead of GC, don't extend GCFinalizedObject, r=gal.
--HG--
extra : rebase_source : 42aa431e0d795351860f0794ea0392e1f663132b
2009-08-04 15:03:34 -04:00
Edwin Smith
ad06720f03 Bug 510078 - Convert LirNameMap to HashMap<> and Allocator, r=gal.
* * *
Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject (bug 506390 r=tharwood+)

* Change PageMgr::CodeAlloc from pointer to embedded instance.
* Assembler takes CodeAlloc& now, like it already does for Allocator&
* PoolObject.cpp|h now use VMCFG_NANOJIT instead of (deprecated) FEATURE_NANOJIT
  (both #defines are equivalent)

--HG--
extra : rebase_source : 90847a654d7f669a4c2ac364dd9aae7be38cae77
2009-08-04 14:18:38 -04:00
Jason Orendorff
bc52c17224 Bug 508051 part 2 - Avoid imacros for JSOP_INSTANCEOF. r=gal. 2009-08-12 15:40:56 -05:00
Jason Orendorff
cc37757a20 Bug 508051 part 1 - Avoid imacros for JSOP_SETELEM. r=gal. 2009-08-12 15:27:01 -05:00
Edwin Smith
3967b233d5 Bug 510036 - Convert LabelMap to HashMap<> and Allocator, r=gal.
--HG--
extra : rebase_source : 4f1385922085fe086084c418aa22dcc4cc4c1961
2009-08-04 13:56:48 -04:00
Graydon Hoare
7bddd2c62f Bug 510015: TM: more Allocator merge fallout in jsregexp.cpp, r=gal.
--HG--
extra : rebase_source : 7607da6f49cc355af49b73528c826d5888291eb9
2009-08-12 12:26:17 -07:00
Edwin Smith
9c489db37c Bug 509893 - Convert NInsList to SeqBuilder<> and Allocator, r=gal.
--HG--
extra : rebase_source : ca2b073138301d78829fa1096e0cb3da607073de
2009-08-04 13:21:15 -04:00
Edwin Smith
7de6b2bc04 Bug 509890 - Convert InsList to SeqBuilder<> and Allocator, r=gal.
--HG--
extra : rebase_source : 22303e739a0a6669c634595149028872aa7bd334
2009-08-04 13:11:53 -04:00
Edwin Smith
3a5203b81c Bug 509885 - Convert NInsMap to Allocator, r=gal.
--HG--
extra : rebase_source : 3586f950b5698052af74081f8f986f32dc57fa68
2009-08-04 11:06:46 -04:00
Graydon Hoare
77e519e3e4 Bug 509883 - Grab bag of formatting churn, r=gal.
--HG--
extra : rebase_source : 05d7b651a381a9e5daca47a2140bd6f1b1154a5b
2009-08-04 11:33:14 -04:00
Robert Sayre
c8a923e58e Merge mozilla-central to tracemonkey. 2009-08-12 12:18:38 -07:00
Peter Van der Beken
16bf42fce4 Fix for bug 499199 (Try to avoid XPCCallContexts in quickstubs for wrapper-cached things). r/sr=jst.
--HG--
extra : rebase_source : 8fc828106f3cf5e82e902cefd79e55df2b8721c3
2009-08-10 12:12:59 +02:00
timeless@mozdev.org
870ed948d4 Bug 505901 PutProperty has useless null check in !targetprop else case
r=gal
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
191308c5ea Bug 505838 JS_GetStringBytes(JS_ValueToString(...)..) is a bad pattern
r=jorendorff
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
6028fe0d79 Bug 505804 XPC_SJOW_Call leaks args if JS_GetFunctionObject(callWrapper) yields null
r=mrbkap
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
ccd14cb0e0 Bug 505771 double free [@ JS_free - snarf] in jsshell
r=gal
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
354de8a330 Bug 505568 jsshell should use the public api for property iteration
r=mrbkap
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
bc35a8740a Bug 504395 SimulateImacroCFG leaks tmp_pcstack when LOCAL_ASSERT fails
r=graydon
2009-08-12 11:49:52 +02:00
Edwin Smith
a65666cc5a Bug 509856 - convert LabelStateMap and RegAllocMap to Allocator based containers, r=gal. 2009-08-04 10:48:48 -04:00
Edwin Smith
6652a33cf1 Bug 509833 - Convert live() analyzer to Allocator, r=gal. 2009-08-04 10:18:25 -04:00
Edwin Smith
1913010941 Bug 509818 - Replace StringList with SeqBuilder<char*>, use Allocator, r=dvander. 2009-08-04 09:54:47 -04:00
Brendan Eich
35efd21601 Fix annoying GCC warning (no ifdef __GNUC__ noise, that just taxes us for gcc's deficiencies). 2009-08-11 16:22:35 -07:00
Luke Wagner
8437742100 Bug 509725 - use JSTempVector in String.prototype.replace. r=Waldo 2009-08-11 15:45:32 -07:00
David Anderson
91b95f0a95 Merge. 2009-08-11 14:12:27 -07:00
David Anderson
74070d2a77 LirNameMap must be reset if flushing the allocator (bug 509786, r=graydon). 2009-08-11 14:11:07 -07:00
Jason Orendorff
3137ee0467 Bug 509636 - Assertion failure: pn->pn_type != TOK_COMMA, at ../jsemit.cpp. r=Waldo.
--HG--
extra : rebase_source : 1d413958d72dc3fda3ade90cf199965fb1d6de61
2009-08-11 15:57:23 -05:00
Jason Orendorff
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Maks Verver
fce0a4a253 Simpler parseInt logic (bug 507993 followup, r=brendan,dvander). 2009-08-11 12:54:55 -07:00
David Anderson
67c4f874a9 Fixed FindLoopEdgeTarget not setting its outparam in one case (bug 509089 fallout, desk r=gal). 2009-08-11 12:51:40 -07:00
Luke Wagner
21205c39ce Removed unnecessary null check before cx->free. 2009-08-11 11:10:44 -07:00
Boris Zbarsky
99d0bce640 Hack to make bug 509557 less annoying. 2009-08-11 13:25:14 -04:00
David Anderson
5268047217 Static analysis build fixes (bug 509089 fallout, no bug). 2009-08-10 22:23:58 -07:00
David Anderson
869bf43660 Cleaned up and refactored AttemptToStabilizeTree (bug 509089, r=gal). 2009-08-10 22:15:52 -07:00
Edwin Smith
b21d256eb9 Bug 509634 - Add new Allocator-friendly containers, r=dvander.
--HG--
extra : rebase_source : 9d85c87d2c12729873ad5af330edd2495d590d79
2009-08-04 09:31:29 -04:00
David Anderson
7a7dbed77d Fixed parseInt handling negative numbers wrong in JIT'd code (bug 507993, r=brendan). 2009-08-10 18:09:51 -07:00
Edwin Smith
74be99c7ff Bug 509609 - Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject, r=dvander. 2009-08-04 14:53:56 -04:00
Edwin Smith
186c032f2a Bug 509598 - Remove dead nanojit::CseFilter and LInsHashSet::replace, r=dvander.
--HG--
extra : rebase_source : ec7d125901bb032ad0dc5d7021070181bf8cde3d
2009-08-03 15:45:01 -04:00
Edwin Smith
a81fcd433a Bug 509596 - Remove some dead code, r=dvander.
--HG--
extra : rebase_source : 9d5ff6c6900b3befce2f6b6bf13d02a582f4a35d
2009-08-03 15:18:55 -04:00
Graydon Hoare
3dd52407c3 Bug 509586 - More VMPI insulation, r=jorendorff.
--HG--
extra : rebase_source : 0b468edd0ee08afe59fa9e7202ad3e96024f0371
2009-08-10 17:10:25 -07:00
Jason Orendorff
d60a115007 Bug 509301 - Value chosen for callee in args_resolve is nonsense. Fixes a debug browser assertion. r=Waldo. 2009-08-10 16:23:32 -05:00
Graydon Hoare
114f8d3c01 Bug 507302 - more whitespace fixes, r=nnethercote.
--HG--
extra : rebase_source : 7d208da8eabd76f66cfe323b5b598f45130299c6
2009-07-29 16:21:40 -07:00
Jeff Walden
484c2f1212 Bug 504233 - Add SIZE_MAX, etc. #defines to SpiderMonkey. r=jimb 2009-07-15 15:59:25 -07:00
Brendan Eich
79d774b114 Bug 515815 - TM: Regression on shell test case regress-452498-224.js (r=igor). 2009-09-11 10:47:47 -07:00
Brendan Eich
1cef550e73 Fix obvious thinko that bites Gary's fuzzer (515892, r=igor tomorrow, I trust). 2009-09-11 00:00:52 -07:00
Nicholas Nethercote
4b5aeeae4f Bug 514551 - nanojit: avoid using ~allocator.free. r=edwsmith. 2009-09-11 16:21:10 +10:00
Nicholas Nethercote
4faa4a2405 Bug 515312 - nanojit: kill reservations in the Sparc backend. r=leon.sha. 2009-09-11 14:43:50 +10:00
David Mandelin
17a8b24ac7 Bug 515844: option to run a trace-test in gdb, r=dvander 2009-09-10 18:39:30 -07:00
Jim Blandy
f98db45fa3 Bug 510117: Correct pseudocode describing use/def processing. r=brendan 2009-09-10 18:02:08 -07:00
David Anderson
a17ec3c834 Follow-up nits (spacing, comment typo) to bug 513844. 2009-09-10 17:24:28 -07:00
Luke Wagner
d72c89d060 Backed out changeset b866396faae4 2009-09-10 16:44:01 -07:00
Luke Wagner
e9357856b4 Bug 506410 - bring template lovin' to hash tables (r=jorendorff) 2009-09-10 16:16:29 -07:00
David Mandelin
0fcb7aaa76 Bug 500857: show JIT reset events in tracevis, r=nnethercote
--HG--
extra : rebase_source : a9be775abf15badf980e3be3535e99b30ce5c235
2009-09-10 16:06:34 -07:00
David Anderson
0638ddff8d Follow-up fix for SanityFilter triggering on ill-typed LIR (bug 513844, no_r=me). 2009-09-10 15:41:48 -07:00
David Anderson
fdcaf63219 Greatly improved tracer x64 compliance and compatibility (bug 513844, r=gal). 2009-09-10 15:38:18 -07:00
David Anderson
927b38b06f Merge backout. 2009-09-10 15:13:26 -07:00
David Anderson
10b1ebccfe Backed out changeset 1870d316eb00 2009-09-10 15:12:14 -07:00
Blake Kaplan
adf434e70c Bug 513428 - Ignore transparent wrappers when deciding if something is an array or not. r=brendan 2009-09-10 14:51:45 -07:00
Andreas Gal
b6a2946c7a Tracker::get must never be called for values not in the tracker (515752, r=dmandelin). 2009-09-10 13:11:26 -07:00
Bob Clary
572aca124f Bug 469718 - browser javascript reftests, r=sayrer, r=ted.mielczarek.
--HG--
rename : js/tests/Makefile => js/tests/SisyphusMakefile
2009-09-10 12:38:29 -07:00
Jason Orendorff
7bf465cfd3 Bug 515682 - js/src/jsapi-tests is missing a README file. r=brendan. 2009-09-10 14:28:55 -05:00
Brendan Eich
811ccb299a Fixes based on jorendorff's comments in bug 515273. 2009-09-10 10:54:33 -07:00
Brendan Eich
706bd30498 Fix js*inlines.h harder (515628, r=jorendorff). 2009-09-10 10:23:52 -07:00
Jason Orendorff
4e3fc88ef8 Fix release-only linker error introduced by changeset 08ab547f6808 (having to do with jsscriptinlines.h). r=red. 2009-09-10 11:50:43 -05:00
Brendan Eich
bb9d2c5506 Followup for 513119, r=jorendorff. 2009-09-10 07:22:20 -07:00
Igor Bukanov
8b5938706b bug 440834 - do not cache enumerators when object shape overflowed. r=brendan 2009-09-10 15:59:43 +04:00
Igor Bukanov
3c4beac4d9 bug 515199 - js_GetGCThingTraceKind must check for JSString::isStatic and return JSTRACE_STRING if so. r=brendan 2009-09-10 15:13:59 +04:00
Leon Sha
4e128c3edd Bug 515586 - Tracemonkey build failed with Sun Studio at jsstr.cpp. r=gal 2009-09-10 15:29:20 +08:00
Graydon Hoare
e9a727c872 Bug 514999 - Followup to fix orange opt tinderboxes, r=me.
--HG--
extra : rebase_source : 876279e2d327c8faf76bba28f94ba40f347a2000
2009-09-09 20:39:35 -07:00
Nicholas Nethercote
a5ab37ac5f Fix bustage caused by the patch for 514066. 2009-09-10 14:24:57 +10:00
Nicholas Nethercote
b29cd64403 Bug 514066 - TM: Make short functions in LIR.cpp inline. r=gal. 2009-09-10 14:02:59 +10:00
Brendan Eich
016b0f207a Bug 514981 - JSStackFrame::sharp{Array,Depth} should be locals allocated due to #n[#=] usage (r=igor). 2009-09-09 20:21:15 -07:00
Graydon Hoare
8132680f0e Bug 515551 - FIX_FPU should depend on __i386__ not __i486__, r=brendan. 2009-09-09 20:09:50 -07:00
Nicholas Nethercote
f110b091bc Bug 514349 - nanojit: start to kill Reservations. r=edwsmith,rreitmai. 2009-09-10 11:00:18 +10:00
Andreas Gal
bd58a78c21 Set nativeVp immediately before the native call (514999, r=mrbkap). 2009-09-09 17:38:07 -07:00
Jeff Walden
9deeafc1b0 Fix filename in comment to kick a tinderbox, r=red 2009-09-09 17:23:42 -07:00
Jeff Walden
fcb571fda5 Fix initialization, r=bustage 2009-09-09 17:00:26 -07:00
Jason Orendorff
b53824855d Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05:00
Jason Orendorff
1a7723b3aa Fix compile bustage from changeset b7ee9263cf96. Trivial fix. r=red. 2009-09-09 18:52:40 -05:00
Jeff Walden
c8f686672d Bug 505587 - Implement ES5 Object.getOwnPropertyDescriptor. r=mrbkap 2009-07-21 19:35:59 -07:00
David Anderson
3ae21db572 Fixed regex LIR to be x64 compliant (bug 514548, r=lw). 2009-09-09 15:53:26 -07:00
David Anderson
fbf123ad5b Fixed uninitialized variable in nanojit ARM backend (bug 515493, r=gal). 2009-09-09 15:45:18 -07:00
Jason Orendorff
25a80d6547 Fix a leak valgrind finds in jsapi-tests/testXDR.cpp. No bug, too trivial for a review, no_r=me. 2009-09-09 16:51:46 -05:00
Jason Orendorff
e170e4b573 Bug 511728 - Misc. cleanup from bug 503080. r=igor.
--HG--
extra : rebase_source : f4b7b385bbece2316912ce67c77a49ac8fca6e5c
2009-09-09 15:53:37 -05:00
Julian Seward
b8505fdfae Bug 514647 - Fix space leaks in JS shell, r=gal.
--HG--
extra : rebase_source : 33073aa3fa68c69adaaf3516dc568b691a6573b5
2009-09-09 14:21:18 -07:00
Jason Orendorff
500dba18ba Fix typo in inArrayTest.js introduced in changeset ff4821569605. No bug#. r=orange. 2009-09-09 16:12:51 -05:00
Graydon Hoare
c49ca202b2 Bug 511938 - Fix up recently-invalidated assertion, r=dvander. 2009-09-09 11:36:24 -07:00
David Anderson
daf1fa4dbe Fixed LIR_ret/asm_ret on ARM (bug 515290, r=gal,vlad). 2009-09-09 12:55:17 -07:00
Andreas Gal
09f4fc3f88 Merge. 2009-09-09 12:53:11 -07:00
Andreas Gal
bb688e13fe Backed out changeset 5c7fbeed8f96 (bug 515290, accidentally committed unrelated changes with the bug). 2009-09-09 12:52:58 -07:00
David Mandelin
512c25cdc4 Bug 504797 extra bit: newly required include in jsfun.cpp, no_r=me 2009-09-09 11:46:32 -07:00
David Mandelin
a8c3972f23 Bug 504797: give arguments objects created on trace a private value that can be used to look up argument values in the native stack, r=gal 2009-09-09 11:40:21 -07:00
David Anderson
e0f904df58 Added LIR_ov and full cmov support to x64 backend (bug 514496, r=rreitmai). 2009-09-09 11:19:12 -07:00
David Anderson
22a1120a3e Added LIR helpers for x64 code generation (bug 514532, r=edwsmith). 2009-09-09 11:15:48 -07:00
David Anderson
01362958c6 Added LIR_ldcb and LIR_ldcs to x64 backend (bug 514586, r=rreitmai). 2009-09-09 10:58:24 -07:00
Brendan Eich
ed3daf20b0 My first jsapi test (515273, rs=Waldo). 2009-09-08 21:28:51 -07:00
danderson@mozilla.com
b29acb6983 Fix asm_ret on ARM (515290, r=gal,vlad). 2009-09-08 20:23:53 -07:00
Nicholas Nethercote
21dbf49f8b Bug 515138 - TM/nanojit: merge the two StackFilter passes. r=gal. 2009-09-09 11:48:30 +10:00
Brendan Eich
e1ca08f794 Avoid wildman storage-punning hacks for non-unit static strings (515273, r=gal/gwagner). 2009-09-08 17:46:02 -07:00
Julian Seward
cf806f6974 Bug 513407 - NJ: fold out (x == y) ? x : y and (y == x) ? x : y. r=gal. 2009-09-09 10:25:16 +10:00
David Anderson
7b69388035 Fixed a hack that created temporarily ill-typed LIR, i2f(i2f) (bug 503427, r=gal). 2009-09-08 16:47:55 -07:00
Nicholas Nethercote
6ee8551d7d Bug 512824 - TM: gcc complains about invalid aliasing in LIR.h. r=gal. 2009-09-09 09:18:41 +10:00
Andreas Gal
c14bc4a8fc Use align attribute since GCC seems to ignore the pack pragma on ARM (515248, r=brendan). 2009-09-08 14:55:30 -07:00
Brendan Eich
551a7b73b6 Use pragma pack for static strings (trying to clear orange; r=gal). 2009-09-08 13:18:59 -07:00
Brendan Eich
809ce29270 Cope with null tvr string refs (515000 followup, r=self). 2009-09-07 21:08:31 -07:00
Nicholas Nethercote
65a88a5c2c Bug 514625 - nanojit: kill AR::highwatermark. r=edwsmith. 2009-09-08 09:11:53 +10:00
Brendan Eich
7a412f40b3 JSTempValueRooter JSTVU_SINGLE over-constrains GC-thing against static allocation (515000, r=gal). 2009-09-07 00:35:27 -07:00
Jeff Walden
949fac944e Missed a test updating for bug 514603, thanks to bc for pointing it out 2009-09-06 21:41:40 -07:00
Brendan Eich
aea922b775 Zim got the bug, man! (514971, r=gal). 2009-09-06 18:15:16 -07:00
Brendan Eich
115e07166f I bust myself back to private, like Sgt. Zim in 'Starship Troopers', in order to fight bugs hand-to-hand with no claim to higher rank (514971, r=gal). 2009-09-06 17:59:17 -07:00
Jeff Walden
036565d094 Update tests that now (correctly) fail in response to the fixing of bug 514603 (also, brendan-conflicts on a holiday Sunday afternoon, grumble grumble mutter mutter ;-) ) 2009-09-06 12:27:28 -07:00
Brendan Eich
9ee946f5e6 Fix script JSUpvarsArray allocation to avoid misaligning other members (514645, r=igor). 2009-09-06 12:05:51 -07:00
Brendan Eich
725051d58f Fix bogus assertion from bug 510644 (514943, r=self). 2009-09-06 11:56:26 -07:00
Brendan Eich
efeb782ab4 Followup to fix assertion that walks into strong assertions in fix for bug 514819. 2009-09-05 23:41:52 -07:00
Brendan Eich
098462c563 Check (without regressing hot paths) where needed to avoid treating static JSStrings like gc-things in the heap (514819, r=gal). 2009-09-05 21:48:30 -07:00
gwagner@mozilla.com
baca785d37 Prefer unit strings over integer strings for [0..9] in NumberToString (514884, r=gal). 2009-09-05 20:24:42 -07:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Jesse Ruderman
6b6f0e013c Add trace-test for bug 465902 2009-09-04 22:50:49 -07:00
Brendan Eich
2b439c7885 Use class statics for the unit and int string tables (513530 followup, r=gwagner). 2009-09-04 18:04:14 -07:00
David Anderson
0650a2788b LIR sanity checker from tamarin-redux (bug 514503, r=gal,edwsmith). 2009-09-04 17:56:22 -07:00
Brendan Eich
b347b52323 Minimal fix for latent js_InferFlags bug where TR::snapshot calls js_InferFlags on arbitrary ops (514790, r=gal). 2009-09-04 17:47:23 -07:00
Luke Wagner
dbc9bb4660 Moved tests in js/src and js/src/correct to trace-tests (r=jorendorff)
--HG--
rename : js/src/call.js => js/src/trace-test/tests/basic/call2.js
rename : js/src/correct/check-3d-morph.js => js/src/trace-test/tests/sunspider/check-3d-morph.js
rename : js/src/correct/check-3d-raytrace.js => js/src/trace-test/tests/sunspider/check-3d-raytrace.js
rename : js/src/correct/check-access-binary-trees.js => js/src/trace-test/tests/sunspider/check-access-binary-trees.js
rename : js/src/correct/check-access-fannkuch.js => js/src/trace-test/tests/sunspider/check-access-fannkuch.js
rename : js/src/correct/check-access-nbody.js => js/src/trace-test/tests/sunspider/check-access-nbody.js
rename : js/src/correct/check-access-nsieve.js => js/src/trace-test/tests/sunspider/check-access-nsieve.js
rename : js/src/correct/check-bitops-3bit-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-3bit-bits-in-byte.js
rename : js/src/correct/check-bitops-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-bits-in-byte.js
rename : js/src/correct/check-bitops-bitwise-and.js => js/src/trace-test/tests/sunspider/check-bitops-bitwise-and.js
rename : js/src/correct/check-bitops-nsieve-bits.js => js/src/trace-test/tests/sunspider/check-bitops-nsieve-bits.js
rename : js/src/correct/check-controlflow-recursive.js => js/src/trace-test/tests/sunspider/check-controlflow-recursive.js
rename : js/src/correct/check-date-format-tofte.js => js/src/trace-test/tests/sunspider/check-date-format-tofte.js
rename : js/src/correct/check-date-format-xparb.js => js/src/trace-test/tests/sunspider/check-date-format-xparb.js
rename : js/src/correct/check-mont.js => js/src/trace-test/tests/sunspider/check-mont.js
2009-09-04 16:40:45 -07:00
Andreas Gal
27381a9ab1 Reset nativeVp only after the native call returns (513981, r=mrbkap). 2009-09-04 17:00:08 -07:00
Luke Wagner
28a6837fd4 Build fix for bug 513530, trailing enum comma. 2009-09-04 16:52:20 -07:00
Gregor Wagner
0becd3863d dvander missed part of the patch (bug 513530). 2009-09-04 16:43:28 -07:00
David Anderson
e6a431e6ae Merge. 2009-09-04 16:29:40 -07:00
Gregor Wagner
2e1104b40f Cache result of Number2String (bug 513530, r=brendan). 2009-09-04 16:28:30 -07:00
Brendan Eich
fd61e1b61a Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff). 2009-09-04 16:27:17 -07:00
Gregor Wagner
cf62469ed2 Fast path for js_StringToInt32 if string length is 1 (bug 514267, r=brendan). 2009-09-04 16:26:08 -07:00
Jeff Walden
bb3a9524fa Bug 514603 - ES5: (function(){}).propertyIsEnumerable("prototype") should be false, not true. r=brendan 2009-09-04 02:16:05 -07:00
David Anderson
6e929c1385 Fixed codeAlloc misuse in x64 backend (bug 513842 followup, r=gal). 2009-09-04 14:50:16 -07:00
Luke Wagner
6bfe9f9329 Bug 460904 - rename/tweak JSTraceableFunction (take 2) 2009-09-04 13:44:31 -07:00
Luke Wagner
3087376a4d Backed out changeset 94da2f68afdb 2009-09-04 11:35:52 -07:00
Luke Wagner
52d822b6d2 Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff) 2009-09-03 11:57:14 -07:00
Nicholas Nethercote
02a5869681 Bug 512646 - nanojit: remove RegAlloc::{count,checkCount(),countFree()}. r=edwsmith. 2009-09-04 15:58:10 +10:00
David Anderson
19e6272d43 Implemented side exits in the x64 backend, and merged in tamarin-redux changes (bug 514537, r=gal). 2009-09-03 19:12:47 -07:00
Nicholas Nethercote
ea4545c24a Follow-up to bug 513843. r=gal (via IRC). 2009-09-04 11:07:36 +10:00
Andreas Gal
0564bbf1e0 Compilation fix for NativeARM.cpp (LIR_call was renamed to LIR_icall, r=dvander). 2009-09-03 17:54:48 -07:00
Nicholas Nethercote
a27675d43a Bug 513831 - nanojit: some regalloc comments, etc. r=edwsmith. 2009-09-04 09:18:01 +10:00
David Mandelin
39b0d1f96d Bug 510498: try 'python -u' to avoid tinderbox timeouts, r=jorendorff 2009-09-03 16:14:37 -07:00
David Mandelin
a69a6f44b9 Bug 514101: show running trace-test when interrupted by Ctrl+C, r=dvander
--HG--
extra : rebase_source : 3f85a036f9c4e732d247b8210d47845c2b141771
2009-09-03 16:10:15 -07:00
Andreas Gal
6771d193dd Introduce a register fence instruction to force all registers to be spilled (514374, r=edwsmith,rreitmai). 2009-09-03 14:43:30 -07:00
Brendan Eich
cce4dce512 Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff). 2009-09-03 14:41:19 -07:00
Jason Orendorff
13c0c5eff8 Bug 513115 - EMCA5: test failures in ecma_5/Date/15.9.4.2.js. r=dmandelin.
--HG--
extra : rebase_source : 9aada8547a89f7711780b3b34b45c6b573bdeb82
2009-09-03 15:52:03 -05:00
Jeff Walden
5670ca5621 Bug 514309 - Object.prototype.hasOwnProperty mishandles non-primitive property name. r=brendan
--HG--
extra : rebase_source : 56a59bf5d25f0c7303cac96b90fb4bababdf8e53
2009-09-02 21:13:51 -07:00
Andreas Gal
026f651d69 Incorrect register hint for LIR_param for 386 backend (514344, r=njn). 2009-09-02 21:09:34 -07:00
Nicholas Nethercote
0abd6c54da Bug 511051 - TM/nanojit: use NULL as the condition for unconditional guards, again. r=gal. 2009-09-03 13:06:31 +10:00
Nicholas Nethercote
5adc17c6a5 Bug 514110 - nanojit: avoid getresv() because it has a redundant test. r=gal. 2009-09-03 09:36:51 +10:00
Jason Orendorff
d41212b7a6 Bug 514222 - js_GetMutableScope gives the scope a unique shape. r=brendan. 2009-09-02 17:58:25 -05:00
Luke Wagner
5c14309cd1 Bug 511750 - factor template utilities into js::tl (r=brendan)
--HG--
extra : rebase_source : a5a396811268e71af8e56c66dab491f3081bc20a
2009-09-01 18:46:19 -07:00
Brendan Eich
932d989110 Fix net vs. gross botches from patch for 489899 (514112, r=gal). 2009-09-01 22:54:02 -07:00
Nicholas Nethercote
320a2cfb64 Backed out changeset 48928150aa27 due to Tinderbox breakage. 2009-09-02 12:14:09 +10:00
Nicholas Nethercote
85c5abe0a7 Bug 513865 - nanojit: make LirReader::read() clearer and faster. r=gal. 2009-09-02 10:20:28 +10:00
Luke Wagner
cdd6b54ff9 Fix bustage: switch uintN to size_t 2009-09-01 16:41:32 -07:00
Andreas Gal
f6ce0dc81e Register allocate loop-spanning references (513843, r=rreitmai). 2009-09-01 16:30:51 -07:00
Luke Wagner
17f41ec26d Bug 460904 - refactor jsstr regexp ops (r=waldo) 2009-08-12 13:01:34 -07:00
Andreas Gal
2b1f1a8bf9 JS_ISSPACE has wrong space character check (513701, r=brendan). 2009-09-01 15:45:11 -07:00
Andreas Gal
447939882c Load state after spilling or we might clobber a callee-saved register (513878, r=dvander). 2009-09-01 15:30:19 -07:00
Andreas Gal
fadffac705 Make branchStateMap, patches, and labels fields of the Assembler (513884, r=rreitmai). 2009-09-01 15:27:34 -07:00
David Anderson
f003096144 Fixed trace-test.py -x option (bug 514022, r=dmandelin). 2009-09-01 15:06:02 -07:00
David Anderson
21466cd521 Added LIR_float to distinguish NULL from 0.0 on x64 (bug 513838, r=gal,rreitmai). 2009-09-01 14:26:24 -07:00
Nicholas Nethercote
84f6367d69 Bug 512614 - nanojit: remove FST1..FST7 from Nativei386.cpp. r=edwsmith. 2009-09-01 16:55:15 +10:00
Nicholas Nethercote
7f3df7efb0 Bug 512423 - nanojit: inline small RegAlloc methods. r=edwsmith. 2009-09-01 16:03:01 +10:00
David Anderson
66b35f24b6 Use newer codeAlloc() in x64 backend (bug 513842, r=gal). 2009-08-31 19:57:32 -07:00
Nicholas Nethercote
e409ab2bb3 Bug 512596 - TM: improve TMFLAGS=help message. r=jseward. 2009-09-01 10:08:46 +10:00
Andreas Gal
42daf230a5 Compilation fix for bug 513787. 2009-08-31 17:02:16 -07:00
Andreas Gal
292f7e316d Don't restore FP twice when exiting a fragment (513787, r=rreitmai). 2009-08-31 16:35:50 -07:00
David Anderson
a33078ac37 Merge Assembler::disp() changes from tamarin-redux, always use 4-byte granularity (bug 513796, r=gal). 2009-08-31 16:14:22 -07:00
David Anderson
935ae0427d Fixed all ARGSIZE_LO usages to be ARGSIZE_P or ARGSIZE_I (bug 513790, r=jorendorff). 2009-08-31 16:06:24 -07:00
Andreas Gal
2b192c3c31 Use asm_ret to emit code for LIR_ret and LIR_fret (513771, r=dvander). 2009-08-31 15:01:41 -07:00
David Mandelin
dd195bf785 Bug 513476: update README for trace-tests.py to reflect usage of tree-standard python 2.5, no_r=me 2009-08-31 12:11:00 -07:00
David Mandelin
41b0b5b229 Bug 513131: convenient retest feature for trace-tests.py, r=jorendorff 2009-08-31 12:05:54 -07:00
David Mandelin
8c9d1bb5a7 Bug 513118: improved CLI selection of single tests for trace-test.py, r=jorendorff 2009-08-31 11:57:32 -07:00
Nicholas Nethercote
686dcb25be Bug 512610 - nanojit: some register allocation clean-ups. r=edwsmith. 2009-08-31 15:33:46 +10:00
Nicholas Nethercote
e7fbdc867c Bug 512398 - nanojit: kill RegAlloc::used. r=edwsmith. 2009-08-31 15:02:08 +10:00
Leon Sha
1f7b2525ab Bug 513208 - Tracemonkey build failed on solairs at jsnum.h. r=gal. Remove the space after copysign 2009-08-31 12:05:27 +08:00
Leon Sha<leon.sha@sun.com>
6c708d7ac4 Bug 513211 - [tracemonkey]trace-test testBug504520Harder.js failed on sparc platform. r=gal. 2009-08-31 12:12:38 +08:00
Leon Sha<leon.sha@sun.com>
df159dfdb0 Bug 512433 - tracemonkey build failed at NativeSparc.cpp. r=gal. 2009-08-31 12:04:25 +08:00
Leon Sha
b432f885db Bug 513208 - Tracemonkey build failed on solairs at jsnum.h. r=gal 2009-08-31 11:21:51 +08:00
Nicholas Nethercote
6c0c4d9616 Bug 512652 - TM: refactor Assembler::evict(). r=edwsmith. 2009-08-31 11:48:21 +10:00
Igor Bukanov
932b904a7a bug 511425 - followup to fix bogus assert 2009-08-30 22:07:19 +04:00
Jason Orendorff
235e72bc0c Bug 513429 - Say "int" and "quad" in debug output for those LIR opcodes. r=edwsmith.
--HG--
extra : rebase_source : 0d9b017c0f4dbe7cd7c0f3dad27a3bee80eaa276
2009-08-30 11:36:48 -04:00
Andreas Gal
64b13a5ec6 Remove useless FASTCALL declarations and make hashcode and equals less branchy (513539, r=dvander). 2009-08-30 00:11:12 -07:00
Andreas Gal
84094cb9d0 Remove remainder of now unused LIR_loop support code (513535, r=dvander). 2009-08-29 23:26:54 -07:00
Andreas Gal
4394dfd752 Don't allocate in Queue constructor by default (513497, r=shaver). 2009-08-29 18:57:57 -07:00
Andreas Gal
c85b53a42a Backout bug 512617. 2009-08-29 18:46:27 -07:00
Andreas Gal
25efe9f46a Future proofing nit for bug 513379. 2009-08-29 14:19:44 -07:00
Andreas Gal
13d0507fa2 More fallout from bug 512617 bonus patch. 2009-08-29 13:33:10 -07:00
Andreas Gal
8b20919625 Restore 'CALLEE' tracable native type, quickstubs need it (compilation fix for bug 512617). 2009-08-29 13:05:16 -07:00
Andreas Gal
64328a8e94 Consolidate object creation on trace (512617, r=jorendorff). 2009-08-29 12:36:00 -07:00
Andreas Gal
6424c04026 Inline js_DoubleToInteger (513436, r=sayrer). 2009-08-29 02:36:45 -07:00
Andreas Gal
7a4da2ecd3 Shortcut strncmp in string to number conversion path (513434, r=sayrer). 2009-08-29 02:28:00 -07:00
Andreas Gal
3ffdadab9b Fast path for is/is not space character classification (513379, r=sayrer). 2009-08-29 02:17:10 -07:00
Andreas Gal
7d3f588878 Inline GetUnitString fast path (513373, r=sayrer). 2009-08-28 16:30:41 -07:00
Andreas Gal
60fa2078b6 js_GetExistingStringAtom should check for unit strings (512996, r=jorendorff). 2009-08-28 15:53:55 -07:00
Andreas Gal
706e1e3bd3 Remove unused hasLoop flag (513263, r=graydon). 2009-08-28 14:38:09 -07:00
Andreas Gal
14813a11f4 Remove some TM-only fields from nanojit (513187, r=dvander). 2009-08-28 14:36:37 -07:00
Igor Bukanov
b919139e8d bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan 2009-08-28 09:53:26 +04:00
Nicholas Nethercote
3c773f1b39 Bug 512640 follow-up: remove a stray debugging printf. 2009-08-28 15:23:14 +10:00
Nicholas Nethercote
2bb3987d6f Bug 512640 - nanojit: refactor Assembler::findRegFor(). r=edwsmith. 2009-08-28 14:59:52 +10:00
Andreas Gal
317b5f2e3a Remove explicitSavedRegs and loop hacks from nanojit (513139, r=dvander). 2009-08-27 18:46:45 -07:00
Graydon Hoare
72ae192dab Bug 496816 - Force x87 FPU to 64-bit mode on any x86-gcc platform, r=brendan. 2009-08-27 11:34:13 -07:00
Graydon Hoare
5b06cc0665 Bug 510602 - Massage LIR opcodes to merge state, r=dvander. 2009-08-27 17:52:46 -07:00
Graydon Hoare
fa12dc4a05 Bug 513049 - TM: Add env var to force-disable SSE, r=gal. 2009-08-27 17:16:13 -07:00
Graydon Hoare
a4b6a75ae6 Bug 513063 - Followup to fix windows breakage, r=jorendorff. 2009-08-27 15:54:40 -07:00
David Mandelin
03bdb1b7bf No bug, trace test from bug 511241, no_r=me 2009-08-27 15:52:04 -07:00
David Mandelin
db7fb65c2f Bug 505591 followup: add trace tests, no_r=me 2009-08-27 15:48:56 -07:00
David Mandelin
368b225d78 Bug 505591: trace JSOP_NAME for returned closures, r=dvander
--HG--
extra : rebase_source : 496a99feeb0fee876cd72b24e1e753d9b41ea51f
2009-08-27 15:40:37 -07:00
Andreas Gal
8986edfd26 Build fix for 513063. 2009-08-27 15:34:20 -07:00
David Mandelin
41734fc7d9 No bug, test case filed in bug 513038, no_r=me 2009-08-27 15:17:03 -07:00
David Mandelin
2f814a4418 Bug 512182: run some trace tests with TMFLAGS=full 2009-08-27 15:10:59 -07:00
David Mandelin
a086bb3ab9 Bug 510642: traverse scope chain correctly for traced JSOP_BINDNAME, r=jimb 2009-08-27 15:07:46 -07:00
Robert Sayre
2d246a4cb2 Merge 2009-08-27 14:17:04 -07:00
Andreas Gal
d4c110a6b1 Avoid bit twiddling on double values (513063, r=brendan). 2009-08-27 13:59:19 -07:00
Luke Wagner
99a4b18694 Added #ifdef JS_TRACER. Added JS_REQUIRES_STACK. 2009-08-27 13:52:29 -07:00
David Anderson
67d863503e Merged Assembler.h!nRegisterAllocFromSet changes from tamarin-redux (bug 513083, r=gal). 2009-08-27 13:50:30 -07:00
David Anderson
c04fa74537 Merged Assembler.h!nPatchBranch changes from tamarin-redux (bug 513079, r=gal). 2009-08-27 13:47:39 -07:00
David Anderson
83d28f8a00 Merged LIR_alloc changes from tamarin-redux (bug 513069, r=gal). 2009-08-27 13:22:30 -07:00
Robert Sayre
efd90f24a0 Merge mozilla-central to tracemonkey. 2009-08-27 13:20:24 -07:00
Luke Wagner
a5b9103165 Bug 419743 - Add JSOP_CONCATN (r=waldo) 2009-08-18 15:43:17 -07:00
David Anderson
a43dd7468a Fixed Containers.h!murmurhash not compiling on x64 (bug 512797, r=graydon). 2009-08-27 12:48:52 -07:00
Jason Orendorff
df3e3a355d Bug 510709 - Assertion failure: PN_TYPE(pn) == TOK_FUNCTION, at ../jsparse.cpp. r=brendan. 2009-08-27 12:28:28 -07:00
Blake Kaplan
c10e9bb5ef Bug 512897 - Innerize the scope chain to protect from native callers passing an outer object. r=brendan 2009-08-27 11:43:54 -07:00
Blake Kaplan
6060f8e476 No bug - Fix warning when tracing is not on. r=jorendorff
--HG--
extra : rebase_source : f1733190a19f19d37665eb8d3db2427fed69b5ee
2009-08-25 14:18:12 -07:00
Bruce Hoult
f34bc60b2a Bug 430930 - Extend Date.parse to cover ISO 8601 formats, r=graydon. 2009-08-26 18:13:48 -07:00
David Anderson
32cdaad163 Merged 64-bit arithmetic ops from tamarin-redux (bug 512836, r=gal). 2009-08-26 17:14:18 -07:00
David Anderson
83fc2d7e10 Merge 64-bit comparison opcodes from tamarin-redux (bug 512826, r=gal). 2009-08-26 16:30:23 -07:00
Jason Orendorff
dafc9b5d2a Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
Robert Sayre
2b65c06912 Merge mozilla-central to tracemonkey. 2009-08-26 13:09:40 -07:00
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