Commit Graph

8042 Commits

Author SHA1 Message Date
gal@uci.edu
d8d110c024 Bug 474500 - TM: Need an API to flush and (optionally?) deallocate the code cache per thread. r=dvander 2009-12-18 21:34:20 -05:00
Nicholas Nethercote
0a83128602 Bug 516347 - nanojit: avoid premature regalloc state updates in the i386 backend. r=edwsmith,dvander.
--HG--
extra : convert_revision : e7b2c0d805eb61ca0ead9402f8a01f6bb85de29f
2009-12-18 12:39:16 +11:00
Nicholas Nethercote
387808d7b9 Bug 527178 - NJ: all our efforts at handling valid displacements are defeated (take 2a). r=graydon,gal.
--HG--
extra : convert_revision : c2be4b89e09d6dd1b8c83b14240d00d57c084419
2009-12-18 08:24:39 +11:00
Blake Kaplan
cc9abea83c Bug 535685 - Make xpcwrappedjs deal with dipper parameter properly. r=peterv
--HG--
extra : rebase_source : 4148e2fb15c57fedbb9d0eaf96f88d495a4d9b14
2009-12-17 16:31:07 -08:00
Nicholas Nethercote
fd4721f7f0 Bug 532566 - nanojit: tweak const printing with TMFLAGS. r=edwsmith.
--HG--
extra : convert_revision : 2b1dc08843b7d6a92ee5b010f5bec267c1f54305
2009-12-17 13:50:07 +11:00
Julian Seward
f0683b62c9 Make TM fragment entry- and exit-profiling work on X64 (bug 517857, r=dvander).
--HG--
extra : convert_revision : a7dc90cf8f8c7d121cc9d786742e690897d5ddc8
2009-12-15 18:55:27 -08:00
Nicholas Nethercote
0cda95948c Bug 534575 - nanojit: fix bogosity in asm_cmp(). r=edwsmith.
--HG--
extra : convert_revision : f5573b092a7f11abed716341629dff0b36bb09e6
2009-12-16 10:16:47 +11:00
Nicholas Nethercote
d0b6417b4c Backed out changeset 2bd8a736808d, caused ARM bustage.
--HG--
extra : convert_revision : 7fd3a1258dbf608d4c62862029d1a30317f7b9e5
2009-12-15 13:16:54 +11:00
Nicholas Nethercote
84f5fd65b2 Bug 527178 - NJ: all our efforts at handling valid displacements are defeated (take 2). r=graydon,gal.
--HG--
extra : convert_revision : 2bd8a736808d4a2582233d05832f11899ccc2fd7
2009-12-15 12:54:26 +11:00
Steven Johnson
8e5876ea87 regalloc_binary needed to include new ld32f/ldc32f opcodes in its assertions, fix to 1106:cd0b46495c95,bug=532240 (r=me)
--HG--
extra : convert_revision : c85faf8ab65a97a4fd19df33b90ff43a11133df9
2009-12-14 13:48:39 -08:00
Steven Johnson
b14fa9aead nanojit/Nativei386.cpp: asm_load64 for i386 wasn't properly copying the loaded value into the stack frames in all cases for non-sse2 path. (r=edwsmith, bug=534613)
--HG--
extra : convert_revision : 107017b4c232e89e4ecb11ef69c11747644a6dc3
2009-12-14 10:58:24 -08:00
Blake Kaplan
c432d20805 Bug 529269 - Don't do anything special for toString, just forward it along. r=jst 2009-12-11 10:33:32 -08:00
Blake Kaplan
07c84d040f Bug 533596 - Implement XPCNativeWrapper.unwrap. r=peterv sr=jst 2009-12-14 13:58:50 -08:00
Blake Kaplan
726388b606 Bug 535746 - Make sure that the parent is the right object. r=jst sr=sicking 2009-12-22 16:54:06 -05:00
Jeff Walden
e9d69cbf2e Bug 529404 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5, except in strict mode. r=brendan 2009-12-08 17:00:42 -08:00
Jason Orendorff
dfd362fddd Bug 535703 - JS_SealObject crash with deep=true. r=mrbkap.
--HG--
extra : rebase_source : 7760d40bb23ab439c030943ab781ab5b10259da8
2009-12-17 21:09:50 -06:00
Andreas Gal
8015385480 Backed out changeset 94ddd33fc137 to see whether that makes the tree green. 2009-12-17 17:43:40 -08:00
Andreas Gal
4c8dc43072 Efficient Implementation of JSDOUBLE_IS_INT using SSE2 (original patch by Moh Haghighat/Intel, bug 530896, r=dvander) 2009-12-17 14:03:45 -08:00
Jason Orendorff
8b449748c7 Fix "bug NNNNNN" in a comment to point to the actual bugzilla bug. r=nobody. 2009-12-17 14:24:39 -06:00
Jason Orendorff
102ed4de5a Do not secretly write to /tmp in DEBUG builds unless your name is brendan. (Leave the basic stats code ifdef'd on for everyone though, to help avoid bitrot.) No bug, r=Waldo. 2009-12-17 11:37:25 -06:00
Jason Orendorff
51bdff8212 Fix memory leak in a jsapi-test. No bug, r=Waldo.
--HG--
extra : rebase_source : c9cdf4fc2391f812a3decb645900ac1ec4ffa118
2009-12-17 11:30:14 -06:00
Robert Sayre
b18f03ada4 Merge m-c to tm. 2009-12-17 04:26:12 -05:00
David Anderson
66687af7ab Fixed lazy import regression where down recursion could build wrong exit typemaps (bug 534745, r=gal). 2009-12-16 22:06:07 -08:00
David Anderson
2b9de94325 Added test case for bug 535474. 2009-12-16 19:22:04 -08:00
David Anderson
2098f14d9f Fixed regression where lazy imports could happen in JSOP_ARGUMENTS conditional branch (bug 535474, r=gal). 2009-12-16 18:58:47 -08:00
Brendan Eich
e3b2653ade Bug 533705 - Lock proto-scope around canProvideEmptyScope/getEmptyScope; check for slot mismatch in js_AddProperty; don't optimize for slot mismatch in JSOP_SETPROP. r=jorendorff.
--HG--
extra : rebase_source : 4d49e9ef150286db93f2e5e1c77b217832263f83
2009-12-16 18:11:19 -06:00
Robert Sayre
38011bea9f Merge mozilla-central rev a732c6d3c078 to tracemonkey. This is just prior to the e10s plugins landing. 2009-12-16 10:17:45 -05:00
Robert Sayre
24fcff5c87 Merge. 2009-12-16 03:19:21 -05:00
Robert Sayre
91d87dc586 Backed out changeset 8a44551a28c1 2009-12-16 03:18:59 -05:00
Robert Sayre
9321e9dcc2 Merge. 2009-12-16 03:18:31 -05:00
Robert Sayre
90dbf27bde Backed out changeset 787d5fbc1f80 2009-12-16 03:18:10 -05:00
Robert Sayre
c70a849908 Merge. 2009-12-15 22:35:52 -05:00
Robert Sayre
e7f09943fc Merge. 2009-12-15 22:35:15 -05:00
Robert Sayre
fa15ebcadc Backed out changeset eae07941000e. Andreas Gal — Efficient Implementation of JSDOUBLE_IS_INT using SSE2 (original patch by Moh Haghighat/Intel, bug 530896, r=dvander). 2009-12-15 22:34:35 -05:00
Robert Sayre
f16642bdd7 Merge. 2009-12-15 22:30:41 -05:00
Robert Sayre
aedf90bff2 Backed out Andreas Gal — Try to fix autoconf madness for bug 530896. changeset 289c9c3c9195 2009-12-15 22:30:25 -05:00
David Mandelin
7156489d4a Bug 514808 - Regex whitespace character class deficiencies. Add a test. 2009-12-15 21:40:39 -05:00
Saint Wesonga
d58ef2604a Bug 514808 - Regex whitespace character class deficiencies. r=dmandelin 2009-12-15 21:40:33 -05:00
Gregor Wagner
689d4154a4 inline several string functions r=gal, bug #507531 2009-12-14 22:12:42 -08:00
Gregor Wagner
881436060a fix JS_GCMETER r=gal bug #504581 2009-12-14 19:01:37 -08:00
Gregor Wagner
5d706bfc9a fix JS_SCOPE_DEPTH_METER and enable in DEBUG mode
bug #528674, r=gal
2009-12-14 18:36:58 -08:00
Jacob Bramley
ce3c3571e2 Cleaning out the rubbish I left when I backed out a previous patch. 2009-12-14 11:29:31 +00:00
Jacob Bramley
37965c89df Update nanojit-import-rev stamp. 2009-12-14 11:18:43 +00:00
Jacob Bramley
f0ca3397b1 Bug 491682: Remove the LDMIA and STMIA macros from NativeARM.h, as they are not used. (r=vlad)
--HG--
extra : convert_revision : a6a96927117a1e462a04784e1b621a3d85f61099
2009-12-14 11:13:24 +00:00
Steven Johnson
fb8fe39b22 implement NJ_EXPANDED_LOADSTORE_SUPPORTED for x64 backend (r=edwsmith,r=nnethercote,bug=532240)
--HG--
extra : convert_revision : cd0b46495c9520568c6507766dfdcb5fbf24d482
2009-12-11 16:22:23 -08:00
Steven Johnson
05b93868ea XORPS was wrong on x64, didn't allow for regs xmm8..xmm15 (r=edwsmith,r=nnethercote,bug=533854)
--HG--
extra : convert_revision : 49246c195323d333eb2d106539c48c03c4a4d5f6
2009-12-11 14:12:55 -08:00
Jacob Bramley
708810413f Backing out my previous commit; this should have gone into nanojit-central. 2009-12-14 10:34:45 +00:00
Jacob Bramley
609a5b5c84 Bug 491682: Remove the LDMIA and STMIA macros from NativeARM.h, as they are not used. (r=vlad) 2009-12-14 09:39:42 +00:00
Igor Bukanov
da4f40e4dc bug 528486 - eliminating GCF_CHILDREN. r=brendan 2009-12-14 10:55:17 +03:00
Andrew Paprocki
4d092aea98 bug 486779 - silencing SunPro CC compiler complains about js_MapKeywords. r=brendan 2009-12-14 10:08:55 +03:00
Bob Clary
9c736ec009 bug 524731 - skip js1_5/Regress/regress-303213.js due to random timeouts. 2009-12-13 16:09:12 -08:00
Bob Clary
9ef15a98d6 bug 496127 - mark js1_8_1/trace/regress-452498-01.js as random. 2009-12-13 16:09:11 -08:00
Igor Bukanov
dd52a42965 bug 526449 - marking the slow array as HAS_PRIVATE for simpler handling of JSSLOT_ARRAY_LENGTH. r=brendan 2009-12-13 22:06:04 +03:00
Igor Bukanov
60821e2d43 restoring the test for bug 354998 as the bug 534493 is fixed now 2009-12-13 21:54:46 +03:00
Igor Bukanov
b684411ba9 bug 534493 - avoiding too much debug checks in JSScope::removeProperty. r=brendan 2009-12-13 21:46:37 +03:00
Brendan Eich
be1555ec1c Remove sporadic else after return (534364 followup). 2009-12-13 09:04:46 -08:00
Andreas Gal
79103c3e59 Eliminate call snooping in the FuncFilter (534364, r=dvander). 2009-12-11 19:48:14 -08:00
David Anderson
e72392a667 Lazily import stack and global slots (bug 515749, original patch and r=gal). 2009-12-11 19:10:36 -08:00
David Anderson
ab7755c33a Merge backout. 2009-12-11 17:40:26 -08:00
David Anderson
92b5f85351 Backed out changeset 783ce7ce6ed7 (possible orange). 2009-12-11 17:40:06 -08:00
Andreas Gal
142909c3dd Avoid slow linear growth of Queues used in the JIT (534168, r=dvander). 2009-12-11 16:12:48 -08:00
David Anderson
7ef11f37b8 Fixed rare case of not connecting trees properly when missing globals are involved (bug 531513, r=gal). 2009-12-11 12:26:08 -08:00
David Anderson
6b623c4292 Fixed recursion not tracing when hitting JSOP_STOP instead of JSOP_RETURN (bug 530900, r=gal). 2009-12-11 12:17:58 -08:00
David Anderson
d9a16641ee Fixed CASE_EXITs being limited to about 4 entries (bug 533521, r=gal). 2009-12-11 12:10:36 -08:00
Blake Kaplan
91fd0fb306 Bug 532124 - Set aside the frame chain when wrapping for chrome so we don't get confused by any content code on the stack. r=jst 2009-12-11 10:33:32 -08:00
Nicholas Nethercote
4bd18613b7 Update nanojit-import-rev stamp. 2009-12-09 17:24:08 -08:00
Nicholas Nethercote
c60a9d49a0 Bustage fix for 504507 on Linux.
--HG--
extra : convert_revision : 18cf6386858be93609ffcc0912e1c169b81e6531
2009-12-09 17:21:46 -08:00
Nicholas Nethercote
efbef88690 Bug 504507 - nanojit: kill LIR64 (TM-only part). r=gal. 2009-12-09 15:57:12 -08:00
Nicholas Nethercote
41cabae636 Update nanojit-import-rev stamp. 2009-12-09 15:51:43 -08:00
Nicholas Nethercote
2c6fd78104 Bug 504507 - nanojit: kill LIR64 (NJ-only part). r=gal.
--HG--
extra : convert_revision : 2271d9cb2d87970d20befb51dbc7092c830a4e10
2009-12-09 15:49:15 -08:00
Steven Johnson
7de7cc4825 nanojit/LIR.cpp: add new load/store ops to liveness filter (r=reitmai,r=nnethercote)
nanojit/Nativei386.h: remove bogus assertions from some i386 instructions (r=reitmai,r=nnethercote)

--HG--
extra : convert_revision : 279dc4a9597527626dc0e2b2deceed148f9b61e4
2009-12-08 14:19:50 -08:00
Nicholas Nethercote
51c20028df Bug 533233 - nanojit: get rid of LC_NoCodeAddrs. r=edwsmith.
--HG--
extra : convert_revision : 5edcef2131dfd0f521b306aee9a40a51b487efb9
2009-12-08 07:57:17 -08:00
Steven Johnson
814fcf00f1 nanojit/LIR.cpp: LoadFilter should handle the new load instructions (r=rreitmai, r=nnethercote, bug=533015)
--HG--
extra : convert_revision : 6069a35f1fcfcc3bcaf15ddaece24b80d8955db4
2009-12-07 11:19:24 -08:00
Bob Clary
f8930f33b8 bug 533027 - skip js1_5/Regress/regress-3649-n.js due to random oom related failures. 2009-12-09 14:41:35 -08:00
Bob Clary
1c605bec56 bug 531325 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-469927.js. 2009-12-09 14:41:35 -08:00
Bob Clary
91997361f1 bug 528717 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-470739.js. 2009-12-09 14:41:34 -08:00
Bob Clary
f9b73e0ae4 bug 496127 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-452498-01.js. 2009-12-09 14:41:34 -08:00
Boris Zbarsky
6af77f03b5 Bug 533148. Go back to the MAX_LENGTH we used to have. r=brendan 2009-12-08 21:56:54 -08:00
Brendan Eich
c8424c2c67 Fix JSOP_INITMETHOD to use correct JSScope method (addProperty, not addDataProperty; 533254, r=jorendorff). 2009-12-08 16:20:00 -08:00
David Anderson
d8eaacf13f Fixed loops ending in JSOP_GOTO not compiling properly (bug 533042, r=gal). 2009-12-08 11:15:34 -08:00
Nicholas Nethercote
771c4639e9 Bug 533233 - nanojit: get rid of LC_NoCodeAddrs (TM-specific part). r=edwsmith. 2009-12-08 08:04:57 -08:00
Jacob Bramley
e32598eceb Bug 521161: Re-enable LIR_mul speculation for ARM. (r=gal) 2009-12-08 13:15:50 +00:00
Nicholas Nethercote
03809b83a9 Bug 528857 - nanojit: mismanagement of name lifetimes with TMFLAGS=assembly? r=graydon. 2009-12-07 21:06:41 -08:00
Nicholas Nethercote
15703de7bb Update nanojit-import-rev stamp. 2009-12-06 15:36:37 -08:00
Andreas Gal
97dc7a9174 Try to fix autoconf madness for bug 530896. 2009-12-05 16:53:16 -08:00
Andreas Gal
3ded1d4c80 Efficient Implementation of JSDOUBLE_IS_INT using SSE2 (original patch by Moh Haghighat/Intel, bug 530896, r=dvander). 2009-12-05 12:46:46 -08:00
David Anderson
51a679002f Fix scope chain traversal with let blocks (bug 523793, r=dmandelin,mrbkap). 2009-12-04 23:05:47 -08:00
David Anderson
8fb72a7a12 Get rid of TreeInfo and inline its members into TreeFragment (bug 525371, r=gal,lw) 2009-12-04 19:59:55 -08:00
Jason Orendorff
ad0e287615 Bug 532363 - TM: "Assertion failure: IsDenseArrayId(cx, obj, (jsid) prop), at ../jsarray.cpp". r=bzbarsky. 2009-12-04 15:38:25 -06:00
Nicholas Nethercote
3187530416 Bug 528857 - nanojit: mismanagement of name lifetimes with TMFLAGS=assembly? (NJ-only part). r=graydon.
--HG--
extra : convert_revision : cb855a65f046a59c28277766aa5d320df33159c2
2009-12-05 06:58:42 +11:00
Igor Bukanov
dfbcf19f40 bug 531682 - patching js1_4/Eval/jstests.list to include bug's test 2009-12-04 21:57:51 +03:00
Igor Bukanov
ac9a848ac5 bug 531037 - patching js1_4/Eval/jstests.list to include bug's test 2009-12-04 21:54:43 +03:00
Andreas Gal
fd6f74bc98 Add regress-532491.js to jstests.list (follow-up for bug 532491). 2009-12-04 10:46:09 -08:00
Boris Zbarsky
49f81f2fb2 Bug 532847. Can't assert that sprop has a shortid in callProp/setCallProp until we know the prop is special. r=brendan 2009-12-04 01:08:22 -05:00
Boris Zbarsky
b346e737a5 Bug 530240 followup. Can't assume vp[1] is an object here, in fact. Fixes orange. 2009-12-03 23:35:36 -05:00
Boris Zbarsky
b811feadbc Bug 532477 followup to fix bustage. 2009-12-03 23:10:08 -05:00
Boris Zbarsky
834d8db5e4 Bug 532477. Replace js_SetCallArg/js_SetCallVar with hand-crafted LIR in the common easy case of a Call object whose frame is no longer active at record time. r=dmandelin,brendan 2009-12-03 23:03:47 -05:00
Boris Zbarsky
fb6fe53972 Bug 530255. Replace GetFromClosure/GetClosureVar/GetClosureArg with hand-crafted LIR in the common easycase of a Call object whose frame is no longer active at record time, and make GetFromClosure use a direct read from the object's dslots if we discover that the frame became inactive between record and trace. r=dmandelin,brendan 2009-12-03 23:03:46 -05:00
Brendan Eich
f9a0ec438d Bleah. 2009-12-03 19:47:53 -08:00
Brendan Eich
7bfac5769d Add JSOP_ENUMELEM to gigundo-assert in LeaveTree (532787, r=me). 2009-12-03 19:47:19 -08:00
Boris Zbarsky
5319ea360b Bug 532823 followup. Fix where we add the 3+fp->argc. r=brendan 2009-12-03 22:43:13 -05:00
David Mandelin
a47f877d42 Bug 532823: fix slot computation for JSOP_NAME accessing outer vars defined in trace entry frame, r=bz 2009-12-03 18:48:45 -08:00
Jason Orendorff
b46379b4f6 Bug 530879 - Generators get incorrect arguments.length. Discovered by Donny Viszneki. r=brendan. 2009-12-03 16:12:09 -06:00
David Mandelin
90477b6487 Bug 530489: don't (incorrectly) trace custom equality ops, r=jorendorff 2009-12-03 13:02:36 -08:00
Andreas Gal
ab4554e731 Only consider an eval cache entry if the static level matches (532491, r=igor). 2009-12-03 12:12:39 -08:00
Boris Zbarsky
8365d1cfcb Bug 530240. Faster NormalizeThis for String objects. r=brendan 2009-12-03 14:39:55 -05:00
Boris Zbarsky
2e2e3eeb0c Bug 521423. Make JSString 4 words instead of 2; make substring() and company never have to copy. r=brendan 2009-12-03 14:39:42 -05:00
Jim Blandy
322d958de0 Bug 532041: Add missing call to reportCompare. r=orange jsreftests 2009-12-03 01:25:17 -08:00
Brendan Eich
ff0880a5f4 Test for last checkin (532043). 2009-12-02 21:51:18 -08:00
Brendan Eich
05f85209b1 Trace JSOP_ENUMELEM, for the group-assignment special case of destructuring assignment (532043, r=gal). 2009-12-02 21:50:04 -08:00
Brendan Eich
9ccccbbe6b Extra assertions, control flow cleanup in putProperty, and a crucial scope hashtable fix to removeProperty (stored was not reloaded from *spp; got rid of this ancient over-optimization by hand-coded 'register allocation'; 532096, r=mrbkap). 2009-12-02 19:13:31 -08:00
Jim Blandy
ff9fa29631 Bug 532254: Give TCF_FUN_PARAM_EVAL a distinct value. r=mrbkap
Regression test included.
2009-12-02 15:17:02 -08:00
Jim Blandy
dbab286e15 Bug 531972: Add parent dir jstests.list entries; call reportCompare as needed; fix anonymous function objects in js/src/tests/ecma_5/strict/13.1.js. r=bclary, r=mrbkap
While prior patches created new test directories
js/src/tests/ecma_5/strict and js/src/tests/js1_8_1/strict, they
failed to add jstests.list entries to their parent directories. This
adds them.

The strict tests generally were written to use assertEq, which is
simple and gives nice source positions in failure messages under the
JS shell. However, the jsreftests require each test file to call
reportCompare at least once. This adds a dummy call to reportCompare
to each file. It would be nice to make everything work in both
environments, perhaps using arguments.caller.

The test script js/src/tests/ecma_5/strict/13.1.js tried parsing
statements of the form 'function(x,x){}'. However, anonymous function
expressions are not allowed in a statement context when
JSOPTION_ANONFUNFIX is set. This is set under the browser, but clear
in the shell; bug 532233 suggests that the two be reconciled.
2009-12-02 15:13:14 -08:00
Jim Blandy
05b34d7c12 Bug 532041: Test that duplicate argument checks use JSFunction::u.i.names correctly. r=sayrer 2009-12-02 09:54:51 -08:00
Igor Bukanov
969bdae222 bug 531682 - fixing eval(source, scope) to match 191, 192 semantics. r=mrbkap 2009-12-02 19:22:34 +03:00
Nicholas Nethercote
a4408cec60 Bug 531347 - nanojit: rejig asm_call(). r=edwsmith.
--HG--
extra : convert_revision : 1c68f440a757a8cb002c8da9118d034a9c7d4fab
2009-12-01 18:50:07 -08:00
Steven Johnson
4732e1b682 nanojit/Assembler.cpp: when LIR_stqi calls asm_store32 twice, pass LIR_sti for the opcode, rather than op. (r=me)
--HG--
extra : convert_revision : 0da91726eca5ccbfed98d340e428d3303d5708f0
2009-12-01 17:40:25 -08:00
Steven Johnson
45a6270f4c Add new opcodes to allow load/store of 8-bit int, 16-bit int, and 32-bit floats. Initially implemented only for i386, other backend implementations to follow. See https://bugzilla.mozilla.org/show_bug.cgi?id=527083 for more detail. (r=rreitmai, nnethercote)
--HG--
extra : convert_revision : 7c5395e67078266797de2e2de6555974ee61acf7
2009-12-01 16:50:03 -08:00
David Anderson
4ab577e3c3 Merge. 2009-12-01 16:32:58 -08:00
David Anderson
b7f7a14f13 Backed out changeset 0082849624a5, potential orange. 2009-12-01 16:32:45 -08:00
Brendan Eich
f19c7e9d1b Fix js_FindDuplicateFormal to crack the fun->u.i.names union correctly, and spruce it up with C++ (532041, r=jimb). 2009-12-01 14:48:05 -08:00
David Anderson
c80f627585 Remove TreeInfo (bug 525371, r=lw). 2009-12-01 13:32:02 -08:00
Robert Sayre
3192563f6f Reland bug 473228 and bug 530507 2009-12-01 16:02:09 -05:00
Robert Sayre
03f335335d Relanding Tolerate race condition or broken resolve hook (530507, r=jorendorff). Backed out changeset fb34a7163a43 2009-12-01 15:54:01 -05:00
Robert Sayre
8dac81dafc Merge 2009-12-01 15:51:22 -05:00
Robert Sayre
4ea539c658 Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad 2009-12-01 15:49:15 -05:00
Rick Reitmaier
5be99c7ad2 Bug 500466 - avmshell crashes on P3 cpu machine with JIT enabled (r+nnethercote,edwsmith)
Copy x86 CPU detection code from jstracer into Nativei386;
allowing hosts to share the common code.

One potential issue with this patch is that the detection code is
executed each time an Assembler object is created.

If it becomes an issue, it might be worthwhile to add a tri-state
to config in order to capture the value post-test.

--HG--
extra : convert_revision : ab0a893ffe833f1562216186567d4e7798be45aa
2009-12-01 11:36:07 -08:00
Robert Sayre
8be5b171b9 Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-12-01 09:56:16 -05:00
Robert Sayre
5d08f03267 Backed out changeset c696751593d6. Tolerate race condition or broken resolve hook (530507, r=jorendorff). 2009-12-01 09:54:38 -05:00
Nicholas Nethercote
ed2756a1e0 Backed out changeset 8d7d6dcce7eb (due to ARM and WinNT bustage).
--HG--
extra : convert_revision : 2d17a9b2e8daa8f3e89cd756a7eb23a41579f7e1
2009-12-01 15:16:57 +11:00
Nicholas Nethercote
e3584b76b3 Bug 527754 - CseFilter not able to handle downstream modification of instructions. r=rreitmai,gal.
--HG--
extra : convert_revision : 8d7d6dcce7ebda66b1aab48f40b46c1e7df2d91d
2009-12-01 14:56:44 +11:00
Blake Kaplan
f9ed6eeaa4 Bug 468506 - JS_GetFrameThis needs to call js_ComputeThis in more cases. r=brendan
--HG--
extra : rebase_source : 2a107feb26544159f04b60c27508338cef8fdf7f
2009-11-30 16:05:44 -05:00
David Anderson
30300db88d Recursion needs to fix up argsobj when it pops frames on trace (bug 531298, r=dmandelin). 2009-12-01 10:37:30 -08:00
Robert Sayre
5d34830070 Backout bug 473228 and its follow-up, temporarily, to attempt a clean merge of other stuff. 2009-12-01 09:57:20 -05:00
Robert Sayre
708784babe Merge backout. 2009-12-01 09:54:57 -05:00
Igor Bukanov
a3f5d5c07b bug 531037 - eval fixes. r=brendan 2009-12-01 00:01:11 +03:00
Robert Sayre
0340e89b31 Add a call to reportCompare so this test passes. 2009-11-30 14:15:50 -05:00
Luke Wagner
3dcb8555c2 Bug 530366 - don't use std::sort in jsregexp (r=dmandelin) 2009-11-30 09:03:43 -08:00
Robert Sayre
57d0498f8e Add a missing credit to trigger a re-compile. 2009-11-30 11:15:10 -05:00
Igor Bukanov
13fbc6f2c6 Backed out changeset b774250f04d3 - the landed patch for bug 424558 has regressed. 2009-11-30 15:33:04 +03:00
Nicholas Nethercote
b7cf8c804f Bug 531324 - nanojit: improve int32 constant generation in i386 backend. r=graydon.
--HG--
extra : convert_revision : 3b04b5fdd47f0469f040fb147d60ed4cd30d8c8e
2009-11-30 17:26:15 +11:00
Leon Sha
e913eb4c6a Bug 531218 - NJ: Remove unused _getfp for solaris from nanojit. r=stejohns.
--HG--
extra : convert_revision : 2d22cabbe865243948ddcad4bc73dba4fc0c5aef
2009-11-30 09:24:10 +08:00
Igor Bukanov
a09a76650d bug 424558, r=brendan 2009-11-29 20:33:57 +03:00
Jim Blandy
35c480afbf Bug 530018 - Add comment to explain why typedef is neceessary. (no r) 2009-11-27 17:05:21 -08:00
Leon Sha
1e26add917 Bug 530018 - js_DecompileToString Undefined symbol. r=jim 2009-11-27 09:22:24 +08:00
Nicholas Nethercote
2ea546e6fd Bug 531224 - TM: associate JS source locations with fragments properly. r=graydon. 2009-11-26 13:52:22 -08:00
Jim Blandy
35e434274a Bug 499524: Always check for duplicates when destructuring params are present. r=igor
Detect duplicate names in parameter lists that include destructuring
parameters, regardless of whether the duplication becomes before or
after the destructuring. Let strict mode complaints take care of
themselves after the body has been parsed.

In BindDestructuringArg, there should never be an entry in tc->decls
for the given name if the call to js_LookupLocal didn't detect a
duplicate argument, so we can simply assert that tc->decl.lookup
returns NULL, instead of checking it.

In HashLocalName, we can tighten the assertion: both the new and
existing entries must be JSLOCAL_ARG, since we detect all non-ARG
(i.e., destructuring) duplicates early.
2009-11-26 10:23:52 -08:00
Nicholas Nethercote
4437c0eac2 Bug 531165 - TM: move SoftFloatFilter upstream of CseFilter. r=gal. 2009-11-25 19:10:34 -08:00
Leon Sha<leon.sha@sun.com>
e93e6c4af5 Bug 530979 - NJ: Build errors for lirasm.cpp on solaris with sun studio. r=graydon
--HG--
extra : convert_revision : 69ef86e45856c850accc542111053c4387a8b804
2009-11-26 09:21:05 +08:00
Brendan Eich
7e754c5e8c See bug 533138. 2009-12-05 23:35:06 -08:00
Igor Bukanov
13dbd2ef1b bug 528116 - trace-test test case 2009-11-26 01:39:01 +03:00
Brendan Eich
5120898335 Tolerate race condition or broken resolve hook (530507, r=jorendorff). 2009-11-25 13:49:15 -08:00
Igor Bukanov
4f0dd855b8 bug 528116 - scope chain lookup fix when recording an eval script. r=dmandelin 2009-11-25 21:16:06 +03:00
David Mandelin
02f2a01692 Bug 530969: fix testing of XULRunner properties in jstests.py manifest parsing, r=njn 2009-11-24 18:57:09 -08:00
Robert Sayre
57982d9fff Merge mozilla-central to tracemonkey. 2009-11-25 10:48:43 -05:00
Leon Sha<leon.sha@sun.com>
26ceb9e49b Update nanojit-import-rev stamp. 2009-11-25 15:32:07 +08:00
Leon Sha<leon.sha@sun.com>
8b045f25a8 Bug 529849 - Assertion failed: _allocator.free & rmask(r) (../../../js/src/nanojit/Assembler.cpp:433). r=gal
--HG--
extra : convert_revision : 23ed78f42df2b7b1a590fc7e986e6d446ef4d3d4
2009-11-25 15:24:23 +08:00
Nicholas Nethercote
dfc1dd039d Bug 515313 - nanojit: finish killing reservations. r=edwsmith.
--HG--
extra : convert_revision : 1b6cb808f3048c25857613fa6e77e865fee51d8e
2009-11-24 23:00:23 -08:00
Nicholas Nethercote
a603d864d1 Bug 512181 - nanojit: rework TMFLAGS=assembly,regalloc,activation. r=edwsmith.
--HG--
extra : convert_revision : 43e64a1135f17761aad95ee7ce2d1692aa937579
2009-11-24 22:38:51 -08:00
Nicholas Nethercote
90a5b3e9bc Bug 505662 - nanojit: kill operandCount. r=graydon,edwsmith.
--HG--
extra : convert_revision : ab7d225a3c8b1562eb74336099abc564f770e7f3
2009-11-24 22:21:27 -08:00
Nicholas Nethercote
e97530faf2 Bug 512181 - nanojit: rework TMFLAGS=assembly,regalloc,activation (the TM-specific part only, which is independent of the NJ-specific part). r=graydon. 2009-11-24 22:42:16 -08:00
Andreas Gal
2579df36c1 -r 2009-11-24 19:35:17 -08:00
Andreas Gal
58b9ca067f Avoid frequent reallocs in Queue::ensure (530936, r=luke). 2009-11-24 17:04:24 -08:00
Nicholas Nethercote
7378bf1f05 Update nanojit-import-rev stamp. 2009-11-25 11:11:02 +11:00
Jacob Bramley
9e77d13c80 Add Nanojit configuration flags (such as --sse) to lirasm. (bug 526974, r=nnethercote)
--HG--
extra : convert_revision : baa27feb8fb4fdaf1ecb0839c4bd468e83da2aeb
2009-11-24 11:05:20 +00:00
Nicholas Nethercote
ac806a733d Bug 529900 - 64-bit - lots of assertions, crashes... r=edwsmith.
--HG--
extra : convert_revision : 3d99d6e37ba85c13d449352b8ce8283d4e0cbf0d
2009-11-24 15:30:04 +11:00
Nicholas Nethercote
b33368aede Bug 525379 - nanojit: make the _nIns/_nExitIns swap hack more consistent. r=edwsmith.
--HG--
extra : convert_revision : bad9394918255f4afcbff259153dc9d8c9afad25
2009-11-24 14:56:33 +11:00
Nicholas Nethercote
f0322be6c3 Bug 530713 - nanojit: fix LirReader::read() badness. r=edwsmith.
--HG--
extra : convert_revision : 39a8b47fd38af397e7fe0196637dc2e66cadb56b
2009-11-24 14:23:20 +11:00
Brendan Eich
85eb51c433 Undo hackaround for bug 529837. 2009-11-24 15:42:03 -08:00
Brendan Eich
4e4672de10 Undo hackaround for bug 529837. 2009-11-24 15:17:16 -08:00
Daniel Brooks
38bd1a2ec5 revert an unintentional change from revision 0ccbfef948d5 2009-11-24 05:58:50 -06:00
Ted Mielczarek
d05bbfd9e2 bug 530093 - allow building with VC10. configure+build system changes. r=bsmedberg 2009-11-23 10:20:21 -05:00
Ted Mielczarek
f8fa72d34f bug 531135 - rewrite build-list.pl in Python to fix race conditions with locking. r=bsmedberg 2009-12-14 06:55:40 -05:00
Nicholas Nethercote
348df1cdbf Bug 529725 - nanojit: improve asm_prep_fcall() in i386 and Sparc backends. r=rreitmai.
--HG--
extra : convert_revision : 30767eb970427b1044fae5db99c2427f57e576fe
2009-11-23 11:04:59 +11:00
Nicholas Nethercote
8ec279f9f4 Bug 529709 - lirasm: 'not' is a unary operator. r=graydon.
--HG--
extra : convert_revision : f26d4cf0e8091d41ecb5b48b849d63dce56ec259
2009-11-23 11:01:02 +11:00
Brendan Eich
c731045c51 Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-11-20 16:14:42 -08:00
Brendan Eich
8655c42887 Test branded *and* hasMethodBarrier consistently, and with a combined helper (529837, r=jorendorff). 2009-11-20 14:05:16 -08:00
Julian Seward
937420dbec Bug 520905 - collapse callee saved register spills/reloads into LDMIA/STMIA instructions, r=vlad.
--HG--
extra : convert_revision : 73952814a07755be92fba1060efc97d5010b38c9
2009-11-20 10:11:33 -08:00
Brendan Eich
ce41e7e1bf Undo hackaround for bug 529837. 2009-11-24 15:15:37 -08:00
Luke Wagner
f32b364347 Bug 530490 - keep starting position live across quantifier loop (r=dmandelin) 2009-11-24 11:22:20 -08:00
Bob Clary
e0700138da Bug 530774 - js1_5/GC/regress-319980-01.js should not be enabled. 2009-11-24 13:01:42 -08:00
Bob Clary
96a7107e51 Bug 530774 - temporarily disable js1_5/GC/regress-331719.js due to time out regression. 2009-11-24 07:14:13 -08:00
Bob Clary
cc40e9b31d bug 530510 - js1_8/extensions/regress-446169-01.js should guard for undefined gczeal. 2009-11-24 07:14:12 -08:00
Andreas Gal
363350c1f9 I will get it right one of these days (hotfix for 484627). 2009-11-23 22:11:21 -08:00
Andreas Gal
e6b8d3b25c Hotfix for 484627 for 64-bit systems. 2009-11-23 21:49:53 -08:00
Andreas Gal
87fd2f16f4 Inline js_CallTree (484627, r=dvander). 2009-11-23 19:02:49 -08:00
Andreas Gal
ab1febc2c0 Stop passing a useless NULL argument to fragment->code() (530700, r=dmandelin). 2009-11-23 17:16:30 -08:00
timeless@mozdev.org
97876953bd Bug 506699 js_printf doesn't always use va_end after va_start. rs=brendan 2009-11-23 16:20:55 -08:00
Andreas Gal
433f67d130 Merge. 2009-11-23 16:09:35 -08:00
Andreas Gal
574e4cf9f2 Properly reject new arrays with negative length (530617, r=jwalden). 2009-11-23 16:09:02 -08:00
Blake Kaplan
b93b80eb94 Bug 530537 - Don't over-parenthesize JSOP_CONCATN. r=brendan over IRC 2009-11-23 18:08:05 -05:00
Jason Orendorff
d3dfa97516 Bug 509354 - Crash [@ DecompileDestructuringLHS] with destructuring and "arguments". r=mrbkap. 2009-11-20 11:33:30 -06:00
Bob Clary
399d8a1288 Bug 528654 - Intermittent timeout waiting for onload to fire in js1_8_1/trace/trace-test.js 2009-11-20 00:12:17 -08:00
Bob Clary
a1dc294998 Bug 528464 - Intermittent failures - js1_5/extensions/regress-342960.js 2009-11-20 00:12:09 -08:00
Bob Clary
f523e140d5 Bug 528284 - js1_5/extensions/regress-371636.js - random failure for opt/debug on mozilla-central 2009-11-20 00:11:58 -08:00
Bob Clary
8f51b0aba7 Bug 522760 - js/src/tests/ecma_5 tests should not run as JavaScript 1.5, r=brendan 2009-11-20 00:11:43 -08:00
Bob Clary
ee227e07ef Bug 529754 - set javascript.options.jit.chrome true in browser tests. 2009-11-20 00:11:28 -08:00
Ginn Chen
cdd383690d Bug 514632 remove unused file r=jorendorff 2009-11-20 14:17:12 +08:00
Ginn Chen
8042e8805d Bug 522440 QCMS: Make sse/sse2 code built with Sun Studio 12 on Solaris r=jmuizelaar, ted.mielczarek 2009-11-20 14:15:39 +08:00
Ginn Chen
998ced8623 Bug 528150 Remove the hack for LIR.cpp in Makefile.in r=dvander 2009-11-20 14:12:47 +08:00
Brendan Eich
ece0d0c7d1 Disabling the joined method optimization from bug 524826 again (529837, talked about it with dbaron and sayrer). 2009-11-19 09:21:54 -08:00
Robert Sayre
e106f3992a Merge. 2009-11-19 01:23:03 +01:00
Robert Sayre
33427c24cd Merge mozilla-central to tracemonkey. 2009-11-19 01:21:34 +01:00
Brendan Eich
d8d7d789d5 Fix uninitialized var bug (529679, r=jorendorff). 2009-11-18 15:56:34 -08:00
Brendan Eich
b2fde2a964 Fix method barrier not to brand, period (branding withou reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:47:06 -08:00
Jason Orendorff
cd32782f94 Bug 505523 - Property cache can skip JSClass::resolve or JSClass::addProperty hooks. r=graydon, r=brendan.
--HG--
extra : rebase_source : a77b0e81203010aabe07b92b639762dce83200c0
2009-11-18 14:29:58 -06:00
Jim Blandy
534bfe84e0 Back out ad37dab7ea17: code to check the current frame's script's strictness flag fails the static checks. Using js_GetTopStackFrame introduces a perf regression. 2009-11-18 14:36:55 -08:00
Brendan Eich
dd2281d2c9 Fix method barrier not to brand, period (branding without reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:41:40 -08:00
Jim Blandy
bd0b14cc7e Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script.  Both cases
also check the context options.  The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.

This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors.  At run-time,
the new checkReportFlags handles the checks.  At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-18 13:33:53 -08:00
Jim Blandy
34a27f0c88 Bug 514585: Recognize "use strict" directives. r=igor 2009-11-18 13:33:53 -08:00
Jim Blandy
ae0ff5874f Bug 514585: Remove macro wrappers for js_NewPrinter and JS_InitArenaPool. r=igor
These macros were intended to help avoid passing unused parameters
when JS_ARENAMETER is not defined, but they're not worth the trouble.
The unused parameter doesn't elicit warnings, and the performance
impact of passing the unneeded argument is negligible.

This also removes support for JS_ARENA_CONST_ALIGN_MASK, which is not
used.
2009-11-18 13:33:53 -08:00
David Anderson
88369259e6 Fixed string flag bugs on VC++ x64 (bug 512866, r=waldo). 2009-11-18 13:24:24 -05:00
David Anderson
20ee309b48 Fixed accidentally trying to trace compile a recursive generator (bug 529130, r=gal). 2009-11-18 12:41:51 -05:00
Blake Kaplan
e4ee1ce1bf Bug 528126 - Ensure the GC can see the new object. r=brendan 2009-11-18 15:54:27 +01:00
Blake Kaplan
f3b7e0182c Bug 520572 - Test watch() on an outer object. r=brendan/bc
--HG--
extra : rebase_source : e675a97028a914de51f39962b6865e2bf59f80fd
2009-11-18 12:58:28 +01:00
Luke Wagner
2c29b03b23 Bug 526173 - 3.5x regression in indexOf performance (r=waldo) 2009-11-17 22:40:50 -08:00
Jeff Walden
05bcc1bbb2 Backed out changeset 975b36c50d33; bug 478047's fix was misguided and contra ES5, and moving to ES5 semantics at this late date in the release cycle seems unwise. We'll move from old and busted directly to ES5 shortly after 3.6 so as to provide maximum time for ironing out incompatibilities in the wild. r=gal 2009-11-16 17:21:48 -08:00
Andreas Gal
f391d8a4f0 Don't attempt to GC when caller has waived the GC heap quote (528507, r=dvander). 2009-11-17 14:31:06 -08:00
Blake Kaplan
02f032b9bb Bug 461170 - Mark this test as passing. 2009-11-17 11:59:35 +01:00
Nicholas Nethercote
1543355a8e Update nanojit-import-rev stamp. 2009-11-17 15:56:35 +11:00
Edwin Smith
18ad0c911d Fix assertion failure injected by X64 verbose code patch (bug 520712 r=dvander+)
When we test the size of an offset, we have to do it after underrunProtect
or else a jump can be inserted which then invalidates the instruction selection.

--HG--
extra : convert_revision : 9b249328236ffec433abb961c0737a82f437c7d4
2009-11-16 14:22:26 -05:00
Nicholas Nethercote
a8fa693ddd Bug 520712 - nanojit: print assembly code for X64 backend with TMFLAGS=assembly. r=edwsmith.
--HG--
extra : convert_revision : bc99b0483e324920fa4c55235d1f9da58eeebcaf
2009-11-16 13:14:39 +11:00
Luke Wagner
e33f55be7a Bug 529147 - fix flipped numSideExitsBefore assertion (r=dvander) 2009-11-16 17:45:50 -08:00
David Anderson
003e66b4ad Use INS_CONSTOBJ instead of INS_CONSTWORD for kshape guard (bug 528048, r=gal). 2009-11-16 18:44:58 -05:00
Jason Orendorff
3f11018c72 Bug 519719 - TM: crash [@ JS_GetFrameThis] - SynthesizeFrame passes partly-uninitialized JSStackFrame to callHook. r=mrbkap. 2009-11-13 11:04:23 -06:00
Bob Clary
6636e9737a Bug 528654 - Intermittent timeout waiting for onload to fire in js1_8_1/trace/trace-test.js 2009-11-20 00:12:05 -08:00
Bob Clary
0d0726327c Bug 528464 - Intermittent failures - js1_5/extensions/regress-342960.js 2009-11-20 00:11:52 -08:00
Bob Clary
0fdee9994a Bug 528284 - js1_5/extensions/regress-371636.js - random failure for opt/debug on mozilla-central 2009-11-20 00:11:40 -08:00
Bob Clary
fb2d63c0fe Bug 522760 - js/src/tests/ecma_5 tests should not run as JavaScript 1.5, r=brendan 2009-11-20 00:11:27 -08:00
Bob Clary
022dee3627 Bug 529754 - set javascript.options.jit.chrome true in browser tests. 2009-11-20 00:11:14 -08:00
Jim Blandy
e412a5c444 Bug 514575: Forbid rebinding 'eval' or 'arguments' in ES5 strict mode code. r=mrbkap 2009-11-19 14:08:02 -08:00
Jim Blandy
740a8791c2 Bug 514562: Forbid assignments to 'eval' and 'arguments' in strict mode code. r=mrbkap
Drafts of the ES5 spec required a type error to be raised when an
assignment to "arguments" is evaluated in function code. In
ECMA/TC39/2009/050, this condition has been changed to a syntax error
in all code. By the rules of chapter 16, implementations must report
it early.
2009-11-19 14:08:02 -08:00
Jim Blandy
18f28c0cac Bug 514580: Forbid duplicate formal parameter names in strict mode code. r=mrbkap
Note: this patch changes the JSOPTION_STRICT warning from a TypeError
into a SyntaxError, if JSOPTION_WERROR is also set.
2009-11-19 14:08:02 -08:00
Nicholas Nethercote
4c73546ad1 Update nanojit-import-rev stamp. 2009-11-20 08:57:52 +11:00
Edwin Smith
4a6316d03b Suppress unused parameter warning in PPC backend (r=me)
--HG--
extra : convert_revision : 4ac63c016a95f1c58082824cf6813692f51ae917
2009-11-19 10:09:38 -05:00
Nicholas Nethercote
4ca10e2ea0 Bug 515311 - nanojit: kill reservations in the PPC backend. r=rreitmai.
--HG--
extra : convert_revision : e0a0d3915764c663ccf1f0b6bedc14c7303ad239
2009-11-19 10:41:16 +11:00
Edwin Smith
efee9aec4c Fix Sparc bustage from bug 528419 (r=me)
--HG--
extra : convert_revision : 018f529d80309686b99d109eb132f520cf72a2fc
2009-11-18 16:07:09 -05:00
Edwin Smith
c75cfaf023 Fix PPC bustage (bug 513863, r=me)
--HG--
extra : convert_revision : 606f3e6e99b02907d3c983dd37aa7e011a7fa43e
2009-11-18 13:42:08 -05:00
Nicholas Nethercote
f0737b9579 ARM Bustage fix for bug 513863. r=me.
--HG--
extra : convert_revision : ee701ef7d0e4ca71ce73ac77a65fe8549429dce1
2009-11-18 12:33:34 +11:00
Nicholas Nethercote
e26daf15b9 Bug 513863 - nanojit: refactor registerAlloc(). r=rreitmai.
--HG--
extra : convert_revision : 6b7cffb8984f821980d38d4c9ccd31f8bdd3e363
2009-11-18 12:27:57 +11:00
Nicholas Nethercote
391f339dc4 Bustage fix: avoid compiler warning (which is treated as an error by tinderbox). r=me.
--HG--
extra : convert_revision : 225c22dfb86b51c2e28e0328d98032d52e10d58d
2009-11-18 11:35:39 +11:00
Nicholas Nethercote
5fd3964fe4 Bug 528419 - nanojit: overhaul i386 comparison handling. r=edwsmith.
--HG--
extra : convert_revision : f05d2e60125fd7ffc5ab67bb0541012638d4d1cb
2009-11-18 11:15:20 +11:00
Edwin Smith
9bd0901698 One more try to make osx64 and linux64 compilers happy with printf
--HG--
extra : convert_revision : 440f14010965f1f70afd90b30007988617f064a0
2009-11-17 15:09:27 -05:00
Edwin Smith
b39acdae73 Fix several underrunProtect bugs in X64 backend (bug 529219 r=edwsmith+)
I'm pushing this on behalf of nnethercote since tamarin had one additional
regression failure that this patch fixes.  Comments from the bug:

Bug 520712 introduced some underrunProtect() problems in the X64 backend.  A
follow-up patch fixed one of them, but there are several remaining.  This patch
fixes all of them, AFAICT, and commons out some code in the process hopefully
making things less error-prone.  (It also fixes a printf-style compile
warning.)

I tested this by reducing the size of chunks allocated by codeAlloc to only 128
bytes.  After doing that, without this patch, Tracemonkey was fairly crashy and
Tamarin was totally crashy;  with the patch both were fine, albeit slower than
usual.  (I tried 64 bytes as well but got assertions in the code allocator,
that seems to be Just Too Small.)

--HG--
extra : convert_revision : 7972be6204883c0ba472fe8caaa08f0b08660e72
2009-11-17 14:34:43 -05:00
Jim Blandy
14f017ccd9 Bug 514572: Forbid deletion of variables, arguments and functions in ES5 strict mode. r=jorendorff 2009-11-19 12:35:55 -08:00
Jim Blandy
4ebb8ece60 Bug 514567: Detect duplicate property names. r=jorendorff 2009-11-19 12:35:55 -08:00
Jim Blandy
60339bbd5a Bug 514567: Define JSAutoAtomList, a variant of JSAutoAtomList with a destructor. r=jorendorff 2009-11-19 12:35:55 -08:00
Jim Blandy
e1243b3edc Bug 514560: Forbid assignments to undeclared variables in strict mode code. r=jorendorff
--HG--
rename : js/src/tests/ecma_5/strict/shell.js => js/src/tests/js1_8_1/strict/shell.js
2009-11-19 12:35:55 -08:00
Brendan Eich
bc127fbdb6 Beware CALLEE_UPVAR_SLOT when adjusting upvar cookie to skip over args to reach vars in the upar's home frame -- the callee is a special case with a magic slot that must not be changed (528082, r=mrbkap). 2009-11-19 12:14:52 -08:00
Luke Wagner
1d78e70efe Bug 526348 - pick higher pattern-length threshold for using BMH (r=waldo) 2009-11-19 10:34:28 -08:00
Jim Blandy
dccc422655 Bug 514576: Forbid 'with' statements in strict mode code. r=mrbkap 2009-11-19 09:49:00 -08:00
Jim Blandy
65ebe01f93 Bug 514559: Forbid octal literals or escape sequences in strict mode. r=mrbkap 2009-11-19 09:49:00 -08:00
Jim Blandy
a1ea615b02 Bug 521868: Make code passed to a direct call to eval inherit the caller's strictness. r=jorendorff 2009-11-19 09:48:59 -08:00
Jim Blandy
76386acacd Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
2009-11-19: checkReportFlags adjusted to use js_GetTopStackFrame, to
satisfy static analysis checks. No effect on Sunspider.

At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script.  Both cases
also check the context options.  The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.

This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors.  At run-time,
the new checkReportFlags handles the checks.  At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-19 09:23:20 -08:00
Jeff Walden
926066f46d Bug 520890 - obj_getOwnPropertyDescriptor nests object locks. r=jorendorff 2009-11-09 16:16:28 -08:00
Luke Wagner
e00c281f26 Bug 528870 - fix double-slurping rebase error (r=dvander) 2009-11-16 10:14:57 -08:00
Blake Kaplan
f0cd93b989 Bug 461170 - Detect when typeof is applied to an expression before constant folding so we correctly throw unbound name exceptions from the folded expression. r=brendan 2009-11-06 18:27:17 +01:00
Nicholas Nethercote
8b890f0ae6 Bug 465582: the TM-specific part. r=dvander. 2009-11-16 10:03:30 +11:00
Nicholas Nethercote
e586febe59 Update nanojit-import-rev stamp. 2009-11-16 08:18:55 +11:00
Nicholas Nethercote
97e38dea03 Bug 518242 - NJ: Remove insSkip and supporting machinery. r=graydon.
--HG--
extra : convert_revision : d0134ea858d0e34c389868a59aac7085451865b4
2009-11-13 16:18:40 +11:00
Graydon Hoare
ec80c24575 Bug 528320 - Improve warning-handling on windows, r=rreitmai.
--HG--
extra : convert_revision : c1dd9d0db4cf07210025b69e852f2ea43275a759
2009-11-12 15:07:31 -08:00
Julian Seward
6de060464c Bug 517883 - make TM fragment entry- and exit-profiling work on ARM, r=vlad.
--HG--
extra : rebase_source : 5ce347fc1855009b2e71a67ab4df69ee03e7d65b
extra : convert_revision : e133153691ce2daf3eb72bba7762191b61b7afcb
2009-11-12 14:30:36 -08:00
Nicholas Nethercote
ce6dd615de Bug 513865 - nanojit: make LirReader::read() clearer and faster. r=gal.
--HG--
extra : convert_revision : d78bd673c8652d17489559744f4a221c78811286
2009-11-13 09:26:26 +11:00
Nicholas Nethercote
3cdf300b3f Bug 527874 - nanojit: add and remove some uses of findSpecificRegForUnallocated(). r=rreitmai.
--HG--
extra : convert_revision : 8a61bb2085985eb84772ca1ad924eee5b7fe544f
2009-11-13 09:23:14 +11:00
Edwin Smith
9eada54d27 Fix NativeARM; missed one file when backing out registerAllocTmp (r=me)
--HG--
extra : convert_revision : ec94ce9d044ee358a65c259a6151ce660122f813
2009-11-12 08:39:32 -08:00
Edwin Smith
d7a89e77b5 Add LIR_jtbl instruction, and patch up lirasm to remove LIR_ji (bug 465582 r=nnethercote+, rreitmai+)
new opcode: LIR_jtbl.  jtbl takes a uint32_t index and a table of label
references (LIns**), representing a jump to one of the labels.

the index must be in range (range checking is not included in the opcode).

the table is allocated in memory at least as long lived as the LIR; this is
accomplished by doing the allocation from the same Allocator used by LirBuffer.

In the x86 backend, this is implemented with a simple jmp [R*4+ADDR] where ADDR
is the address of the table.  I added a new dataAllocator (Allocator&)
parameter to Assembler, which is used for allocating data along with code (data
& code have same lifetime).  The x86 backend allocates the final table of
addresses from this allocator and embeds the pointer to the table in code.

In other backends more than one instruction must be used due to limited range
of the constant part of the addressing mode (ppc, arm), or non-support for
full-range pc-relative indexing (x64, ppc64).

Anyone generating LIR code for use with LIR_jtbl must also generate a
LIR_regfence instruction after each label reachable by a forwards edge
from LIR_jtbl.  This is to workaround the register allocator's inability
to merge register states between 2 or more pre-existing targets.  LIR_regfence
is not required for backwards edges.

--HG--
extra : convert_revision : ee709eaaa30f720f77ab863ba4c9e6d10d69982b
2009-11-11 14:38:12 -05:00
Rick Reitmaier
90792e48c5 Silence win64 compiler gripe about unused var (r+me)
--HG--
extra : convert_revision : 6a40f9bbeae25cc7c79ce34db8226ab0ff786c57
2009-11-11 09:12:57 -08:00
Luke Wagner
12ec57f335 Bug 520636 - sideExits holds dangling pointer on failed compilation (r=dvander) 2009-11-13 15:47:08 -08:00
Luke Wagner
931c1a14c6 Quiet the hounds of JS_REQUIRES_STACK 2009-11-13 15:24:25 -08:00
Luke Wagner
5edaaf4c39 Bug 517174 - trace js_Invoke calls from natives (r=dvander) 2009-11-12 18:34:24 -08:00
Jason Orendorff
c26c16cb0c Bug 528414 - JS_IsRunning can be wrong. r=brendan.
--HG--
extra : rebase_source : 4fca5efd5f558c1b64b0e86580d2c42af7e61e34
2009-11-13 09:24:12 -06:00
Bob Clary
da3344ac86 Bug 528384 - Intermittent failure in js1_8_1/trace/regress-451673.js 2009-11-13 05:26:33 -08:00
Bob Clary
797b78af45 Bug 528284 - js1_5/extensions/regress-371636.js - random failure for debug windows. 2009-11-13 05:26:33 -08:00
Bob Clary
88b75ddfa2 Bug 524734 - js1_8_1/trace/regress-451974-01.js, regress-451974-02.js fix random failure. 2009-11-13 05:26:33 -08:00
Andreas Gal
ac3a0faa92 Remove reserve doubles and objects lists and instead waive the GC quota to avoid failing in LeaveTree (508140, r=dvander). 2009-11-12 16:01:56 -08:00
Jason Orendorff
45cb4ee721 Bug 523998 - Add assertions to detect cases where objects were not touched by shape regeneration. r=dmandelin.
--HG--
extra : rebase_source : 6a71b143bdb82a81e00c082df5dc4c15198ad5d6
2009-11-12 16:50:12 -06:00
Igor Bukanov
dd905004ad bug 527803 - avoiding unnecessary js_AddRoot. r=brendan 2009-11-12 23:13:25 +01:00
Igor Bukanov
86e549290f bug 522867 - eliminating the local root check on the fast path of the GC allocator. r=brendan,gal 2009-11-12 12:53:25 +01:00
Jeff Walden
e53d0c2e48 Backed out changeset 2fe1a3d6e672, enough philosophically-vexing orange that I'm unwilling to adjust all the tests without discussion (or, alternately, leave it in place until morning). 2009-11-12 00:57:18 -08:00
Jeff Walden
152d62d222 Bug 523846 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5 (at least not until strict mode is supported). r=brendan
--HG--
extra : rebase_source : 7d47eb44d21f17bfa11aeadca2ff980336315eca
2009-11-10 18:03:41 -08:00
David Anderson
88c1b301bc Backed out changeset 193b41b37d17 2009-11-11 23:03:17 -08:00
David Anderson
d9058229c3 Don't guard on scope chains that have a call object and a block object (bug 523793, r=brendan,dmandelin). 2009-11-11 19:22:32 -08:00
Nicholas Nethercote
caae636a76 Test case for bug 527288. r=edwsmith. 2009-11-11 18:17:55 +11:00
Nicholas Nethercote
030a983a02 Update nanojit-import-rev stamp. 2009-11-11 15:39:46 +11:00
Graydon Hoare
53519f8859 Bug 527178 - Improve valid-displacement checks, r=edwsmith, r=dvander.
--HG--
extra : rebase_source : b95743173b293bd4a2a54b37124d4e85cb16d425
extra : convert_revision : eadf0b1a3fd0bd28303b12b905eb94a09a2ade1b
2009-11-10 14:55:35 -08:00
Nicholas Nethercote
c8fb8e9279 Bug 527288 - TM: "Assertion failure: m != TT_INT32 || isInt32(*vp), at
../jstracer.cpp" with for, for...each.  r=edwsmith.

--HG--
extra : convert_revision : 8f59c1429621a0ebb1cab43c638e926df463d3a1
2009-11-11 11:47:39 +11:00
Rick Reitmaier
7fc8791eda Silence winmo compiler gripe about unused var (r+me)
--HG--
extra : convert_revision : f2504bf688652c6730b49dca93da149f419bb165
2009-11-10 14:49:12 -08:00
Luke Wagner
fcbd8df95a Bug 527147 - flat lambdas' parents differ between recording and trace (r=dmandelin) 2009-11-09 10:57:39 -08:00
Jacob Bramley
12362fb71d Update nanojit-import-rev stamp. 2009-11-10 09:16:55 +00:00
Jacob Bramley
9d5d377b24 Fix LIR_ov for LIR_mul on ARM. (bug 521161, r=gal)
--HG--
extra : convert_revision : 4d16a7956f99c889899f35fbd0ad3a9fb0c12e0d
2009-11-10 08:19:04 +00:00
Nicholas Nethercote
0a26c2fbaf Bug 515309 - nanojit: kill reservations in the ARM backend. r=Jacob.Bramley.
--HG--
extra : convert_revision : 271317c774639b9604d3e9ab9d67d615b5166c64
2009-11-10 17:27:09 +11:00
Nicholas Nethercote
8b9cbc6e8b Bug 525437 - clean up LIR_call. r=edwsmith.
--HG--
extra : convert_revision : 2f6b3b6eedb27044cc7699c923d4220dd169b823
2009-11-10 14:12:18 +11:00
Nicholas Nethercote
f49548f101 Bug 515310 - nanojit: kill reservations in the x64 backend. r=dvander
--HG--
extra : convert_revision : 5ca7d17649581013e1f275d6e2d26693f1b5c55d
2009-11-09 17:15:24 +11:00
Graydon Hoare
3d858cb714 Bug 527139 - Fix lirasm's use of integer-divide on non-intel platforms, r=rreitmai.
--HG--
extra : convert_revision : f5bbb9569c737865a7ff88dde0fb370fe2862c01
2009-11-06 16:01:11 -08:00
Graydon Hoare
56de82afc0 Bug 525412 - remove the nonsensical 'no fastcall' check in lirasm, r=dvander.
--HG--
extra : convert_revision : 280b05e48279a2dfa1226915ad8e96f0ef3a19ff
2009-11-06 15:44:00 -08:00
David Mandelin
5ee0760ca7 Bug 519363 debugging followup: strip diagnostic instrumentation, r=lw 2009-11-09 16:57:47 -08:00
David Mandelin
354c79f502 Bug 525028 followup: fix build bustage on non-tracing-enabled builds, no_r=me 2009-11-09 16:42:38 -08:00
David Mandelin
f011cf1b36 Bug 525028: adding test case missed in previous commit, r=dvander 2009-11-09 15:38:08 -08:00
David Mandelin
f381a3d5ed Bug 525028: don't set args object properties from trace, r=dvander 2009-11-09 15:36:41 -08:00
Jeff Walden
aaef481fc6 Update jstests.list for fix for bug 504078 2009-11-09 13:35:34 -08:00
Jeff Walden
e7b84ff7fb Bug 504078 - Always guard on the class of iterator objects, not just when the iterator object is native at record time. r=brendan
--HG--
extra : rebase_source : 018075a7776016733ca9d91f79b76fa54a84bad3
2009-11-05 23:41:37 -08:00
Igor Bukanov
1d2f1fa65e bug 527027 - fixing date_makeDate regression. r=brendan 2009-11-08 21:44:53 +01:00
Robert Sayre
c9116810be Check whether the patch in Bug 527261 fixes a mochitest crash. 2009-11-08 10:41:44 -05:00
Robert Sayre
48db32d7f5 Merge mozilla-central to tracemonkey. 2009-11-07 11:33:47 -08:00
Brendan Eich
790b004133 Fix empty script deserialization (525481, r=igor). 2009-11-07 11:23:00 -08:00
Graydon Hoare
1754a299bc Bug 526755 - abort rather than flush on oversized global object, r=dvander. 2009-11-06 16:34:17 -08:00
Dan Witte
c92e006b95 enable ctypes unit tests on all platforms. b=522118, r=bsmedberg 2009-11-06 09:48:07 -08:00
Shailen
9310b212af Bug 526422 - AIX Compilation error for 3.7a1pre source "js/src/jsgc.cpp, line 2850.17: The name lookup for "FinalizeGCThing" did not find a declaration, r=sayrer 2009-11-06 16:27:07 +01:00
Graydon Hoare
0364912eff Bug 526755 - avoid slow leak in reTempAlloc, r=dvander. 2009-11-05 18:36:35 -08:00
Blake Kaplan
2c0508106c Bug 520572 - Set watchpoints on the object that's guaranteed to see all changes. r=brendan 2009-11-04 19:42:41 +01:00
Brendan Eich
5f158ca862 Fix empty script deserialization (525481, r=igor). 2009-11-05 15:41:56 -08:00
David Anderson
db7ed2cb48 Reorganized the fragment class hierarchy (bug 524620, r=gal). 2009-11-05 15:04:54 -08:00
David Anderson
1fd387c125 Update nanojit-import-rev stamp. 2009-11-05 14:58:26 -08:00
Nicholas Nethercote
dd4a2ec015 Bug 512634 - nanojit: identify RegAlloc invariants. r=edwsmith.
--HG--
extra : convert_revision : 2d5d94694fceca54934270a518a5b341ce13b2d0
2009-11-05 11:56:48 +11:00
Nicholas Nethercote
13dad87c06 Bug 502778 - nanojit: speed up CseFilter. r=edwsmith.
--HG--
extra : convert_revision : 98b64e95f3f98c85e4dfab9e66d16543cb27a8b6
2009-11-05 09:40:33 +11:00
Jim Blandy
b76416cc57 Bug 514585: Move 'grouped' to explicit param of JS_NEW_PRINTER. r=igor
Make all the JSPrinter status bits explicit flags to JS_NEW_PRINTER.
Only in public-facing functions like JS_DecompileFunction should we be
peeling bits out of indent values and turning them into flags;
internally, we can change interfaces to make more sense.

This is preparation for adding another flag to JS_NEW_PRINTER.
2009-11-05 14:34:39 -08:00
Rich Walsh
40b145d4fd Bug 525396 - Implement New/DestroyGCChunk() for OS/2, fixing a build break, r=gal 2009-11-05 22:55:00 +01:00
Graydon Hoare
9a195bc146 Update nanojit-import-rev stamp. 2009-11-04 10:28:43 -08:00
Graydon Hoare
4990d750b2 Bug 526011 - Backed out changeset ccae3c736aed, premature landing.
--HG--
extra : convert_revision : ba29ca88bc1acdee7ae1a532f202ee99f08ce755
2009-11-04 10:15:41 -08:00
Nicholas Nethercote
b19353ba34 Bug 517405 - nanojit: don't compute x86 FP conditions twice(!). r=rreitmai.
--HG--
extra : convert_revision : bb0d40d10977953fffe3063745de0d8778bec6c6
2009-11-04 16:44:13 +11:00
Nicholas Nethercote
d97e5c6a9e Bug 516348 - nanojit: add findSpecificRegForUnallocated(). r=edwsmith.
--HG--
extra : convert_revision : 0e40a8977b80a96f9233488878589afcdfc8d800
2009-11-04 14:45:29 +11:00
Graydon Hoare
77b0404bd4 Bug 525392 - Fix ARM branch-patching logic, r=vlad.
--HG--
extra : convert_revision : 3510743118fdb7ba39e941894ccf7a80788f8421
2009-11-03 11:49:31 -08:00
Graydon Hoare
e081d7f434 Bug 526070 - lirasm call argument ordering bug, r=dvander.
--HG--
extra : convert_revision : f3e975ca8d8e19b651f57b7599fd84162aaad8ec
2009-11-02 17:10:27 -08:00
David Anderson
0ceba054d4 Removed Fragment::vmprivate and Fragment::root (bug 526011, r=graydon).
--HG--
extra : convert_revision : ccae3c736aeddd81211073095132a7feb70c33e7
2009-11-03 10:16:17 -08:00
Luke Wagner
909f99b378 Bug 526356 - invalid debug memset of global native frame in ExecutreTree (r=dvander) 2009-11-03 15:22:48 -08:00
Nirbheek Chauhan
48dd8bd161 Bug 528941 - Remove pangox.h includes. r=karlt 2009-11-18 14:20:15 +01:00
Luke Wagner
7e9e13723a Bug 525120 - move native stack off the C stack (fixes native global frame alignment) (r=dvander)
--HG--
extra : rebase_source : 88fd7104fd77507c7c6ffd3dd0464cc6954f90c0
2009-10-28 16:44:44 -07:00
Graydon Hoare
5e3a19ba8e Update nanojit-import-rev stamp. 2009-11-02 14:41:31 -08:00
Nicholas Nethercote
097c0ac933 Bug 525413 - lirasm: avoid operandCount, r=graydon.
--HG--
extra : convert_revision : f35c3aab85189126ca884e976372050c3278324f
2009-11-02 12:15:37 -08:00
Nicholas Nethercote
324726905d Bug 525411 - lirasm: fix CallInfo problems, r=graydon.
--HG--
extra : convert_revision : 18149ad4f58ed4f0cdc2034aeaa0acf269c1a205
2009-11-02 12:14:45 -08:00
Andreas Gal
f73327e2bb Avoid using uint16 in JSXML (525527, r=igor). 2009-11-02 13:45:22 -08:00
Andreas Gal
8982c58728 Fix bogus assert (525943, r=dvander). 2009-11-02 13:41:26 -08:00
Graydon Hoare
50c075b03c Update nanojit-import-rev stamp. 2009-11-02 11:07:20 -08:00
Jacob Bramley
6168fd499c Bug 525878 - The lirasm call1 test fails on ARM, r=graydon.
--HG--
extra : convert_revision : 9088798ea4a9ccdf7ffff83b97bc468213e72942
2009-11-02 10:32:02 -08:00
Graydon Hoare
6dd69a9cb6 Bump import-machinery pointers, no bug, r=gal on IRC. 2009-11-02 10:58:02 -08:00
Bob Clary
277166b202 bug 332722 - ecma_3/Date/15.9.5.5.js fails on Linux during DST. 2009-11-02 04:35:03 -08:00
Jacob Bramley
357496b516 Rolling back changes that should have gone into nanojit-central. 2009-11-02 10:05:09 +00:00
Jacob Bramley
12af34360e Make LIR_ov work for LIR_mul on ARM. (bug 521161, r=gal) 2009-11-02 09:35:01 +00:00
David Anderson
28f5537f28 Fixed assert failure in TraceRecorder::setCallProp (bug 522570, r=dmandelin). 2009-10-30 17:23:29 -07:00
Jason Orendorff
8c514f795a Bug 524564 - "Assertion failure: 0, at ../jsopcode.cpp" with uneval, yield, do...while. r=dvander. 2009-10-30 14:56:10 -05:00
Jason Orendorff
54ae492912 Bug 498134 - ABI depends on #define DEBUG. r=Waldo.
--HG--
extra : rebase_source : 7add900da11663e2f98c1f8e0ef70387301ad115
2009-10-29 06:39:18 -05:00
Bob Clary
7bb328aa79 Bug 525213 - misc test cleanup. 2009-10-30 10:07:51 -07:00
Blake Kaplan
d313c0f49d Bug 520164 - Protect the interpreter from non-expected scope chains and variable objects. r=igor
--HG--
extra : rebase_source : cd169a070e85100af7931864201da28effffcfec
2009-10-30 17:31:15 +01:00
Bob Clary
b6f6784c9e Bug 525458 - jstests - remove NS_ERROR_UNEXPECTED spew from clearUserPref 2009-10-30 09:21:56 -07:00
Graydon Hoare
ad0e1f162f Nanojit merge death throes, no bug, r=dvander. 2009-10-29 18:42:14 -07:00
Graydon Hoare
01068a2a70 Bug 525293 - Followup to remove dead lines that shouldn't be in previous patch, r=dvander. 2009-10-29 13:31:55 -07:00
Graydon Hoare
9d9ae9f4a1 Bug 525293 - Cumulative remainder of changes from tamarin, r=dvander. 2009-10-29 12:29:28 -07:00
Robert Sayre
e08b99cf18 bustage fix 2009-10-29 11:48:18 -07:00
Robert Sayre
8218769bc0 Merge mozilla-central to tracemonkey. 2009-10-29 08:48:15 -07:00
Olli Pettay
513478ce73 Bug 517665 - XPCJSStackFrame::CreateStack cause permanent memory, r=peterv,mrbkap 2009-10-29 13:48:06 +02:00
Bob Clary
96e6f82e4e bug 512247 - replace license headers in tests by Jason Orendorff, Blake Kaplan, Robert Sayre, Bob Clary with public domain notice; by permission. 2009-10-29 00:44:41 -07:00
Bob Clary
b436926f7b bug 512247 - replace license headers in template.js with public domain notice. 2009-10-29 00:44:40 -07:00
Bob Clary
dd56321627 bug 511740 - e4x/Regress/regress-474319.js must reset gczeal. 2009-10-29 00:44:40 -07:00
Bob Clary
1cd6fac8ce bug 524743 - js1_8_1/regress/regress-524743.js must turn off gczeal(2) before exiting; skip in debug browser due to hang. 2009-10-29 00:44:40 -07:00
Luke Wagner
a6f59b2bb2 Quiet ye requires-stack static analysis 2009-10-28 17:28:28 -07:00
Brad Lassey
04ffc11af6 bug 524554 - WinMo package-tests broken: nsinstall path too long r=ted 2009-10-28 16:12:13 -04:00
Luke Wagner
4bf92850d5 Bug 524867 - hoist js_AllocStack out of inner String.replace loop (r=waldo) 2009-10-28 09:53:33 -07:00
Andreas Gal
c42b9d863d Compilation fix for bug 523947. 2009-10-28 17:09:48 -07:00
Andreas Gal
0587fde91b Use reserve double pool when running into OOM in LeaveTrace (523947, r=dvander). 2009-10-28 15:32:40 -07:00
Graydon Hoare
5191f92b48 Bug 524593 - nanojit-central to tracemonkey import machinery, r=gal. 2009-10-28 11:35:48 -07:00
Igor Bukanov
0d38a472cc bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-28 14:57:31 +03:00
Bob Clary
b02bc08ba9 bug 524731 - skip js1_5/Regress/regress-303213.js on Windows. 2009-10-27 21:18:41 -07:00
Bob Clary
d5fecf19b6 bug 524732 - mark js1_5/Regress/regress-344804.js, js1_5/Scope/regress-181834.js as failing. 2009-10-27 21:18:41 -07:00
Bob Clary
81167c82e5 bug 524734 - mark js1_8_1/trace/regress-451974-02.js as random due to jit timing. 2009-10-27 21:18:41 -07:00
Bob Clary
ea5be07b9c bug 524788 - mark test js1_5/extensions/regress-363258.js timer resolution as random on windows. 2009-10-27 21:18:41 -07:00
Graydon Hoare
a87bf773fa Bug 524587 - remove softfloat guards, restore CodeAlloc ref-ptr, r=gal.
--HG--
extra : rebase_source : b7bca87acdd97bf8f0598c6069f7094a16488eb8
2009-10-27 15:24:12 -07:00
Andreas Gal
7a8d396e51 Compilation fix for bug 524841. 2009-10-27 18:15:37 -07:00
Andreas Gal
b75eef6411 Add an internal API to query the current JSThread (524841, r=brendan). 2009-10-27 17:55:34 -07:00
David Mandelin
6378284cae Backed out changeset 723a2622ad4a: tracemonkey tinderbox build failures 2009-10-27 17:46:09 -07:00
Jim Blandy
48cec69361 Bug 514585: Move 'grouped' to explicit param of JS_NEW_PRINTER. r=igor
Make all the JSPrinter status bits explicit flags to JS_NEW_PRINTER.
Only in public-facing functions like JS_DecompileFunction should we be
peeling bits out of indent values and turning them into flags;
internally, we can change interfaces to make more sense.

This is preparation for adding another flag to JS_NEW_PRINTER.
2009-10-27 16:38:09 -07:00
Jim Blandy
fb80546171 Bug 523139: Add an ECMAScript 5 value to the JSVersion type. r=brendan 2009-10-27 14:17:01 -07:00
Jason Orendorff
b08414afa7 Tweak test js1_8_1/regress/regress-524743.js to not use Math.random. no_r=me. 2009-10-27 16:15:50 -05:00
Jason Orendorff
d2943dea25 Bug 524743 - Shape regeneration still does not touch most empty scopes. r=brendan.
--HG--
extra : rebase_source : 13a7f72bef38f2bfb8615a907c0cb47e31f55e1d
2009-10-27 16:00:26 -05:00
Ben Combee
b832a6a72f Bug 510052 - JS fails to build in debug config in scratchbox. r=vlad 2009-10-27 13:48:06 -07:00
Jason Orendorff
f5ef3c2a57 Bug 524490 - js/src/trace-test/tests/sunspider/check-date-format-xparb.js is broken everywhere but the US. r=gal.
--HG--
extra : rebase_source : e93d741aee512aef3bb4779d386107fd992e2155
2009-10-27 13:33:22 -05:00
Igor Bukanov
71c7fe1cf8 backout merge 2009-10-27 19:22:17 +03:00
Igor Bukanov
8785797ba7 Backed out changeset 14c76164f4c2 - patch for bug 524346 caused test fails 2009-10-27 19:21:47 +03:00
Bob Clary
8b5986f020 Bug 524666 - update jsreftest manifests to reflect change in reftest sandbox. 2009-10-27 07:12:34 -07:00
Igor Bukanov
ed4f6edf7f bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-27 13:26:57 +03:00
Makoto Kato
e3678e082a Bug 515545 - Add EXECUTE_TREE_TIMER code for Windows x64. r=dvander 2009-10-27 18:00:15 +09:00
David Anderson
ab74b2ff81 Added calleValue()/calleObject() inline helpers to JSStackFrame (bug 512371, r=brendan). 2009-10-26 17:28:56 -07:00
Luke Wagner
fe59499ad3 Bug 523515 - pretty up TraceRecorder (r=dvander) 2009-10-26 13:06:17 -07:00
David Mandelin
2592879abd Bug 524400: make trace-test.py return nonzero exit code if there were test failures, r=jorendorff
--HG--
extra : rebase_source : e3658606a5fbeb971c7dda101af9943e8d6278ad
2009-10-26 13:02:19 -07:00
Brendan Eich
02c0dc3df2 Factor jsscopeinlines.h out, clean up #include order (524267, r=gal/jorendorff). 2009-10-26 13:39:39 -07:00
Robert Sayre
dd8b93c5d3 Merge mozilla-central to tracemonkey. 2009-10-26 13:29:48 -04:00
Boris Zbarsky
3aef7b8edb Bug 507448. Expose the names of the function arguments on jsdIScript. r=timeless,brendan
--HG--
rename : content/base/test/Makefile.in => js/jsd/test/Makefile.in
2009-10-26 09:30:40 -04:00
Ginn Chen
6a61d86670 Bug 522157 Make -D__FUNCTION__=__func__ global for Sun Studio on Solaris r=benjamin 2009-10-26 14:25:40 +08:00
Nicholas Nethercote
684ab28f88 Bug 522612 - TM: kill new skips-with-payloads. r=graydon. 2009-10-26 10:39:44 +11:00
Igor Bukanov
16b7fbf959 bug 524121 - avoiding double boxing of time in Date methods. r=brendan 2009-10-24 22:42:29 +04:00
Graydon Hoare
c22f99d364 Bug 524236 - ARM actually needs to check used-ness of call instruction in asm_call, r=gal. 2009-10-23 17:48:41 -07:00
Graydon Hoare
89d3fa8350 Bug 524230 - adjust asm_ld_imm assertion in ARM, r=gal. 2009-10-23 17:33:06 -07:00
Graydon Hoare
b19eee7d5a Bug 524231 - catch lirasm up with recent changes, r=gal. 2009-10-23 17:19:56 -07:00
Graydon Hoare
545839b15a Bug 522591 - Followup fix for opt builds, r=burningtree. 2009-10-23 15:32:19 -07:00
Graydon Hoare
108c884253 Bug 522591 - move reader pipeline from assemble() to compile(), r=gal. 2009-10-23 14:58:10 -07:00
Graydon Hoare
c287bc3151 Bug 522314 - Make x86 virtual stack pointer code optional, g=gal.
--HG--
extra : rebase_source : c0feec3b6f94580fab0e8569a817bf36db7ed1ab
2009-10-23 13:46:09 -07:00
David Anderson
136174c2cb Fixed JSOP_SETELEM+JSOP_POP pairs using wrong stack depth on deep bail (bug 519244, r=brendan). 2009-10-23 14:34:07 -07:00
David Anderson
e40deebae7 Fixed decompiler assertion related to JSOP_TRACE (bug 522624, r=brendan). 2009-10-23 14:28:35 -07:00
Jason Orendorff
eed5fefef2 Bug 523670 - Add assertion to detect proto-less dense arrays. r=brendan. 2009-10-23 14:40:36 -05:00
Jason Orendorff
e66886b51c Bug 515885 - Assertion failure: !scope->owned(), at ../jsobj.cpp. r=brendan. 2009-10-23 14:35:53 -05:00
Jason Orendorff
efdbb8da44 Bug 505003 - TM: Different values for modulo of negative number (-2 % 2). r=graydon.
--HG--
extra : rebase_source : 73987a251e045b77ddc1cf1eb7c1516da46b2b9f
2009-10-23 13:15:10 -05:00
Graydon Hoare
5c2cdd754c Bug 524158 -re-enable immediate-load optimization on ARM, r=gal.
--HG--
extra : rebase_source : 0faa0de34ff7732b1e0f96ed4b691a55242d6acb
2009-10-23 11:10:07 -07:00
Graydon Hoare
951aacba56 Bug 523952 - typos and cleanup from tamarin, r=gal.
--HG--
extra : rebase_source : da1dcdcc6c1f21f73b2223dcdb611c17a9018190
2009-10-22 14:29:37 -07:00
David Anderson
7d3329fbfb Fixed slurp-fail anchors trying to import and read from the tracker (bug 524061, r=gal). 2009-10-23 11:16:05 -07:00
David Anderson
8540cd6e92 Added debug-break to JS_Assert for gcc x64 (bug 524143, r=gal). 2009-10-23 10:28:06 -07:00
David Anderson
f0bc130dc8 Fix GCC uninit-var warning (no bug, r=brendan). 2009-10-23 09:28:04 -07:00
Igor Bukanov
a5c9e85705 bug 523688 - avoiding spurious OOM messages when on trace. r=brendan 2009-10-23 11:03:17 +04:00
David Anderson
8231c0b9ee Clear argsobj private on trace (bug 522024, r=dmandelin). 2009-10-22 17:56:46 -07:00
Luke Wagner
f723becfb6 Remove execute permissions on source files 2009-10-22 10:41:19 -07:00
Brendan Eich
797e4c7194 Fix old ES3 lexing bug where 3in scanned as 3 and in (523401, r=jorendorff). 2009-10-22 10:07:56 -07:00
David Anderson
d35b22af3f Merge. 2009-10-21 20:01:40 -07:00
David Anderson
d2f328b55e Fixed large displacements messing up the tracker on ARM (bug 521190, r=gal). 2009-10-21 20:01:16 -07:00
Graydon Hoare
24d43ed812 Bug 523505 - Followup build fixes, r=gal on IRC. 2009-10-21 19:58:21 -07:00
Graydon Hoare
344543af05 Bug 523766 - move jump tables to allocator, r=gal. 2009-10-21 19:50:35 -07:00
Graydon Hoare
399e52afa4 Bug 523505 - move icache flushing logic around, r=gal. 2009-10-21 16:26:52 -07:00
Daniel Holbert
09b7f28999 Bug 523166: Switch to use c-style comments in jsutil.h to fix build warning. r=igor 2009-10-21 15:46:33 -07:00
David Anderson
5a9f22f10c Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal). 2009-10-21 15:14:01 -07:00
Jeff Walden
58c4037788 Bug 523686 - Kill fun_enumerate, since it's no longer necessary now that bug 514603 is fixt. r=jorendorff 2009-10-21 15:00:51 -07:00
Jim Blandy
0c5e3d3554 Bug 522123: Don't reify lazy scope chain blocks twice in 'eval'. r=mrbkap 2009-10-21 14:34:55 -07:00
Jim Blandy
085d36271a Bug 522123: Test case for indirect eval scope chain bug. r=mrbkap 2009-10-21 14:34:55 -07:00
Igor Bukanov
9c47282440 bug 523370 - fixing bogus OOM with empty double free lists. r=dmandelin 2009-10-22 01:03:56 +04:00
David Anderson
cf1ff8bbde Merge. 2009-10-21 13:58:45 -07:00
David Anderson
20d18679cc Backed out changeset 31a4c08387f1 (orange). 2009-10-21 13:54:15 -07:00
Jason Orendorff
326aa1d148 Bug 522590 - FF 3.7 crash on startup with chromebug. r=brendan. 2009-10-21 15:27:35 -05:00
Blake Kaplan
229925b044 Bug 520511 - Add some tvrs. r=brendan 2009-10-21 11:46:07 -07:00
Brendan Eich
891d4e8447 Restore script local before goto error, duh (523280, r=igor). 2009-10-21 11:34:58 -07:00
Brendan Eich
3df941c39b Don't use the emptyScript singleton for a function that had upvars whose uses were optimized away (523284, r=igor). 2009-10-21 11:33:21 -07:00
Bob Clary
f2463b486e bug 520240 - enable js1_5/extensions/regress-420869-01.js, js1_5/extensions/regress-424683-01.js 2009-10-21 06:06:00 -07:00
Bob Clary
6c85d0482a bug 521549 - disable js1_5/Regress/regress-351116.js for debug 32bit linux browser, r=sayrer 2009-10-21 06:06:00 -07:00
Bob Clary
01e1cd9921 bug 514139 - e4x/Regress/regress-319872.js allow InternalError: script stack space quota is exhausted 2009-10-21 06:06:00 -07:00
David Anderson
ee7110502b Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal). 2009-10-20 20:17:51 -07:00
Andreas Gal
09041f31f7 Explicitly call destructor instead of delete (follow-up for 521859, r=dvander). 2009-10-20 20:11:32 -07:00
Graydon Hoare
349ddddea8 Bug 523262 - further ARM differences from tamarin, r=gal.
--HG--
extra : rebase_source : a39c39c0d6a66886c7a068324187bb3fd50796bd
2009-10-20 17:43:13 -07:00
Andreas Gal
5f0bb44449 Build fix for 521859 (again). 2009-10-20 17:45:30 -07:00
Andreas Gal
64a5aaa7dd Build fix for 521859. 2009-10-20 17:29:36 -07:00
Blake Kaplan
b7cbf88c7e Bug 532469 - Don't allow deleting arbitrary properties. r=jst 2009-10-20 17:21:42 -07:00
Blake Kaplan
a9e26d46d0 Bug 535079 - Get the XPCNativeWrapper class without compiling and running JS code. r=jst sr=sicking 2009-12-16 16:51:06 -08:00
Blake Kaplan
c907eb155f Bug 522621 - Use namespaces in the wrapper code and generally clean up the internal interfaces between the wrappers. r=jst 2009-10-20 17:21:39 -07:00
Benjamin Smedberg
0177a8612f Merge plugin changes from electrolysis to mozilla-central. 2009-12-16 19:06:54 -05:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Benjamin Smedberg
e222906462 Mark the two tests random on Windows which are causing problems, bug 524732 (reverting http://hg.mozilla.org/mozilla-central/rev/9f7c1fa9b2de to random-if instead of fails-if) 2009-12-16 16:14:22 -05:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Dietrich Ayala
40aa9b0a88 Bug 532563 - XPCOMUtils has anonymous functions (r=sdwilsh) 2009-12-15 23:25:38 -08:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Ben Turner
319b99a47b Bug 534308 - 'Request needed for jsshell'. r=jorendorff. 2009-12-15 16:07:04 -08:00
Dan Witte
89be48b3cc Bug 518621 - JS_ReportErrorNumber ignores exception type for user-generated messages. r=mrbkap 2009-12-15 14:20:48 -08:00
Benjamin Smedberg
2010a569bb Merge mozilla-central into electrolysis. 2009-12-14 21:27:17 -05:00
Bob Clary
91e71bfebb bug 524732 - reenable js1_5/Regress/regress-344804.js | js1_5/Scope/regress-181834.js after electrolysis landing, r=bsmedberg 2009-12-14 16:31:53 -05:00
Benjamin Smedberg
a819191110 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Boris Zbarsky
8c7d101795 Bug 533636. Speed up IsSecurityWrapper. r=mrbkap 2009-12-11 22:36:35 -08:00
Benjamin Smedberg
b55b15dccf Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Blake Kaplan
c8044d3215 Bug 532259 - Protect against a null script. r=jst a=sayrer
--HG--
extra : rebase_source : 926c94ac7dca681c195e4bd013db0331e79f78ca
2009-12-03 14:52:56 -08:00
Blake Kaplan
9699e0ff2d Bug 531222 - Don't access the SSM off the main thread. r=bent sr+a=jst 2009-12-02 12:06:18 -08:00
Benjamin Smedberg
3cfccc2b20 Straight revert of xpcshell to its mozilla-central state.
--HG--
branch : electrolysis-plugins-only
2009-11-30 14:17:24 -05:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Boris Zbarsky
1ca3e20850 Bug 534676. Fix object hashtable lifetime management. r=timeless 2009-12-14 21:31:59 -08:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Brendan Eich
5bcc54508f Fix js_FindDuplicateFormal to crack the fun->u.i.names union correctly, and spruce it up with C++ (532041, r=jimb). 2009-12-01 14:48:05 -08:00
Benjamin Smedberg
453514dea2 Bug 523769 - Don't call into plugin hooks (specifically NPObject.deallocate) while mid-GC, r=jst+mrbkap 2009-11-17 14:51:46 -05:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Ted Mielczarek
96ab3547a7 bug 463411 - nsinstall.exe can race creating directories. r=timeless (sync js/src copy of nsinstall_win.c) 2009-11-11 08:24:30 -05:00
Chris Jones
0807e5c7e2 bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Robert Sayre
52d0582584 Merge tracemonkey to mozilla-central. 2009-12-01 13:14:45 -05:00
Ginn Chen
06c9f09bfb Bug 519401 js-ctypes failed to compile on Solaris with Sun Studio compiler r=dwitte 2009-12-01 20:41:52 +08:00
Ben Turner
6b2f085492 Bustage fix, r=mrbkap 2009-12-11 14:30:27 -08:00
Ben Turner
69627562c5 Bug 534051, r=jorendorff+jst, sr=jst. 2009-12-11 12:50:54 -08:00
Brad Lassey
e496cd2077 bug 515748 - differentiate between wince and winmo (change windows mobile ABI to arm-wince-winmo) r=ted 2009-12-04 14:14:18 -05:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Chris Jones
35f31a72c3 don't init gtk in xpcshell, it's a relic of a darker era 2009-11-05 20:06:05 -06:00
Oleg Romashin
398a083923 Bug 527363 - JS-ctypes fail to compile on Maemo ARM. r=dwitte 2009-11-11 08:57:47 +02:00
Andreas Gal
e5c5e2e6c1 Always use GCChunks (521859, r=brendan). 2009-10-20 16:18:31 -07:00
Andreas Gal
ebb3f8e3e1 Replace JSPtrTable with js::Vector (523463, r=luke). 2009-10-20 15:08:28 -07:00
Graydon Hoare
c8132ae487 Bug 523416 - fix the blx_lr_broken implementation, r=sayrer. 2009-10-20 12:28:37 -07:00
Robert Sayre
8a46c69485 Merge. 2009-10-20 15:05:49 -04:00
Robert Sayre
6c87af99a3 Merge m-c to tracemonkey. 2009-10-20 15:02:54 -04:00
David Mandelin
b5cd5e2201 Bug 522817: move on-trace method write barrier after shape guard, r=brendan 2009-10-20 10:55:15 -07:00
Boris Zbarsky
9e8e8dfe2e Bug 521364. Make sure that TMFLAGS=stats shows all jitstats other than the platform-specific ones. r=lw 2009-10-20 13:42:02 -04:00
Ginn Chen
966787652d Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan 2009-10-20 14:28:19 +08:00
Ginn Chen
7cce950adf Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan 2009-10-20 14:05:05 +08:00
Robert Sayre
ca3f6c3582 Add inline requested in bug 523257. 2009-10-19 21:54:52 -04:00
Robert Sayre
402272136f Bug 523257 - remove some ComputeThis code duplication. r=mrbkap 2009-10-19 21:48:30 -04:00
Andreas Gal
aecd20f5d4 NativeARM.cpp: don't free reservation prematurely [nanojit] (523221, r=graydon). 2009-10-19 16:17:23 -07:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Daniel Holbert
16d6c9d4d9 Bug 521677: Use fputs instead of printf/fprintf in a few cases, to fix "format not a string literal and no format arguments" build warnings. r=dbaron 2009-10-19 08:03:00 -07:00
Brendan Eich
9f9a05b0c3 Don't build a stack frame to execute empty scripts (516827, r=igor). 2009-10-18 17:41:24 -07:00
Igor Bukanov
8d6fe936eb forcing tinderbox rebuild to force Linux/Windows rebuild for bug 521390 2009-10-18 22:23:27 +04:00
Igor Bukanov
d615c5e729 bug 521390 - avoid checking for malloc memory pressure when allocating GC things from free lists. r=brendan 2009-10-18 19:40:19 +04:00
Makoto Kato
a5ef524204 Bug 522360 - [js-ctypes] Support opening of DLLs without full path using the system PATH. r=dwitte 2009-10-18 20:11:52 +09:00
Luke Wagner
8f8e40faaa Bug 510360 - early return in json.cpp might skip necessary postamble (r=sayrer) 2009-10-17 23:30:40 -07:00
Brendan Eich
7931ae3667 Fix js_Emit1 return value tests (522920, r=dvander). 2009-10-17 18:42:58 -07:00
Robert Sayre
87a106a5ac WINCE bustage fix 2009-10-17 13:54:48 -04:00
Robert Sayre
56eec53a57 Merge tracemonkey to mozilla-central. 2009-10-17 11:54:50 -04:00
Olli Pettay
79701a2085 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Igor Bukanov
ac8b823506 bug 522775 - fixing GC free list management. r=brendan 2009-10-17 12:57:14 +04:00
Graydon Hoare
e976f3e19b Bug 522834 - Minor merge bits from Tamarin, r=gal. 2009-10-16 18:01:54 -07:00
Graydon Hoare
a74cf73b08 Bug 522773 - pick up some ARM changes, r=dvander.
--HG--
extra : rebase_source : e17665fc13bc4ad6e8e7f963d426145fe1dc9f5d
2009-10-16 14:26:17 -07:00
Benjamin Smedberg
3589e59b35 Whoops, unify build files from last commit. 2009-10-27 11:44:17 -04:00
Benjamin Smedberg
91f1d583be Merge mozilla-central to pick up additional backouts and pymake fix. 2009-10-23 11:22:12 -04:00
Chris Jones
e5481210f2 Merge mozilla-central to pick up unit test fixes 2009-10-22 20:33:36 -05:00
L. David Baron
4ebea4337e Fix two reftest.js mistakes in changeset d4fa46306138. (Bug 471579) r=ted 2009-10-22 16:36:24 -04:00
Brian Crowder
2c54700b47 Backed out changeset 9992a4a638e2 due to Tp regression (was bug 519843) 2009-10-21 07:57:08 -07:00
Brian Crowder
6d845e0e33 Bug 519843 - better behavior of js shell under Windows Mobile (no TTY), r=mrbkap 2009-10-20 12:11:51 -07:00
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Benjamin Smedberg
47962706bf Bug 523097 - Turn off MOZ_IPC for platforms where we currently don't build, and fix up ifdefs so that everything builds
--HG--
extra : rebase_source : 9da68ad54e7c378a4c9bbaac7b2166630827ec60
2009-10-19 09:55:03 -04:00
Blake Kaplan
c5601bd36b Make this message not catch the tinderbox's error parser. 2009-10-16 18:03:54 -07:00
David Mandelin
44ddeb70aa Bug 519363: temporary instrumentation to understand object creation scope assignment for js_Interpret topcrash, r=lw 2009-10-22 19:06:20 -07:00
Steven Johnson
22c340a45f Bug 522772 - add missing ifdef FEATURE_NANOJIT, r=dvander.
--HG--
extra : rebase_source : 502eecf14545dd14a4404a2d2cb418dafb36a2fb
2009-10-15 16:39:00 -07:00
Igor Bukanov
af1a5810f7 bug 505315 - constructing GC free lists during finalization. r=brendan 2009-10-16 10:10:54 +04:00
Atul Varma
bdb1e8e0d6 Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Robert Sayre
66f2fef6c4 Merge tracemonkey to mozilla-central. 2009-10-16 13:22:19 -04:00
Graydon Hoare
a32e357aaa Bug 522587 - clean up variadic macro avoidance code, r=gal. 2009-10-15 16:04:55 -07:00
Graydon Hoare
426e720124 Bug 522413 - remove uses of static avmcore::config, r=gal. 2009-10-15 16:02:59 -07:00
David Anderson
9936709fd7 Fixed another bogus assertion (bug 522569, r=brendan). 2009-10-15 15:57:15 -07:00
David Anderson
2cb9ec03b0 Removed bogus, noisy assertion related to JSOP_CALL and TRACE pairing (bug 522520, r=brendan). 2009-10-15 14:33:58 -07:00
Rich Walsh
5db3a4bf02 Bug 525396 - Implement New/DestroyGCChunk() for OS/2, fixing a build break, r=gal
--HG--
extra : rebase_source : 64efba17faf78702eda92f20791e6f8323f0be7d
2009-11-05 22:42:41 +01:00
Benjamin Smedberg
b7d3ba789d Unify rules.mk 2009-11-05 09:48:29 -05:00
Robert Sayre
d2ae303cb1 Merge tracemonkey to mozilla-central. 2009-11-04 17:57:42 -08:00
Igor Bukanov
9212853abd Backed out changeset 487b81c753c0 - landing of bug 505315 caused talos crashes across platforms. 2009-10-15 13:53:40 +04:00
Igor Bukanov
0d37930589 bug 505315 - constructing GC free lists during finalization. r=brendan 2009-10-15 11:41:08 +04:00
Andreas Gal
f11dbe6531 Mostly cosmetic arm merges, merge ARM fcmp(e)d changes (522403, r=graydon). 2009-10-14 17:53:31 -07:00
Andreas Gal
85a5e42a63 Follow-up for 522341, hide TM-specific configuration in NativeARM.h 2009-10-14 17:08:23 -07:00
Andreas Gal
a52d2bf397 Pickup indirect call and microsoft emulator bugfix from redux (522377, r=graydon). 2009-10-14 16:30:48 -07:00
Andreas Gal
342c060e74 Leave choice of runtime or compile-time customization of ARM arch to embedding (522341, r=rreitmai). 2009-10-14 15:45:45 -07:00
Graydon Hoare
bb3cb0015c Bug 522363 - remove debug-break, unused parameters on displacement check, r=dvander.
--HG--
extra : rebase_source : 13ef7b6d16e5b66bb70816cfdd417ab4f9bcd758
2009-10-14 15:30:00 -07:00
David Anderson
1664bfe0fe Removed bogus assert related to recursion (bug 522311, r=gal). 2009-10-14 15:19:23 -07:00
Graydon Hoare
d88df29f9d Bug 522316 - more miscellaneous drift from tamarin, r=dvander.
--HG--
extra : rebase_source : 7b92362823d4ef60ebced322c1588b6cd9f445e4
2009-10-14 13:48:00 -07:00
Andreas Gal
3d8162cf14 Fall off trace if Number.toString() reports an error (522330, r=brendan). 2009-10-14 13:41:40 -07:00
Andreas Gal
1ffbadef09 Avoid malloc and JS_dtobasestr for single digit numbers base != 10 (522195, r=brendan). 2009-10-14 13:25:20 -07:00
David Anderson
dbf3e1f3ca When traversing fragments, don't forget to count peers (bug 521169, r=gal). 2009-10-14 03:00:34 -04:00
Graydon Hoare
40c01b04b7 Bug 522153 - lirasm --random should use rand() not random(), r=nnethercote. 2009-10-13 18:29:55 -07:00
Graydon Hoare
e50571288c Bug 521506 - fix lirasm puts tests, r=gal.
--HG--
extra : rebase_source : 094bdb4389d33c0908f28b0da0ccccafca3621df
2009-10-13 18:24:57 -07:00
David Anderson
924ded9082 Cap JIT frames to the interpreter inline call count (bug 522136, r=brendan). 2009-10-13 17:22:11 -07:00
David Anderson
f7c7c124a8 Eagerly release frame marks during recursion (bug 521476, r=brendan). 2009-10-13 15:14:46 -07:00
Robert Sayre
f7049fba87 Merge mozilla-central to tracemonkey. 2009-10-13 03:57:21 -04:00
Andreas Gal
9d03f17cd2 Avoid JSArena as temp buffer in TraceRecorder::snapshot (variation of patch in bug 521880, r=me). 2009-10-12 22:41:08 -07:00
Andreas Gal
1eadb6d958 Backed out changeset 1a747dd43904 (bug 521880). 2009-10-12 18:00:48 -07:00
Bob Clary
71b812f50b bug 533027 - skip js1_5/Regress/regress-3649-n.js due to random oom related failures. 2009-12-09 14:41:45 -08:00
Bob Clary
e8d8d1ebe5 bug 531325 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-469927.js. 2009-12-09 14:41:45 -08:00
Bob Clary
59a6d5d846 bug 528717 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-470739.js. 2009-12-09 14:41:45 -08:00
Bob Clary
bac83c114b bug 496127 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-452498-01.js. 2009-12-09 14:41:45 -08:00
Brendan Eich
fe1a575d6a Disable test for bug 354998 in browser debug builds. 2009-12-04 13:46:52 -08:00
Robert Sayre
55c6f06ed3 Merge tracemonkey to mozilla-central. 2009-12-04 11:25:55 -05:00
Andreas Gal
8f9daae9e4 Avoid JSArena as temp buffer in TraceRecorder::snapshot (521880, r=luke). 2009-10-12 14:40:06 -07:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Dave Yeo
e1f3c5d519 [OS/2] Bug 520418 - build break due to empty short DLL names, r=pweilbacher 2009-10-12 10:33:20 +02:00