Commit Graph

7872 Commits

Author SHA1 Message Date
Igor Bukanov
702de8885c bug 528200 - replacing GC thing flags with a mark bitmap 2010-01-14 11:27:32 +03:00
Jason Orendorff
eb646c48c1 Fix DumpSubtree so it doesn't assert. r=nobody, DEBUG-only JS_PROPTREE_DUMPFILE-only code. 2010-01-13 15:33:55 -06:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Igor Bukanov
80b6667425 bug 530157 and bug 544603 - disabling for now tests based on the GC timing. The background GC thread made that unreliable. 2010-02-07 00:25:42 +03:00
Robert Sayre
7725097400 Backout the marking of the test in bug 544603. Igor has a different patch that will deal with it. 2010-02-07 10:08:23 -05:00
Robert Sayre
40453a8d5e Mark regress-404755.js as random. see bug 544603. 2010-02-07 10:00:40 -05:00
Ms2ger@gmail.com
8ac5baea31 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Jeff Walden
c6e83b6125 Bug 538482 - |case null| deoptimizes switch statements to use condswitch. r=jorendorff 2010-01-07 17:22:22 -06:00
Vladimir Vukicevic
37cc5c283f Backed out changeset fea4da580994 -- need to split LIR_f2i into nj-central and tm patches 2010-01-11 21:54:02 -08:00
Vladimir Vukicevic
373168d7d3 b=523251; add LIR_f2i; r=gal 2010-01-11 21:41:20 -08:00
Nicholas Nethercote
65deadfefa Update nanojit-import-rev stamp. 2010-01-12 15:30:15 +11:00
Nicholas Nethercote
b3361ed5f3 Bug 538060 - nanojit: improve 64-bit loads and stores in the X64 back-end. r=gal,rreitmai,edwsmith.
--HG--
extra : convert_revision : 1fd416d0954dc667073f3a92087c01fc23e5c3aa
2010-01-11 15:51:49 +11:00
Steven Johnson
3093a45e23 fix incorrect WinCE detection in CLZ (r=rreitmai,bug=538632)
--HG--
extra : convert_revision : dc59fb8a1810584ad2e0c61b49689f68d5894501
2010-01-08 11:17:07 -08:00
Steven Johnson
de49190585 rearrange code to work around MSVC compiler bug (r=nnethercote,bug=538504)
--HG--
extra : convert_revision : 01cfb2d0354910c6ccedec8a9885932b7c58e97b
2010-01-08 10:12:29 -08:00
Steven Johnson
04954aa494 nanojit/LIR.cpp: LIR_st32f is missing from live() (r=rreitmai,bug=538494)
--HG--
extra : convert_revision : 1dc443aa284f1a84957078757e681c54407ebd3f
2010-01-07 17:04:30 -08:00
Steven Johnson
db4338efde Modify nanojit::live, expose ReverseLister, add some options to VerboseWriter (r=edwsmith,graydon,bug=538000)
--HG--
extra : convert_revision : e5ef97918b7944b26105424580c36e4e042c35f4
2010-01-07 16:41:42 -08:00
Edwin Smith
127df225b6 Whitespace hygene (r=me)
--HG--
extra : convert_revision : f5f333d75636ed9e4c7869bdcf6aaa69beb35a2e
2010-01-07 13:05:33 -05:00
Nicholas Nethercote
f6d7e7b7d8 Bug 538049 - nanojit: problem with qjoin in ExprFilter. r=stejohns.
--HG--
extra : convert_revision : 08580609c2448559cd2866f8b34381dc34ed1488
2010-01-06 11:43:19 +11:00
Steven Johnson
9efa35156a Add NJ_USES_QUAD_CONSTANTS mode (and i386 implementation) to allow for faster float constants on CPUs without useful 64-bit immediates. Instead of allocating stack space for the constants (and filling them in via move-immediates), allocate data space for them and embed literal pointers into the code stream. (r=edwsmith, r=nnethercote, bug=533546)
--HG--
extra : convert_revision : 42048199209f5614ee62adaa25cc6bf75821911a
2010-01-05 15:28:40 -08:00
Blake Kaplan
89b461f976 Bustage fix -- We can't assert that constant folding worked. 2010-01-11 18:52:44 -08:00
Brendan Eich
a17ec0f3aa Bug 538593 - guardClass always does a JS_snprintf even though it usually doesn't use the result (r=dvander). 2010-01-11 18:48:08 -08:00
David Mandelin
7d217b4429 Bug 538314: add ad hoc closure test suite to trace-tests, r=jorendorff 2010-01-11 18:18:42 -08:00
David Mandelin
ac104211b4 Backed out changeset 70854fa518da -- toolkit/ files were changed by accident 2010-01-11 18:15:17 -08:00
David Mandelin
f9c31cbe84 BUg 538314: add ad hoc closure test suite to trace-tests, r=jorendorff 2010-01-07 13:14:20 -08:00
Vladimir Vukicevic
f3fa823190 No bug. Fix typed array tests; rs=brendan 2010-01-11 17:21:33 -08:00
Blake Kaplan
0d1d39c382 No bug. Fix GCC warnings. rs=brendan 2010-01-11 13:34:56 -08:00
Blake Kaplan
2453f5bb11 Bug 537673 - Don't constant-fold a parenthesized callee expression. r=jorendoff 2010-01-07 15:58:44 -08:00
Brendan Eich
d55d886969 Fix warnings (precog r=vlad). 2010-01-11 10:28:21 -08:00
Robert Sayre
1f623d596a Merge mozilla-central to tracemonkey. 2010-01-09 16:52:20 -05:00
Vladimir Vukicevic
11da29f6d4 b=538255; [quickstubs] add ability to negate/remove stubs included through wildcards; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
3f208aeae6 b=538258; [quickstubs] return types for traceable natives not fully resolved; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
cc8708cca8 b=534733, add support for fully custom quickstubs; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
ae1559c751 b=532774; add native typed arrays to JavaScript; r=brendan,jorendorff 2010-01-09 13:01:37 -08:00
Jesse Ruderman
093325f819 Fix bug-number comments in reftest.list files 2010-01-08 19:54:28 -08:00
Jesse Ruderman
7d4a1a8551 We forgot to remove this comment when re-enabling this test 2010-01-08 18:16:40 -08:00
David Mandelin
30f2d34524 Bug 538673: better handling for cross-platform path representations in jstest harness, r=waldo 2010-01-08 15:23:05 -08:00
Robert Sayre
779ad17584 Merge mozilla-central to tracemonkey. 2010-01-08 09:40:22 -05:00
Nicholas Nethercote
be42ab0516 Bug 538484 - TM: generating bogus "ov ld1" sequence. r=nnethercote. 2010-01-08 14:25:36 +11:00
David Anderson
3996e3ac0d Make sure trace native stack is 16-byte aligned (bug 534590, r=lw). 2010-01-07 17:20:00 -08:00
Jeff Walden
e505853af2 Adjust lookupswitch to bail if the value switched upon is not primitive, not if it's not a bunch of different types, for a little more efficiency. r=brendan 2010-01-07 17:09:48 -06:00
Brendan Eich
3cf53a31d6 Bug 513291 - JSOP_INITPROP should insist obj has own scope (JSOP_NEWINIT knows to do this; r=jorendorff). 2010-01-07 11:47:16 -08:00
Brendan Eich
f22c353c9c Bug 533258 - "Assertion failure: hasMethodBarrier()" with ckeditor (r=jorendorff). 2010-01-07 10:01:01 -08:00
Jeff Walden
51056b237b ...and one more bustage fix to change a test that assigned to undefined, seemingly for no reason, to assign to another otherwise-irrelevant global property (parseInt) instead. r=lumpy 2010-01-07 00:50:51 -06:00
Jeff Walden
76b9ccd2c6 Support embedding of |undefined| in lookupswitch, needed to fix bustage in a Mochitest where use of |case undefined| results in that value being embedded in the lookup table, now that |undefined| is an immutable global property. Anticipatory r=jorendorff, real review on this coming soon... 2010-01-07 00:17:10 -06:00
Jeff Walden
46907ab8ed Bug 537863 - Make various global properties (NaN, Infinity, undefined) readonly per ES5. r=jorendorff 2010-01-04 23:10:36 -06:00
David Mandelin
674b52f39e Bug 537304: fix spurious PASS output in trace-tests console output, r=jorendorff
--HG--
extra : rebase_source : c9fe259a9538c4446e201372b17131c6a6b9b2fd
2010-01-06 15:23:19 -08:00
Brendan Eich
85a5badeef ES5-conformance fix to make a new RegExp for each regexp literal evaluation (98409, r=igor/jwalden). 2010-01-06 15:12:54 -08:00
David Mandelin
2ab635fbd3 Bug 528644: do not generate JSOP_GETUPVAR in a generator called from eval, r=mrbkap 2010-01-06 14:33:52 -08:00
David Mandelin
91f6ce8767 Bug 537302: allow jstests shell harness to run from any directory, r=jorendorff 2010-01-06 14:05:41 -08:00
Ginn Chen
b26ece67a0 Bug 537371 [x86_64]nanojit failed to compile with Sun Studio r=gal 2010-01-06 15:25:56 +08:00
Ginn Chen
01e2876566 Bug 535765 debug build Firefox failed to start on Solaris r=gal 2010-01-06 15:24:30 +08:00
Jason Orendorff
9a9527f36f Merge backout of bug 98409. 2010-01-05 12:48:42 -06:00
Jason Orendorff
e5ac8476fd Backed out changeset 3862a7e48e79 due to tinderbox failures on js1_5/GC/regress-324278.js. 2010-01-05 12:48:09 -06:00
Nicholas Nethercote
35c7cbbb81 Bug 520714 - nanojit: distinguish 64-bit int and float loads/stores (TM-specific part). r=gal. 2010-01-05 15:14:53 +11:00
Nicholas Nethercote
3267ce577e Update nanojit-import-rev stamp. 2010-01-05 14:57:02 +11:00
Nicholas Nethercote
1022818501 Bug 520714 - nanojit: distinguish 64-bit int and float loads/stores. r=gal,rreitmai.
--HG--
extra : convert_revision : a19809f7ba60b4381b77b84363bebf0ff7cf9629
2010-01-05 14:03:49 +11:00
Nicholas Nethercote
c1aa4ffe1b Bug 503990 - nanojit: make isStmt() table-driven. r=rreitmai.
--HG--
extra : convert_revision : 4d331f0d6a044276be2638b3ea9a1cd35650c5e5
2010-01-05 10:46:34 +11:00
Brendan Eich
1b4fbd91e6 ES5-conformance fix to make a new RegExp for each regexp literal evaluation (98409, r=jwalden). 2010-01-04 12:25:44 -08:00
Jeff Walden
9b553541fa Bug 537725 - Adjust some exception-throwing code to use the proper APIs for no-argument messages, and fix handling of some primitive values passed as the Properties argument to Object.defineProperties. r=jorendorff 2010-01-04 13:48:30 -06:00
David Mandelin
0d7ee57043 Bug 532568: when setting upvars, write to outer trace native stack if needed, r=dvander 2010-01-04 11:31:10 -08:00
David Mandelin
2d8255bc72 Backout merge 2009-12-31 15:19:24 -08:00
David Mandelin
ca387b3441 Backed out changeset 107fc2833733 due to talos-v8 failure 2009-12-31 15:18:34 -08:00
Dan Witte
43983c1dbf Apply mozilla patch to libffi 3.0.9. b=537962, r=bsmedberg 2010-01-08 11:01:27 -08:00
Dan Witte
d008f0f82c Update libffi to 3.0.9. b=537962, r=bsmedberg 2010-01-08 11:01:25 -08:00
Robert Sayre
a674f83e07 merge mozilla-central to tracemonkey. 2009-12-31 12:35:57 -05:00
Brendan Eich
45c0afef62 Merge. 2009-12-30 13:50:31 -08:00
Brendan Eich
398f5f3b9b Bug 537204 - No more BOGUS_CX bogosities (r=jwalden). 2009-12-30 13:49:26 -08:00
Jeff Walden
025a44ebc4 Bug 492840 - Add new test to manifest. sr=mozbot 2009-12-30 15:23:38 -06:00
Jeff Walden
e59ff3661d Bug 492840 - Fix a conflict with myself in the previous push. Aaargh... 2009-12-30 15:20:21 -06:00
David Mandelin
6b21acfb18 Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander 2009-12-29 17:23:36 -08:00
Igor Bukanov
0553ca4a34 bug 536734 - more finalizer specializations. r=brendan 2009-12-30 14:06:26 +03:00
David Mandelin
4629cf448e Backout merge. 2009-12-29 17:21:33 -08:00
David Mandelin
4fbd808603 Backed out changeset 8a2d469e86e7 due to mochitest failures 2009-12-29 17:21:04 -08:00
David Anderson
b140c9d806 Fixed liveness-spew-only assertion with LIR_mod (bug 537023, r=nnethercote).
--HG--
extra : convert_revision : 8b948b2c98c6813285d0ddf630b27a9bc14c04f8
2009-12-29 16:27:09 -08:00
Jeff Walden
239eb61feb Oops, two more tests that use load(), mark them shell-only too. r=bustage 2009-12-29 17:11:11 -06:00
David Mandelin
5aa79db4bf Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander 2009-12-29 13:11:12 -08:00
Jeff Walden
cd687c4a78 Bustage fix, r=lumpy 2009-12-29 13:13:49 -06:00
Edwin Smith
169edd70d1 Fix PPC alignment of immediate quads (usually doubles) (bug 477779 r=stejohns+ r=rreitmai+)
--HG--
extra : convert_revision : 5218b6ab33db0ebfbb8c555a6d42d2074c9c3a8e
2009-12-24 10:13:32 -05:00
Nicholas Nethercote
8d12f8e105 Bug 536326 - nanojit: fix X64 asm printing problems. r=dvander.
--HG--
extra : convert_revision : dd5319f481147c1083ae32c57ce83db65eb0128c
2009-12-24 11:35:30 +11:00
Nicholas Nethercote
af8581791c Bug 536098 - nanojit: speed up intersectRegisterState(). r=edwsmith.
--HG--
extra : convert_revision : 12013e9b8fab0168bc26e2e04fe9779e5aed2559
2009-12-22 19:47:17 -08:00
Brendan Eich
9a805a7cae Disassemble function upvars a bit (496921, r=mrbkap). 2010-01-04 16:56:25 -08:00
Jeff Walden
3a29434381 Adjust testing for Object.defineProperties(obj, string) to account for index properties showing up as enumerable on String objects. r=sparky 2010-01-04 15:53:50 -06:00
David Mandelin
6479d75e0d Bug 536748: fix argument index typo, r=gal 2010-01-04 13:36:06 -08:00
Shailen
1ede8845c9 Bug 526446 - "AIX Compilation error for 3.7a1pre source "/home/firefox/mozilla-central/js/src/jsvector.h", line 427.5: 1540-0130 (S) "AP" is not declared" [r=lw] 2009-11-04 03:03:00 -06:00
Shailen
17065e5b9c Bug 526436 - "AIX Compilation error for 3.7a1pre source js/src/jsvector.h", line 677.21: 1540-0274 (S) The name lookup for "PointerRangeSize" did not find a declaration" [r=lw] 2009-12-18 22:43:00 -06:00
Ms2ger
6e5eb0673b Bug 530171 - Correctly handle null arguments to nsIDOMTokenList's methods, r=slvain.pasche, sr=olli.pettay 2009-12-30 18:29:40 -05:00
Brian Crowder
d54cb40dda # vim: se ft=diff :
Bug 519843 - "JS shell on WinCE should run as if it NEVER has a tty, not as if it ALWAYS does" [r=mrbkap]
2009-09-30 15:41:00 -07:00
Jeff Walden
49c30c2502 Bug 492840 - ES5: Implement Object.create. r=mrbkap 2009-09-08 15:59:14 -07:00
Jeff Walden
9613c2771b Bug 430133 - Address an overlooked review comment. r=sparky 2009-12-30 14:25:27 -06:00
Blake Kaplan
5bc262e45e Bug 514081 - Don't overload the parent slot in SJOWs. r=jst 2009-09-01 19:03:53 -07:00
L. David Baron
cff72bcc27 Bump mozilla-central version to 1.9.3a2pre/3.7a2pre. CLOSED TREE 2010-02-05 11:36:14 -08:00
Igor Bukanov
209d509752 bug 543839 - followup to skip the test if evalcx is not available. This should fix jsreftest orange CLOSED TREE 2010-02-05 19:14:08 +03:00
Robert Sayre
e9eee093c7 Fix newline and merge. CLOSED TREE. 2010-02-05 11:03:19 -05:00
Igor Bukanov
d0b84ce34b bug 543839 - js_NonEmptyObject must lock the object. r=jorendorf 2010-02-05 10:41:54 +03:00
Brendan Eich
acfb6b1ec3 Push fix for 543565 for alpha. 2010-02-04 17:35:20 -08:00
David Mandelin
ddd35e28f0 Bug 544160: only write fun->nargs values to Call object on trace, r=dvander 2010-02-03 18:07:27 -08:00
Luke Wagner
bca83949d6 Bug 543558 - Make sure we're in a request when calling JS_SaveFrameChain/JS_RestoreFrameChain. r=mrbkap 2010-02-04 16:37:43 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Robert Sayre
62ad0ec794 Merge tracemonkey to mozilla-central. 2010-01-31 10:12:39 -05:00
Jesse Ruderman
e26dab4047 Disable randomly-orange, likely-bogus test. See bug 524788 2010-01-29 22:33:10 -08:00
Daniel Holbert
2d27756ba3 merge after backing out c7a04be6904 on suspicion of causing bug 543034 2010-01-29 18:56:08 -08:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Vladimir Vukicevic
6b2983c1c8 fix some warnings and add some xpconnect flair, r=mrbkap 2010-01-26 18:14:15 -08:00
Daniel Holbert
284edc68e6 Bug 542054: Fix warning spam in jstypedarray.cpp (unsigned/signed comparison, control reaches end of non-void function) r=vlad 2010-01-25 15:02:36 -08:00
Blake Kaplan
2eb1bb72f6 Bug 541742 - Make XPCNativeWrapper.unwrap work. r=bzbarsky 2010-01-25 11:58:26 -08:00
Phil Ringnalda
08917990d9 Bug 541810 - remove obsolete comment before sqautherie wets himself over the horror of not having the comments synced between the / and /js/src/ copies 2010-01-24 20:21:04 -08:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Vladimir Vukicevic
2a8fc41f02 b=533663; use js typed arrays in webgl; js followup; r=brendan 2010-01-22 13:34:23 -08:00
Vladimir Vukicevic
03c73ffad6 b=533663; use js typed arrays in webgl; xpconnect portion; r=mrbkap 2010-01-22 13:34:07 -08:00
Vladimir Vukicevic
613ab33618 b=539748; [qsgen] handle .* and - better; r=jorendorff 2010-01-22 13:26:25 -08:00
Olli Pettay
19050031e6 Bug 537595 - Quickstub .localStorage, r=honzab.moz@firemni.cz 2010-01-07 12:38:30 +02:00
Ginn Chen
48924ed436 Bug 537369 Failed to build with --enable-dtrace for 64bit libraries r=bsmedberg 2010-01-06 15:02:52 +08:00
Ginn Chen
abc4008b94 Bug 537371 [x86_64]nanojit failed to compile with Sun Studio r=gal 2010-01-06 15:01:17 +08:00
Ginn Chen
bb66f36dbb Bug 535765 debug build Firefox failed to start on Solaris r=gal 2010-01-06 14:59:20 +08:00
Blake Kaplan
36f08cfbb8 Bug 531364 - Add a function call here. r=peterv sr=bzbarsky 2010-01-05 15:03:04 -08:00
Walter Meinl
c74fe7e4a8 Get libffi 3.0.8 building on OS/2. b=522118, r=dwitte 2010-01-05 13:39:56 -08:00
Walter Meinl
a221dcf2a1 Make ctypes unit tests work on OS/2. b=522118, r=dwitte 2010-01-05 13:30:26 -08:00
Reed Loden
295cc3e168 Bug 533397 - "Debug builds exit when converting "1e-400" to a Number" [r=gal r=wtc] 2010-01-05 01:13:57 -06:00
Dan Witte
ef98ce6e05 Backing out change. 2010-01-03 06:04:42 -08:00
Dan Witte
d0b0513b6e Testing solaris patch. Will back out after one cycle. 2010-01-03 05:00:13 -08:00
Dan Witte
c5c3ab3fc3 Backing out change. 2010-01-02 20:26:33 -08:00
Dan Witte
2e71a6bac6 Remove solaris-specific patch to test the build. Will back out after a cycle. 2010-01-02 19:44:41 -08:00
Michael Wu
a405204a33 Bug 536440 - Remove unnecessary HOST_AR setting, r=ted 2010-01-21 15:11:55 -08:00
Jeff Walden
9308517cfc Bug 539488 - |var| statements for existing, read-only/permanent properties should not be errors. r=jorendorff 2010-01-20 13:58:36 -08:00
Blake Kaplan
12fc9781fa No bug. Add a wrapper test. rs=sicking 2010-01-18 16:54:29 -08:00
David Anderson
5e74e0424f Fixed x64 assertion in tracing JSOP_LENGTH on arguments (bug 539965, r=dmandelin). 2010-01-15 12:05:01 -08:00
Makoto Kato
a0bc68ebf2 Bug 539378 - Remove MOZ_BITS macro from tree. r=ted 2010-01-19 14:12:09 +09:00
Jesse Ruderman
8da03a0eb0 Disable some bogus perf tests trying to be unit tests. Fixes orange bug 540511. Replacing the tests is bug 540512. 2010-01-18 17:45:08 -08:00
Wolfgang Rosenauer
587a4816f7 Follow up for Bug 536352 (missing null check and memory leak in nsinstall.c) to fix orange 2010-01-18 12:38:17 +01:00
David Mandelin
fac636c9f6 Bug 539553: adding one more test case for the new on-trace arguments.length LIR, no_r=me 2010-01-14 18:12:54 -08:00
Jason Orendorff
6a64e94696 Bug 539553 - Correctness regression on the r-tree benchmark. r=dmandelin. 2010-01-14 18:23:05 -06:00
Peter Van der Beken
9612080734 Fix for bug 428229 (Unable to override addEventListener), quickstub addEventListener. r=bz.
--HG--
extra : rebase_source : 1e8779a8089e19f56c51ae34deed7284147df2ab
2010-01-13 14:50:01 +01:00
Peter Van der Beken
812feed9d8 Followup for bug 534341 (XPConnect should not unroot globals of non-main thread contexts). r=bent, sr=jst.
--HG--
extra : rebase_source : 1a21a5b4646b0d1bd4b2a20bbbe460bba7fc78fc
2010-01-13 14:50:01 +01:00
timeless@mozdev.org
66ade3257d Bug 451187 JS causes a crash in nspr [@ Bfree ]
freedtoa should be marked as static as the data type returned by these implementations does not need to be freed with it
r=crowder
2010-01-13 21:21:52 +01:00
Robert Sayre
6a3b57172b Bustage fix for non-JIT builds. Following up bug 474500. 2009-12-19 07:46:35 -05:00
Andreas Gal
2943a7a949 Bug 474500 - TM: Need an API to flush and (optionally?) deallocate the code cache per thread. 2009-12-28 09:46:50 -08:00
L. David Baron
ce5c0c48c2 Don't read before the beginning of a string in Atob. (Bug 494105) r=mrbkap 2009-12-26 19:03:57 -05:00
Robert Sayre
d56b9f7fc4 Merge mozilla-central to tracemonkey. 2009-12-24 08:57:39 -08:00
Igor Bukanov
a9c4fac55a bug 534590 - eliminating GCF_LOCK flag. r=brendan 2009-12-24 12:31:07 +03:00
David Mandelin
a4022f7c34 Fix style nits from bug 440926, no_r=me 2009-12-23 18:56:50 -08:00
Steve Harper
a4bcebed1c Use inverse upcase instead of downcase per ECMA-262 for case-insensitive matching, r=dmandelin 2009-12-23 18:48:53 -08:00
Blake Kaplan
a950e7cc20 Bug 536512 - Ignore security wrappers when computing instanceof. r=brendan
--HG--
extra : rebase_source : 685f05cbb79288a976242c2b4908023a7ed1b035
2009-12-23 14:09:08 -08:00
Blake Kaplan
55d140a7e2 Bug 536562 - Don't crash on null. r=dbaron
--HG--
extra : rebase_source : a8fb13c8024deb4c09bd592b91632cbee9bbeeda
2009-12-23 14:02:02 -08:00
Andreas Gal
446ede1cce Fixed recent softfloat filter regression (bug 535957, r=dvander). 2009-12-23 14:01:10 -08:00
Andreas Gal
31998e704d Fixed recent softfloat filter regression in TM ARM code (bug 535957, r=dvander). 2009-12-23 14:01:10 -08:00
Nicholas Nethercote
f16eeb006c Update nanojit-import-rev stamp. 2009-12-23 13:28:40 +11:00
Steven Johnson
147c31c411 speed up AR::validate (r=nnethercote,bug=473769)
--HG--
extra : convert_revision : 0ff411e99654f590121e90a93345257b14442721
2009-12-22 17:32:49 -08:00
Steven Johnson
12ce52af94 AR::freeEntryAt could underrun the _entries array, leading to crashiness (r=rreitmai,bug=536378)
--HG--
extra : convert_revision : 6937b91b3b20430521eb476adba4f124beaac216
2009-12-22 16:59:36 -08:00
Steven Johnson
5f7e44706c add a value to LInsHashKind to outsmart compilers that will insist last+1 is impossible (r=edwsmith,bug=535861)
--HG--
extra : convert_revision : e2a738ba767ebda6d981964bbefa8bd607e7f437
2009-12-22 16:09:19 -08:00
Steven Johnson
3a3398c372 add LIR_fcall to assert in NativeX64.cpp (r=edwsmith,bug=536446,bug=536367)
--HG--
extra : convert_revision : 858787956747e14e37b22d1a6b788b7d5cc86368
2009-12-22 16:02:09 -08:00
Nicholas Nethercote
10ffb4c3ce WinNT bustage fix for bug 536288. r=me.
--HG--
extra : convert_revision : 427799622bd9eddf258b8b339b3c9a093b9cca04
2009-12-22 21:41:40 +11:00
Nicholas Nethercote
1c0554f24b Bug 524640 - nanojit: avoid calling releaseRegisters() twice. r=gal.
--HG--
extra : convert_revision : 5af925a7a5ceae6ab8bb9219585bfacccdf56ef0
2009-12-22 21:37:49 +11:00
Nicholas Nethercote
e34229bf2e lirasm: test LIR_alloc more thoroughly with --random. r=stejohns.
--HG--
extra : convert_revision : 7f70f215101b86275de319f714aa5da665732a66
2009-12-22 15:52:16 +11:00
Steven Johnson
c02e6ad94c crank NJ_MAX_STACK_ENTRY back down to 4096 for x86,x64,ppc: 16384 is too high for safety under Win32's default stack space setting
--HG--
extra : convert_revision : b4b4509f96c090c91952c0ea02314af86835137a
2009-12-21 16:10:49 -08:00
Nicholas Nethercote
78ed93a8e9 Follow-up for 504507 -- get the retTypes right for ldcsb/ldcss. r=me.
--HG--
extra : convert_revision : 52667ba8b5fe79f693cf3dc07b733fdb8fff6a24
2009-12-22 10:06:15 +11:00
Edwin Smith
245eaeb9f7 Whitespace hygene (r=me)
--HG--
extra : convert_revision : b7a4852a92d3ceb74592c1da0e1cd0beace84eb5
2009-12-21 15:05:48 -05:00
Steven Johnson
4015262424 Increase NJ_MAX_STACK_ENTRY on desktop systems, revise search algo in AR (r=nnethercote,r=edwsmith,bug=473769)
--HG--
extra : convert_revision : 0a12bb3f8436feac1814bfdd25dde1afcd050c0a
2009-12-21 12:03:59 -08:00
Nicholas Nethercote
c44c200044 Sparc bustage fix for bug 516347. r=me.
--HG--
extra : convert_revision : 2c51eb29cd2f8940af716f36b1158085e522aeb1
2009-12-22 06:09:38 +11:00
Steven Johnson
360031a709 fix windows build breakage
--HG--
extra : convert_revision : e4bce7ea53c77d9bec640d68c98c917909538fe3
2009-12-21 11:03:02 -08:00
Steven Johnson
f6bd527266 Encapsulate AR structure (r=nnethercote,bug=473769)
--HG--
extra : convert_revision : a2bdfa990384135e642f027d79dd7c01c48e8994
2009-12-21 10:51:57 -08:00
Nicholas Nethercote
344ea362a6 Bug 524632 - nanojit: utilise odd-numbered slots in CseFilter hash table. r=edwsmith.
--HG--
extra : convert_revision : df9b5fec8e0c886d003f304048a8e8f3735229aa
2009-12-21 15:40:14 +11:00
David Anderson
38be9063e9 Fixed lazy import regression in upvar resolution, take two (bug 535930, r=dmandelin). 2009-12-22 16:21:25 -08:00
David Anderson
69279e0a58 Fixed charCodeAt inparam being aggressively, and incorrectly, specialized (bug 536445, r=bz). 2009-12-22 15:53:28 -08:00
Igor Bukanov
3a66cb93c4 bug 528645 - js_IsAboutToBeFinalized must check for static strings. r=wagnerg 2009-12-22 23:50:44 +03:00
Robert Sayre
51f333193a Merge mozilla-central to tracemonkey. 2009-12-22 09:46:30 -05:00
David Anderson
91eca0a020 Merge. 2009-12-21 16:19:33 -08:00
David Anderson
99e1c6501b Backed out changeset f7cff6dd16f1 2009-12-21 16:19:12 -08:00
David Anderson
4f11660a57 Fixed tracing CALLELEM on arguments not setting an outparam on the stack (bug 535760, r=dmandelin). 2009-12-21 11:51:23 -08:00
David Anderson
c2660f9269 Fixed lazy import regression in upvar resolution (bug 535930, r=dmandelin). 2009-12-21 11:49:23 -08:00
Benjamin Smedberg
5282eec210 Merge backout of bug 474500 (API to flush the JIT code cache) because of build bustage. CLOSED TREE checkin. 2009-12-21 09:59:53 -05:00
Benjamin Smedberg
f92278ab68 Backed out changeset 94561cb0f0bd, bug 474500 because of static-analysis bustage. 2009-12-21 09:55:45 -05:00
Benjamin Smedberg
c13e44570f Fixing build bustage from bug 528004 and bug 532072: sync config/ and js/src/config, for checkin to CLOSED TREE 2009-12-21 09:42:35 -05:00
Oleg Romashin
2541cfdd66 Bug 532608 - osso-mem.h used but not added to system-headers, r=benjamin 2009-12-21 13:32:36 +02:00
Nicholas Nethercote
9393dd8a59 Bug 536113 - TM: make trace-tests.py --valgrind less noisy. r=sayrer. 2009-12-21 16:53:57 +11:00
Nicholas Nethercote
2cb3972bea Update nanojit-import-rev stamp. 2009-12-21 15:11:40 +11:00
Nicholas Nethercote
979b04de2a Bug 527754 - CseFilter not able to handle downstream modification of instructions (take 2). r=gal,rreitmai.
--HG--
extra : convert_revision : b9640e93e1efe3c24e90afef0127e71ecef47ac4
2009-12-21 12:41:22 +11:00
Nicholas Nethercote
7c3a5b4e1e Update nanojit-import-rev stamp. 2009-12-21 09:26:12 +11:00
Robert Sayre
e308a08ec8 Bustage fix for non-JIT builds. Following up bug 474500. 2009-12-19 07:46:35 -05:00
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