Commit Graph

12257 Commits

Author SHA1 Message Date
David Mandelin
ca8b7a1bd4 Bug 608868: check for non-native objects when binding in scope name ICs, r=dvander, a=beta8+ 2010-11-04 18:05:39 -07:00
Boris Zbarsky
c5a2cf663d Backed out changeset 298e753a1726 (bug 610370) due to test orange. 2010-11-08 16:45:51 -05:00
Boris Zbarsky
4f8630a253 Bug 610370. Make sure to hash shapes in dictionary lists too, if they need it. r=brendan, a=shaver 2010-11-08 15:18:18 -05:00
Luke Wagner
a09b2e2c71 Bug 610306 - MarkStackRangeConservatively in jsgc.cpp marked wrong objects on big endian system (r=gal)
--HG--
extra : rebase_source : ed1dcf2c3627127f6160845350d827d4da9e46ca
2010-11-08 09:28:20 -08:00
Luke Wagner
c8b83168a6 Bug 543100 - Shrink Parser::statement stack frame size (r=waldo)
--HG--
extra : rebase_source : f0e11ae51ced168b5c575a2840077393a1179d00
2010-11-05 11:10:02 -07:00
Luke Wagner
a5861fe116 Bug 603045 - JM: don't optimize away JSFRAME_HAS_RVAL check in debug mode (r=bhackett)
--HG--
extra : rebase_source : 6c975694160595fa65e0acf174b9b7f6c5997d56
2010-11-08 09:28:12 -08:00
Leon Sha
2a012f6591 Bug 610309 - Increase DEFAULT_MAX_STACK_SIZE to make 'make check' happy on sparc. r=gal 2010-11-08 15:01:12 +08:00
Leon Sha
a1abec16cb Bug 610303 - Function fpclassify in v8-dtoa/platform.cc may return random value. r=gal 2010-11-08 14:56:48 +08:00
David Anderson
7b4e37ac1d Fix pinned registers being clobbered while syncing under heavy pressure (bug 609970, r=dmandelin). 2010-11-05 16:57:11 -07:00
David Anderson
bba4e2e364 IC for JSOP_CALLELEM, re-landed (bug 604031, r=dmandelin). 2010-10-29 10:28:31 -07:00
David Anderson
4cf7772e50 Back out bug 604031 for re-landing. 2010-11-02 10:56:17 -07:00
Igor Bukanov
92b67c9caf bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Nicholas Nethercote
3faf0ec6c7 merge 2010-11-04 16:55:13 -07:00
Nicholas Nethercote
5d6cb0bd45 Bug 605700 - TM: improve naming in LIR dumps. r=lw. 2010-11-04 16:51:25 -07:00
Nicholas Nethercote
c8ae37081d Bug 607242 - TM: inline js_Array_dense_setelem_hole. r=gal. 2010-11-03 20:48:51 -07:00
David Mandelin
63c79a2f69 Bug 606662: Don't methodjit scripts that have sharps, r=dvander 2010-11-03 18:38:41 -07:00
Robert Sayre
d1a33fd04c Merge. 2010-11-03 18:38:11 -07:00
David Anderson
8e00f02dd7 Fix recompilation under jsd and simplify frame searching (bug 609363, r=lw, a=b7+). 2010-11-03 18:34:20 -07:00
Blake Kaplan
a4b38abdeb Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer 2010-11-03 18:04:22 -07:00
Chris Leary
5e66fb3ca8 Bug 608778: Rename JSString::MUTABLE to JSString::EXTENSIBLE. (r=jorendorff)
--HG--
extra : rebase_source : 411b842e9b23d3e856f32218f559348bd2f4cac3
2010-11-03 15:34:00 -07:00
Nicholas Nethercote
da155db4d8 Bug 609129 - TM: fix emitIf(), re-enable implicit guard optimization (TM-specific part). r=dvander. 2010-11-03 15:23:46 -07:00
Nicholas Nethercote
871fb12359 Update nanojit-import-rev stamp. 2010-11-03 15:07:11 -07:00
Nicholas Nethercote
d09fc9b6b7 Bug 609129 - TM: fix emitIf(), re-enable implicit guard optimization (NJ-specific part). r=dvander.
--HG--
extra : convert_revision : f348fd5b02118c7151d991f51d76abe69976952e
2010-11-03 15:04:51 -07:00
Werner Sharp (wsharp@adobe.com)
0be07ddc2a bug 601135. switch x86/x64 to use cvttsd2di. add documentation (+r nick)
--HG--
extra : convert_revision : 6e1ed02c675eafc3195d67439854ba1a7b4f7c13
2010-11-03 16:30:00 -04:00
Rick Reitmaier
9740d93c46 Fixup for lirasm Windows test failure
cygwin sed wasn't trimming the output in the same fashion
than osx's version of sed.  Removing the escape slash appears
to work.

