Граф коммитов

23494 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden 459c989f0d Back out 9e5cd5815d4d, our own tests turn it orange -- paging compartments people... r=#ffa500 2010-11-08 18:05:54 -08:00
Chris Jones 920bb1a253 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Brendan Eich f1bdefa97e Bug 609617 - delete(eval(...)) calls indirect eval (r=jimb). 2010-11-04 16:06:08 -07:00
Jeff Walden 760af2103a Bug 608855 - Make compartment checks fatal in release builds. r=gal 2010-11-01 16:54:21 -07:00
Jeff Walden 6007bba61c Bug 609256 - With strict this, there's no longer any need to compute this when a syntactically direct eval doesn't resolve to the eval function. r=luke 2010-11-08 16:14:29 -08:00
Jeff Walden 92f02d9be7 Bug 608959 - Don't call non-scripted getters with a proxy as its |this|, because that would require most non-scripted getters to unwrap and maybe do some prototype-chain walking. r=mrbkap 2010-11-04 15:53:50 -07:00
Jeff Walden 87e5f9feb4 Rename a JS test from *.diff to *.js. r=iamsosmrt
--HG--
rename : js/src/tests/ecma_5/misc/explicit-undefined-optional-argument.diff => js/src/tests/ecma_5/misc/explicit-undefined-optional-argument.js
2010-11-04 15:51:59 -07:00
Luke Wagner 087365c459 Bug 609075 - speed up JSString::flatten a bit, part 2 (r=gal) 2010-11-08 14:35:30 -08:00
Luke Wagner 0f498d9f3f Bug 609075 - speed up JSString::flatten a bit, part 1 (r=gal) 2010-11-08 14:35:29 -08:00
Luke Wagner 04cd75585d Bug 608120 - optimize js_ValueToString on int32s (r=waldo) 2010-11-08 14:35:27 -08:00
Luke Wagner 8ad5baeaa2 Fix strict-aliasing warning from 18d56745c3e6
--HG--
extra : rebase_source : 446fc01cba89ea45825cd1dc10716a05b9ec9818
2010-11-08 14:35:06 -08:00
David Mandelin 2d9896d9a9 Bug 486653: fix minor warning for return value 2010-11-08 14:06:38 -08:00
David Mandelin 9355447e02 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 68a917ab7c Backed out changeset 298e753a1726 (bug 610370) due to test orange. 2010-11-08 16:45:51 -05:00
Boris Zbarsky 012d170212 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 42b169c35f 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 7b890bf9a3 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 06445cbbd8 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 fa596854d6 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 d8d30f2572 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 d3dc54a9cc Fix pinned registers being clobbered while syncing under heavy pressure (bug 609970, r=dmandelin). 2010-11-05 16:57:11 -07:00
David Anderson 98d93bcdce IC for JSOP_CALLELEM, re-landed (bug 604031, r=dmandelin). 2010-10-29 10:28:31 -07:00
David Anderson 0a62714a04 Back out bug 604031 for re-landing. 2010-11-02 10:56:17 -07:00
Igor Bukanov 20b25b57f4 bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Nicholas Nethercote 34cc5b7ddf merge 2010-11-04 16:55:13 -07:00
Nicholas Nethercote ecfdd744af Bug 605700 - TM: improve naming in LIR dumps. r=lw. 2010-11-04 16:51:25 -07:00
Nicholas Nethercote e9d5751a7b Bug 607242 - TM: inline js_Array_dense_setelem_hole. r=gal. 2010-11-03 20:48:51 -07:00
David Mandelin b5a7257478 Bug 606662: Don't methodjit scripts that have sharps, r=dvander 2010-11-03 18:38:41 -07:00
Robert Sayre b15eb6ea33 Merge. 2010-11-03 18:38:11 -07:00
David Anderson 488c66f075 Fix recompilation under jsd and simplify frame searching (bug 609363, r=lw, a=b7+). 2010-11-03 18:34:20 -07:00
Blake Kaplan be6c058add Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer 2010-11-03 18:04:22 -07:00
Chris Leary 731cfa2195 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 32d41f7497 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 de93a22693 Update nanojit-import-rev stamp. 2010-11-03 15:07:11 -07:00
Nicholas Nethercote 2eab028c08 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) 1f7c4b70ef 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 2cfcc4bf66 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 537802162c Poor winmo neglect killed the build
--HG--
extra : convert_revision : eb5465db2a02a3706d11f8fc1e35bb99cc7a1d04
2010-10-28 18:12:54 -07:00
Rick Reitmaier bfc9a79370 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 f6f517569d Fix build warning. 2010-11-03 12:15:22 -07:00
Chris Leary 26b792626c Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan) 2010-11-03 12:09:24 -07:00
Paul Biggar 8005f25acc Bug 582161 - Add test case. 2010-11-03 11:30:35 -07:00
Robert Sayre a06999bff5 Merge. 2010-11-02 18:53:40 -07:00
Robert Sayre 4eabdb36d1 Bug 608763 - JSD breakpoint does not work. r=gal 2010-11-02 18:52:55 -07:00
Luke Wagner a0f08f462b 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 a0495a360b 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 b37c7caf70 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 032f81e6fb Bug 607856 - long hang loading page (TM-specific part). r=dvander 2010-11-02 16:28:47 -07:00
Nicholas Nethercote d18519849a Update nanojit-import-rev stamp. 2010-11-02 16:18:53 -07:00
Nicholas Nethercote 1f2bae258b Bug 607856 - long hang loading page. r=dvander.
--HG--
extra : convert_revision : 18279f425cd8e3f63f7a13cd1b1b62cba57b7ecd
2010-11-02 16:16:40 -07:00
Edwin Smith 231b69d1a1 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 253b09f6a5 Whitespace cleanup and comment out unused parameter
--HG--
extra : convert_revision : eb6ff4c45ba4edebad7f79fac7f13504f4140482
2010-11-01 16:20:22 -07:00
Rick Reitmaier 235f45350f 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 7f14fe9448 Bug 605274: properly detect OOMs in mjit vectors, r=dvander 2010-11-02 15:18:59 -07:00
Chris Leary 1d42c82cd9 Bug 597811: Make mozJSComponentLoader use JSVERSION_LATEST. (r=sayrer) 2010-11-01 17:33:22 -07:00
Brendan Eich 5be970ddde Property enumeration order is altered after a method has been read (601399, r=jorendorff). 2010-10-26 19:12:40 -07:00
Nicholas Nethercote f32bccfad4 Bug 608313 - TM: AccSet assertion failure in typed arrays. r=dvander. 2010-11-01 17:25:30 -07:00
Andreas Gal faa66de714 Switch compartments when walking stacks (bug 608800, r=mrbkap). 2010-11-01 16:18:01 -07:00
Blake Kaplan d52d916c3c 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 6088766540 Fix Windows build. 2010-11-01 11:54:06 -07:00
David Anderson dc2f37eeac Refactor SETELEM into an IC (bug 607293, r=dmandelin). 2010-11-01 11:14:58 -07:00
Bill McCloskey b8ee053c3a Bug 607196 - Remove bogus atom assertion in JSOP_DOUBLE (r=lw) 2010-10-31 10:38:06 -07:00
Johnny Stenback 0e5ae3f0cd 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 f05765cd70 Merge from mozilla-central. 2010-10-30 21:57:42 -07:00
Robert Sayre c5115c4b9d Merge mozilla-central to tm. 2010-10-30 17:11:52 -04:00
Robert Sayre f02976c106 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 5a5c362199 Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Andreas Gal 8cb7d1bfed 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 d51dc8a76e Merge. 2010-10-30 06:01:38 -07:00
Andreas Gal 61d2b47c57 Re-land bug 608142. 2010-10-30 06:01:25 -07:00
Jeff Walden 47c800275c Merge backout. 2010-10-29 22:39:44 -07:00
Jeff Walden d59e03c365 Backed out changeset 71728ff7002c, seems to have turned mochitest-plain-2 orange. 2010-10-29 22:39:19 -07:00
Jeff Walden b9364f4646 Merge backout. 2010-10-29 22:36:37 -07:00
Jeff Walden c25615a4b0 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 d5d011ba99 Backed out changeset e7436725f170 due to crashes in mochitest and elsewhere. a=backout 2010-10-29 17:33:29 -07:00
Robert Sayre b9496b2349 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
Andreas Gal ee815cae3c Disallow sending JS functions to a different thread (608142, r=jst). 2010-10-29 15:03:44 -07:00
Paul Biggar ec44ba6ad3 Merge backout. 2010-10-29 14:53:14 -07:00
Paul Biggar 14e69fa592 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 5c131df418 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 6a0760b48b 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 bee424f9ea Bug 606834 - Fix int32/int32_t on OS/2 (r=daveryeo,wmccloskey) 2010-10-29 13:57:41 -07:00
Blake Kaplan cc79f6a726 Merge backout. 2010-10-29 12:55:36 -07:00
Blake Kaplan ef6962619f Backed out changeset fcd3fcf8a35c. It broke deep wrapping. 2010-10-29 12:55:23 -07:00
Blake Kaplan 447675f5c1 Merge backout. 2010-10-29 10:48:19 -07:00
Blake Kaplan dd3b4a3185 Backed out changeset f76fd418024c. This was never meant to be checked in. 2010-10-29 10:48:09 -07:00
Blake Kaplan 2c136f98e5 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 79ba7ec390 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 982f3699aa Merge m-c to tm 2010-10-28 22:01:23 -04:00
Nicholas Nethercote 169cb1eb0e Fix ARM bustage caused by bug 602703. 2010-10-28 18:58:58 -07:00
Nicholas Nethercote 12cae856ae Bug 602703 - TM: create a layer over Nanojit's LIR creation API. r=lw. 2010-10-28 18:28:36 -07:00
Robert Sayre 553a89f447 Merge m-c to tm 2010-10-28 21:26:36 -04:00
David Mandelin bbaade8244 Backout merge, a=backing out diagnostic for b7 blocker 2010-10-28 17:44:48 -07:00
David Mandelin 3c53ecca56 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 6e14f48d41 Bug 606138 - Gatling gun should guard against clobbered callee/this (r=waldo) 2010-10-28 17:26:19 -07:00
Blake Kaplan cc2670220a Bug 607799 - Make typeof wrapper(regexp) be function.
--HG--
extra : rebase_source : 36598f7a268721eb569215d0ccd6859c3cd88701
2010-10-27 18:02:28 -07:00
David Anderson 86d023b817 IC for JSOP_CALLELEM (bug 604031, r=dmandelin). 2010-10-29 10:28:31 -07:00
Blake Kaplan 1a8af95d2e 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 a33fc7397d Update nanojit-import-rev stamp. 2010-10-28 15:44:27 -07:00
Nicholas Nethercote 1fc09caf80 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 e597faeb24 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 d055e09af2 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 2b5775c643 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) 77d5f0c4f2 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 ebce6f253e Bug 607864 - TM: systematically annotate bytecode boundaries in LIR dumps. r=dmandelin. 2010-10-28 15:08:10 -07:00
Brian Hackett 023904cb54 Special case object lookup lambda in String.replace, bug 605317. r=jorendorff 2010-10-28 14:33:32 -07:00
David Anderson 7637a9d135 Fix Windows orange. 2010-10-28 13:53:54 -07:00
David Anderson 7dca1f9035 Refactor and improve GETELEM IC (bug 602641, r=dmandelin). 2010-10-27 21:04:13 -07:00
Nicholas Nethercote 9a59b7e436 Update nanojit-import-rev stamp. 2010-10-27 21:45:20 -07:00
Nicholas Nethercote 0dcfa76595 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 304bc85eb9 Backed out changeset 921334ab1ea5 2010-10-27 21:35:47 -07:00
David Anderson fb03051276 Refactor and improve GETELEM IC (bug 602641, r=dmandelin). 2010-10-27 21:04:13 -07:00
Nicholas Nethercote 1e5ff202a2 Bug 607555 - TM: fix interleaving of bytecode and LIR with TMFLAGS=recorder (TM-specific part). r=dmandelin. 2010-10-27 16:45:16 -07:00
Nicholas Nethercote ae74d001ad merge 2010-10-27 16:31:40 -07:00
Chris Leary 61e55b1e50 Bug 607724: Minor scope chain function cleanup. (r=mrbkap) 2010-10-27 16:18:16 -07:00
Nicholas Nethercote e8301285e4 Update nanojit-import-rev stamp. 2010-10-27 16:14:55 -07:00
Nicholas Nethercote 2ae8edb847 Bug 607555 - TM: fix interleaving of bytecode and LIR with TMFLAGS=recorder. r=edwsmith.
--HG--
extra : convert_revision : 53c69eca7d94694ff55d59d39c0d8a26f8d8c111
2010-10-27 15:49:04 -07:00
Chris Leary 8713871d59 Fix bad mochitest for bug 601299. (rs=Waldo) 2010-10-27 14:21:09 -07:00
Chris Leary aea9ad4b5e Bug 601299: Find RegExpStatics in cx->globalObject if necessary. (r=mrbkap) 2010-10-27 12:33:55 -07:00
Leon Sha 2d068eb94f Bug 607553 - [JAEGER] Multiple cases failed in MONOIC only build. r=dvander 2010-10-27 14:09:47 +08:00
Andreas Gal f08efb3976 Bug 606875 - Object.prototype.toString no longer works for arrays created in sandboxes or windows from a different principal. r=mrbkap, a=blocker 2010-10-27 17:30:59 -07:00
Doug Turner e3b8971b38 Backed out changeset dd50da0646a4 2010-10-27 13:36:15 -07:00
Siarhei Siamashka 6d4b7edaf4 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec
--HG--
extra : rebase_source : a9d44cf330e338abf041c6755dbdeba54cfd9b6e
2010-10-27 08:15:08 +03:00
Nicholas Nethercote d4d9ff5efc Bug 606441 - TM: specialize Math.abs() for integers when possible. r=dvander. 2010-10-26 20:21:39 -07:00
Blake Kaplan d9d2541aa9 Bug 607174 - Add assertions to jsdbgapi.cpp and enter compartments where it isn't possible for the caller to do so. landing with r=gal, a=beta7+ 2010-10-26 19:48:51 -07:00
Blake Kaplan 003d2e40fb Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+ 2010-10-26 23:57:31 -07:00
Blake Kaplan 94bdec5ed7 Bug 607174 - Add assertions to jsdbgapi.cpp and enter compartments where it isn't possible for the caller to do so. landing with r=gal
--HG--
extra : rebase_source : f0e69380a0ef144e07af7d75b859712fe67bb753
2010-10-26 19:48:51 -07:00
Blake Kaplan 77d0c75532 Bug 601829 - Protect ourselves against a null sandbox. r=jst
--HG--
extra : rebase_source : 0fc1079f16ac97f2b27c2038f7ee6cfa17652a84
2010-10-26 19:48:41 -07:00
David Mandelin 0374d3837a Bug 604756 diagnostic: serialize flatten to test if concurrent calls cause the bug, r=dvander, a=beta 7 blocker 2010-10-26 19:02:01 -07:00
Brendan Eich b783c4d194 Skip evalcx-based test in browser. 2010-10-26 18:44:53 -07:00
David Mandelin a62adf7383 Backout merge, a=backing out changeset tried for b7 blocker 2010-10-26 18:20:20 -07:00
David Mandelin 2ac38a62bb Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze. 2010-10-26 18:14:25 -07:00
Brendan Eich 902cc239b5 Fix expression and value-generator decompilation to accept prolog ops, required due to ES5 metaprogramming APIs (607513, r=Waldo). 2010-10-26 17:22:55 -07:00
Nicholas Nethercote 3a3159a8dd Bug 607244 - nanojit: add LIR_comment (TM-specific part). r=dmandelin. 2010-10-26 16:58:08 -07:00
Nicholas Nethercote c354845838 Update nanojit-import-rev stamp. 2010-10-26 16:57:08 -07:00
Nicholas Nethercote a2e7f686f7 Bug 607244 - nanojit: add LIR_comment. r=edwsmith.
--HG--
extra : convert_revision : 50bb48a9d8ce1c6bca6163d73abcddea8f6c5afc
2010-10-26 16:45:19 -07:00
Rick Reitmaier 5c04d73068 Bug 602386 - nanojit: fix winmo build breakage (r+Jacob.Bramley)
winmo is puking on R0,D7 usage in First/LastRegNum.