--HG--
extra : convert_revision : cf0963c16a8c560566fdce0b7187db3a97a060a7
2010-11-02 20:48:44 -07:00
Rick Reitmaier
3e780fbc0a Poor winmo neglect killed the build
--HG--
extra : convert_revision : eb5465db2a02a3706d11f8fc1e35bb99cc7a1d04
2010-10-28 18:12:54 -07:00
Rick Reitmaier
a98e7f02ec Bug 602786 - lirasm: fix trivial Windows test failure (r=nnethercote)
--HG--
extra : convert_revision : fa319402f3bb2e661a6e906ea9d92b4f62a87b0e
2010-11-01 17:09:00 -07:00
Chris Leary
e5217dbc60 Fix build warning. 2010-11-03 12:15:22 -07:00
Chris Leary
9ff0cd58c9 Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan) 2010-11-03 12:09:24 -07:00
Paul Biggar
372664c735 Bug 582161 - Add test case. 2010-11-03 11:30:35 -07:00
Robert Sayre
28f659d794 Merge. 2010-11-02 18:53:40 -07:00
Robert Sayre
bb710d32b2 Bug 608763 - JSD breakpoint does not work. r=gal 2010-11-02 18:52:55 -07:00
Luke Wagner
eabe24988e Bug 593559 - JSFUN_CONSTRUCTOR should not use the same bit as JSPROP_READONLY (r=brendan)
--HG--
extra : rebase_source : af02c04c4ee2255aa938aef7b50b91587f061769
2010-11-02 17:40:46 -07:00
Luke Wagner
0a6acc2075 Bug 607243 - JS_New should report error on primitive return; JSProxyHandler::construct should not call JS_New (r=brendan)
--HG--
extra : rebase_source : e81f0f4fbfbfafe40a5827f01a1e6bb92103bb64
2010-11-02 17:39:05 -07:00
Luke Wagner
0499a94583 Bug 607659 - Avoid calling getters/setters from TraceRecorder::callNative (r=jorendorff)
--HG--
extra : rebase_source : f1cd30d6a50c12fc7884122aebeb69d9010b04d6
2010-11-02 17:36:26 -07:00
Nicholas Nethercote
335453513b Bug 607856 - long hang loading page (TM-specific part). r=dvander 2010-11-02 16:28:47 -07:00
Nicholas Nethercote
f5831e3fac Update nanojit-import-rev stamp. 2010-11-02 16:18:53 -07:00
Nicholas Nethercote
3bae3314c9 Bug 607856 - long hang loading page. r=dvander.
--HG--
extra : convert_revision : 18279f425cd8e3f63f7a13cd1b1b62cba57b7ecd
2010-11-02 16:16:40 -07:00
Edwin Smith
4fa79000db Bug 602387 - nanojit: make Register a non-numeric type on PPC (r=nnethercote+)
This patch removes REGINC(), and adds several operator overloads to
make working with Register values more convenient without introducing
implicit downcasts to int.

--HG--
extra : convert_revision : 7bec0eb6482c99dbf3051377d032d2698a7784f9
2010-11-02 15:43:39 -04:00
Rick Reitmaier
72e5feb3c9 Whitespace cleanup and comment out unused parameter
--HG--
extra : convert_revision : eb6ff4c45ba4edebad7f79fac7f13504f4140482
2010-11-01 16:20:22 -07:00
Rick Reitmaier
c348a161dc Bug 595034 - nanojit: harden via random no-op instruction insertion (r+nnethercote,wmaddox,edwsmith)
Insert no-op instructions when JIT'ing with the intention of making exploitable
patterns within the generated code less predicable.