--HG--
extra : convert_revision : ec207b83f9d831024e8942e4c46a2a31e6803522
2010-10-26 11:41:05 -07:00
Werner Sharp (wsharp@adobe.com) 5dcabdc5cf bug 570476. Support integer division on x86/x64. (r=wmaddox)
--HG--
extra : convert_revision : 064dc57a57630e1bc2ab256308cb373e3049fb0c
2010-10-26 09:09:00 -04:00
David Mandelin 05b7691cef Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker 2010-10-25 17:28:18 -07:00
Tero Koskinen 3e3e631e9a Add support for ARM's 'hard' EABI variant. (FP arguments go in VFP registers.) [Bug 602834] [r=jbramley,rreitmai]
--HG--
extra : convert_revision : 113a2e56c62fca5adc557906dd729a4ec632d994
2010-10-25 09:51:59 +01:00
Luke Wagner 77a0873167 Bug 605186 - js_NewStringFromCharBuffer should create short strings if it can (r=waldo) 2010-10-26 16:20:21 -07:00
Andreas Gal d8e4dc9120 Remove bogus assert, follow-up for bug 604523. a=blocking beta 7
--HG--
extra : rebase_source : 66290385e5f6af23c970c33897c4755952b4bcce
2010-10-22 17:21:18 -07:00
Andreas Gal a57ab67655 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander).
--HG--
extra : rebase_source : fcb81dcb8d9d5bb3b03f10dd5209019db22f6944
2010-10-22 15:40:11 -07:00
Blake Kaplan 64265364d0 Bug 604430 - Make the wantXrays flag apply to values obtained off of the sandbox object itself. r=peterv
--HG--
extra : rebase_source : c7a193f44e76f5851f7228c1ceba803f486595bd
2010-10-25 16:29:13 -07:00
David Mandelin cf03edce70 Backout merge, a=backout of existing changeset 2010-10-25 15:53:20 -07:00
David Mandelin 6beb79bf3e Backed out changeset dafb1d54cf74 -- it was a temporary diagnostic and we got the data. 2010-10-25 15:51:41 -07:00
Jacob Bramley 4b0b1a070f Re-enable MICs on ARM and fix a couple of glitches. r=cdleary a=blocking-fennec 2010-10-25 14:44:17 -07:00
David Mandelin 334ea59a37 Bug 604756 diagnostic: get blackbox information about JSString::flatten crash, r=lw, a=damons 2010-10-22 16:04:19 -07:00
Jeff Walden 2446dc3dfe Bug 604504 - Implement an eval kernel that obj_eval and JSOP_EVAL can each call. r=jorendorff,dvander 2010-10-21 14:31:29 -07:00
David Mandelin 4e30407a6a Fix MSVC warnings. 2010-10-29 16:37:43 -07:00
David Mandelin a963e372ed Bug 604798: move JM global data to compartment, r=dvander 2010-10-29 15:37:13 -07:00
David Mandelin f30fdba8e1 Backed out changeset ecd2f8753d5a: argh, fixes didn't land for some reason 2010-10-29 16:22:44 -07:00
David Mandelin ac242e48e9 Bug 604798: move JM global data to compartment, r=dvander 2010-10-29 15:37:13 -07:00
David Mandelin 9f28671e20 Backed out changeset 394e0bd325b1: tinderbox bustage 2010-10-29 16:08:47 -07:00
David Mandelin c93868aed6 Bug 604798: move JM global data to compartment, r=dvander
--HG--
extra : rebase_source : 459bbec8a3f8ab3739806da7336a0a10cee9bcd1
2010-10-29 15:37:13 -07:00
Robert Sayre f9c370329c Merge. 2010-10-29 18:36:24 -04:00
David Mandelin 943faccf32 Bug 605274 part 1: add OOM checks to JM use of vectors, r=dvander 2010-10-29 15:06:07 -07:00
Luke Wagner ext:(%2C%20Jan%20de%20Mooij%20%3Cjandemooij%40gmail.com%3E) 7d8eeee958 Bug 595884 - JM: make f.apply(x, arguments) fast (r=dvander)
--HG--
extra : rebase_source : 81f5bd888164aecab2f3e701fb31ccf81affbc21
2010-10-21 11:42:28 -07:00
Luke Wagner f6c06a54bd Bug 605192 - JM: make f.apply(x, obj) fast, part 4 (r=dvander)
--HG--
extra : rebase_source : 2dec4f92e1306ef1594262607ffca908b9ed1c64
2010-10-21 11:33:22 -07:00
Luke Wagner 90fead2773 Bug 605192 - JM: make f.apply(x, obj) fast, part 3 (r=sstangl)
--HG--
extra : rebase_source : 1341b9bc98d1ab74d8b8ba35243331d62a36fa34
2010-10-28 17:15:49 -07:00
Luke Wagner bc940eff0b Bug 605192 - JM: make f.apply(x, obj) fast, part 2 (r=dvander)
--HG--
extra : rebase_source : ed6ddf4e79424bfd22ad9daf79675ac0eef5b16a
2010-10-20 23:52:55 -07:00
Luke Wagner 04e51ed18c Bug 605192 - JM: make f.apply(x, obj) fast, part 1 (r=waldo)
--HG--
extra : rebase_source : cceaabf5a68cae8bfa67320b4a47f0673ade86c6
2010-10-20 23:52:55 -07:00
Peter Van der Beken 9da0ea60d2 Fix for bug 607284 (getOwnPropertyDescriptor on a proxy misbehaves). r=mrbkap.
--HG--
extra : rebase_source : 87c28c7f37b36762c8257ca8f310107f37d69e49
2010-10-26 15:21:49 -07:00
Jeff Walden 44828c8d27 Bug 602441 - Remove unreachable property-cache-testing code, now that MT objects are history. r=brendan 2010-10-25 18:22:07 -07:00
Bill McCloskey e014218243 Bug 563126 - Rename JS instruction tracing -> logging, and ensure it doesn't convert call objs (r=brendan) 2010-10-26 12:07:26 -07:00
Bill McCloskey 7525a513d9 Bug 606650 - Treat typeof() tests as constant in JIT profiler (r=dmandelin) 2010-10-26 12:03:16 -07:00
Brian Hackett 3543333b51 Analysis for defined variables, bug 604426. r=dvander 2010-10-26 12:00:54 -07:00
Robert Sayre b8b5a371a7 Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
Jacob Bramley 5e8144f660 Fix build warnings on ARM. [Bug 606949] [r=cdleary] 2010-10-26 15:29:04 +01:00
Jacob Bramley 332550de58 Use the correct BKPT encoding on ARM. [Bug 606955] [r=cdleary] 2010-10-26 15:28:30 +01:00
Bill McCloskey 53ee6c83c5 Fix jsop_equality_int_string() for known non-int types. b=606829, r=sstangl. 2010-10-26 02:25:18 -04:00
Chris Leary 8f74668822 Moved file from trace-test to jit-test.
--HG--
rename : js/src/trace-test/tests/basic/bug568276.js => js/src/jit-test/tests/basic/bug568276.js
2010-10-25 21:40:10 -07:00
Chris Leary f7d37b87d1 Bug 568276: Check for strange-variable-combination regression. (r=brendan) 2010-10-25 21:35:13 -07:00
Walter Meinl 3665ec038f Bug 604778 - Don't export unnecessarily V8 headers to dist. r=gal. 2010-10-25 21:26:15 -07:00
Blake Kaplan b586eeaae0 Bug 604430 - Make the wantXrays flag apply to values obtained off of the sandbox object itself. r=peterv
--HG--
extra : rebase_source : 5c4c04829b8db95cc47954b11152ec328bbd7b98
2010-10-25 16:29:13 -07:00
Jeff Walden 00b72e1cb0 Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke 2010-10-25 16:47:11 -07:00
Blake Kaplan 9d412a8972 Bug 606106 - Avoid tripping an assertion under CC. r=gal
--HG--
extra : transplant_source : x%D1%3C%A8%8D%D2%F0%1E%9FL%E8%E9%21%C5%EA%0ET%2C%7B%E3
2010-10-25 12:12:43 -07:00
Blake Kaplan 06ee76c72b Bug 606357 - Make jsd values not compartment mismatch. r=gal
--HG--
extra : transplant_source : %DD49k%A8%D8%92p%1EC%07NKU%9D%BFY8%A0U
2010-10-25 12:12:32 -07:00
Brendan Eich fb0cf36ece PropertyTable::{init,change} should use js_calloc/js_free, and JSObject::addPropertyInternal should report OOM on change failure (606880, r=anygregor). 2010-10-24 19:24:53 -07:00
David Anderson ba13e59c8b Compile JSOP_FORGLOBAL,ARG,PROP,NAME,ELEM (bug 597455, r=dmandelin). 2010-10-25 10:01:21 -07:00
Nicholas Nethercote 90b3c12b17 Update nanojit-import-rev stamp. 2010-10-24 20:47:40 -07:00
Nicholas Nethercote 03bed33d55 Fix typo that leads to assertion failure. No bug, r=me.
--HG--
extra : convert_revision : a52df753119f0b9c3b6b9a3e6b8efc664b164dec
2010-10-24 20:42:58 -07:00
Nicholas Nethercote 82b1cfb4f5 Update nanojit-import-rev stamp. 2010-10-24 20:31:49 -07:00
Nicholas Nethercote 69e0c2d47d Bug 606066 - nanojit: some i386 backend clean-ups. r=rreitmai.
--HG--
extra : convert_revision : 08f542f7fe1e16f1ec230af5d688527aa6feaece
2010-10-24 19:30:45 -07:00
Werner Sharp (wsharp@adobe.com) 7cc041ce4b bug 409216. Add 8 byte alignment for MSVC. (r+ edwsmith, gal)
--HG--
extra : convert_revision : 15146f891b3a5cd9755b99f3b51b2acf8a692947
2010-10-22 13:20:41 -07:00
Ginn Chen 1777f7f626 Bug 603890 add big endian test cases r=nnethercote
--HG--
extra : convert_revision : a8165439796e6f0c6d377f7252fbacfe5c61db45
2010-10-22 19:22:13 +08:00
Ginn Chen d4332f282a Bug 603890 add --endianness to lirasm, make tests endianness aware r=nnethercote
--HG--
extra : convert_revision : c7cd544f32aae57d3d359756db867bb33dd83e73
2010-10-22 16:53:42 +08:00
Andreas Gal 406b4788bd Backed out changeset 685accd622f0 (bug 606065). 2010-10-24 13:21:33 -07:00
Andreas Gal bc78667dfc Move deflated string cache into compartment (606065, r=jorendorff). 2010-10-24 02:07:42 -07:00
Andreas Gal e3e990bd95 Follow-up fix for 606573. 2010-10-24 00:52:38 -07:00
David Anderson 5a60f210de Refactor code related to ICs (bug 603779, r=dmandelin,sstangl).
* * *
Make Assembler derive from value-format assemblers (bug 603779 part 1, r=sstangl).
* * *
Refactor dense array load generation (bug 603779 part 2, r=dmandelin).
* * *
Add object class helpers to Assembler (bug 603779 part 3, r=dmandelin).
* * *
Refactor StateRemat and fix nearby IC bugs (bug 603779 part 4, r=dmandelin).
* * *
Refactor ValueRemat (bug 603779 part 5, r=dmandelin).
* * *
Factor out and rename some common IC structures (bug 603779 part 6, r=dmandelin).
2010-10-17 22:28:49 -07:00
Andreas Gal 8f3f417a80 Don't wrap StopIteration singleton, just translate it to the current global's StopIteration object and freeze StopIteration at birth (606573, r=mrbkap). 2010-10-23 16:24:32 -07:00
Brian Hackett 19087d1172 Reland followup warning fix for rev d20abbebe373. 2010-10-22 22:34:05 -07:00
David Anderson a97242b1bb Fix register allocation bug in return values (bug 604996, r=dmandelin). 2010-10-22 21:08:22 -07:00
Andreas Gal 70457cfd98 Merge from mozilla-central. 2010-10-22 19:46:37 -07:00
Andreas Gal 7774cca0ec Remove bogus assert, follow-up for bug 604523. 2010-10-22 17:21:18 -07:00
Jason Orendorff d0a02539da Merge. 2010-10-22 19:11:26 -05:00
Jason Orendorff cda40d7bcf Address review comments in bug 606029, mainly removing JSTitle from jslock.{h,cpp}. 2010-10-22 19:06:26 -05:00
Jason Orendorff 3f327cc672 Remove JSObject::title. Bug 606029, r=igor. 2010-10-22 19:04:22 -05:00
David Anderson a34bc09abb Trace returning from JSOP_STOP with callDepth=0 (bug 606083, r=billm). 2010-10-22 16:27:28 -07:00