--HG--
extra : convert_revision : d3116f2abd879b0b79a6cfb2f7817e36645cf915
2010-11-01 14:02:18 -07:00
David Mandelin
a41660d2e7 Bug 605274: properly detect OOMs in mjit vectors, r=dvander 2010-11-02 15:18:59 -07:00
Chris Leary
4d3fc89539 Bug 597811: Make mozJSComponentLoader use JSVERSION_LATEST. (r=sayrer) 2010-11-01 17:33:22 -07:00
Brendan Eich
2c853ae9ce Property enumeration order is altered after a method has been read (601399, r=jorendorff). 2010-10-26 19:12:40 -07:00
Nicholas Nethercote
f64646389e Bug 608313 - TM: AccSet assertion failure in typed arrays. r=dvander. 2010-11-01 17:25:30 -07:00
Andreas Gal
2e92e6a345 Switch compartments when walking stacks (bug 608800, r=mrbkap). 2010-11-01 16:18:01 -07:00
Blake Kaplan
c0e2873909 Bug 596031 - 'this' is wrong in getters and setters when a proxy object is on the prototype chain. r=brendan/jorendorff/gal
--HG--
extra : rebase_source : 609b96c4b461e33f0f79dc74f714edfa882d1da0
2010-10-29 10:42:35 -07:00
David Anderson
3c02390373 Fix Windows build. 2010-11-01 11:54:06 -07:00
David Anderson
8cbc4442fa Refactor SETELEM into an IC (bug 607293, r=dmandelin). 2010-11-01 11:14:58 -07:00
Bill McCloskey
49c7d74849 Bug 607196 - Remove bogus atom assertion in JSOP_DOUBLE (r=lw) 2010-10-31 10:38:06 -07:00
Johnny Stenback
7528c7b226 Remove new JS_ASSERT() that triggers during browser-chrome runs. Will investigate further. r=orange, a=orange 2010-10-30 22:51:35 -07:00
Andreas Gal
80039beea8 Merge from mozilla-central. 2010-10-30 21:57:42 -07:00
Robert Sayre
5ad2152acd Merge mozilla-central to tm. 2010-10-30 17:11:52 -04:00
Robert Sayre
aecb00a979 Follow-up fix for bug 595243. Don't try to place non-main thread scripts in debug mode, and don't attempt to set debug mode from a non-main thread. r=gal 2010-10-30 15:07:46 -04:00
Robert Sayre
03513401da Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Andreas Gal
142e029c97 Follow-up for bug 608142: disallow sending between main and non-main thread only (r=orange). 2010-10-30 08:39:53 -07:00
Andreas Gal
a82c4be516 Merge. 2010-10-30 06:01:38 -07:00
Andreas Gal
682ce67f2d Re-land bug 608142. 2010-10-30 06:01:25 -07:00
Jeff Walden
737b66b063 Merge backout. 2010-10-29 22:39:44 -07:00
Jeff Walden
27484886a8 Backed out changeset 71728ff7002c, seems to have turned mochitest-plain-2 orange. 2010-10-29 22:39:19 -07:00
Jeff Walden
f48a8e6d43 Merge backout. 2010-10-29 22:36:37 -07:00
Jeff Walden
ff603e73f4 Backed out changeset 85feecf161fe (Career Limiting Move? <http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15>), seems to have turned mochitest-plain-4 orange. 2010-10-29 22:31:12 -07:00
Johnny Stenback
03e709926a Backed out changeset e7436725f170 due to crashes in mochitest and elsewhere. a=backout 2010-10-29 17:33:29 -07:00
Robert Sayre
19cc79ccf3 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
Andreas Gal
4f2e656d40 Disallow sending JS functions to a different thread (608142, r=jst). 2010-10-29 15:03:44 -07:00
Paul Biggar
6e1d638c76 Merge backout. 2010-10-29 14:53:14 -07:00
Paul Biggar
01cf037eee Backed out changeset 66f4a212edeb (bug 605133). Configure broke shell and unclobbered-build with js-config problem. 2010-10-29 14:52:28 -07:00
Peter Van der Beken
18ce843491 Fix for bug 606705 (Browser crash when using many web workers [@ GCGraphBuilder::NoteXPCOMChild ] or beyond). r=jst, a=beta7+ 2010-10-29 14:43:02 -07:00
Peter Van der Beken
42793743d1 Fix for bug 606705 (Browser crash when using many web workers [@ GCGraphBuilder::NoteXPCOMChild ] or beyond). r=jst, a=beta7+ 2010-10-29 14:43:02 -07:00
Walter Meinl
e80289fa8a Bug 606834 - Fix int32/int32_t on OS/2 (r=daveryeo,wmccloskey) 2010-10-29 13:57:41 -07:00
Blake Kaplan
8b9d3ee3e5 Merge backout. 2010-10-29 12:55:36 -07:00
Blake Kaplan
8d23c3e1c4 Backed out changeset fcd3fcf8a35c. It broke deep wrapping. 2010-10-29 12:55:23 -07:00
Blake Kaplan
6317e3db02 Merge backout. 2010-10-29 10:48:19 -07:00
Blake Kaplan
ea9d8bbc17 Backed out changeset f76fd418024c. This was never meant to be checked in. 2010-10-29 10:48:09 -07:00
Blake Kaplan
7416dcca84 Bug 596031 - 'this' is wrong in getters and setters when a proxy object is on the prototype chain. r=brendan 2010-10-29 10:42:35 -07:00
Paul Biggar
5f3e99f798 Bug 605133 - Synchronize common areas of configure.in and js/src/configure.in. r=jimb 2010-10-28 12:23:00 -07:00
Robert Sayre
7d1a213607 Merge m-c to tm 2010-10-28 22:01:23 -04:00
Nicholas Nethercote
dfd14af5e6 Fix ARM bustage caused by bug 602703. 2010-10-28 18:58:58 -07:00
Nicholas Nethercote
505e8ac40a Bug 602703 - TM: create a layer over Nanojit's LIR creation API. r=lw. 2010-10-28 18:28:36 -07:00
Robert Sayre
05033a2e47 Merge m-c to tm 2010-10-28 21:26:36 -04:00
David Mandelin
d243e20633 Backout merge, a=backing out diagnostic for b7 blocker 2010-10-28 17:44:48 -07:00
David Mandelin
35fc61d36c Backed out changeset c133d3c084c0: now we want to measure if not doing sync stuff on background thread reduces crashes. 2010-10-28 17:44:24 -07:00
Luke Wagner
036c4f5377 Bug 606138 - Gatling gun should guard against clobbered callee/this (r=waldo) 2010-10-28 17:26:19 -07:00
Blake Kaplan
5df760df9e Bug 607799 - Make typeof wrapper(regexp) be function.
--HG--
extra : rebase_source : 36598f7a268721eb569215d0ccd6859c3cd88701
2010-10-27 18:02:28 -07:00
David Anderson
954c83cd7b IC for JSOP_CALLELEM (bug 604031, r=dmandelin). 2010-10-29 10:28:31 -07:00
Blake Kaplan
1802eb481e Bug 606585 - Make the compartment map use principals properly. r=peterv/bz
--HG--
extra : rebase_source : b4585beb4aa5f9f44cb02beb3f0f91212345f1f8
2010-10-26 23:57:31 -07:00
Nicholas Nethercote
03a06266f2 Update nanojit-import-rev stamp. 2010-10-28 15:44:27 -07:00
Nicholas Nethercote
e5312a6b54 Bug 607225 - nanojit: add MODRM() and SIB() to Nativei386.cpp, plus other clean-ups. r=rreitmai.
--HG--
extra : convert_revision : 5012f8eb917c654d4756025fd90f1f98a1f07626
2010-10-28 15:22:05 -07:00
Ginn Chen
6d2e0fc102 Bug 605427 Implement FpReg move on icc or fcc for asm_cmov() on SPARC r=wmaddox
--HG--
extra : convert_revision : ce344dfb7fcb8d6f8fea281074cac9c472cc9d0c
2010-10-29 05:51:39 +08:00
Ginn Chen
ee7eccd45b Bug 604334 add support for param number above 6 (many_params.in) for SPARC r=wmaddox
--HG--
extra : convert_revision : 5a600b5166ea320289291a5b8bf085d4e5dc8653
2010-10-29 05:49:05 +08:00
Ginn Chen
18b2762a54 Bug 603876 Add support for addjovi and subjovi on Sparc platform r=wmaddox
--HG--
extra : convert_revision : d372626d5b878cc31facbf9e58a5ab66e7af6a34
2010-10-29 05:46:22 +08:00
Werner Sharp (wsharp@adobe.com)
49253f7a60 bug 607630. SoftFloatFilter needs to support LIR_d2i (sr+ nnethercote)
--HG--
extra : convert_revision : f43789d6bdbd848b943f3aac937b545e0872beb9
2010-10-28 12:47:12 -04:00
Nicholas Nethercote
a61b8d48e4 Bug 607864 - TM: systematically annotate bytecode boundaries in LIR dumps. r=dmandelin. 2010-10-28 15:08:10 -07:00
Brian Hackett
c5760d4a28 Special case object lookup lambda in String.replace, bug 605317. r=jorendorff 2010-10-28 14:33:32 -07:00
David Anderson
ddabc8f166 Fix Windows orange. 2010-10-28 13:53:54 -07:00
David Anderson
41328585a9 Refactor and improve GETELEM IC (bug 602641, r=dmandelin). 2010-10-27 21:04:13 -07:00
Nicholas Nethercote
3a40c011d1 Update nanojit-import-rev stamp. 2010-10-27 21:45:20 -07:00
Nicholas Nethercote
bcf5f8be52 Bug 575850 - nanojit: generated better code for LIR_eqd on i386.
--HG--
extra : convert_revision : 8cb17c62aaa615416ac901106292b69f691c51cf
2010-10-27 21:03:29 -07:00
David Anderson
d4bbfae64f Backed out changeset 921334ab1ea5 2010-10-27 21:35:47 -07:00
David Anderson
a5d01b38c7 Refactor and improve GETELEM IC (bug 602641, r=dmandelin). 2010-10-27 21:04:13 -07:00