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

17669 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote f6c14142c2 Update nanojit-import-rev stamp. 2010-03-12 15:32:53 +11:00
Nicholas Nethercote a8a51531e2 Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter. r=gal.
--HG--
extra : convert_revision : 73a17dbefb346ec569b86ae5f28a56a06297181d
2010-03-11 14:59:45 -08:00
Dan Witte 27698f60b5 Bug 513788 - Revise js-facing API for js-ctypes. Followup to refactor common patterns. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte e80d064dee Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting in usages of JS_GetProperty and
friends. r=jorendorff
2010-03-12 17:17:13 -08:00
Dan Witte 7ca1eee0f0 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix PointerType serialization. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte 220630dc47 Bug 513788 - Revise js-facing API for js-ctypes. Followup to implement array and struct size overflow
tests. r=jorendorff
2010-03-12 17:17:12 -08:00
Dan Witte 6708ab2dd9 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting bugs. r=jorendorff 2010-03-12 17:17:12 -08:00
Joel Maher 6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
timeless@mozdev.org 638fe351a8 Bug 551088 fix xpconnect signed warnings
r=dbradley

--HG--
extra : rebase_source : 01a2089bc2a3f3a402acaab68b8b9a6bce92bb09
2010-03-12 07:50:12 +01:00
timeless@mozdev.org c53f8e2aed Bug 187796 make unimplemented constructors in mozJSComponentLoader.cpp private
r=dbradley

--HG--
extra : rebase_source : 11c1d83d14854f124ddb6342cad99a01f84e8673
2010-03-12 07:50:10 +01:00
Igor Bukanov e41defe090 Bug 536306 Crash [@ checkReportFlags ] occurs when loading Eventbug and Selenium IDE
r=jorendorff

--HG--
extra : rebase_source : 5cc4b4b70811b05a3f7088eddfa0d699184060ef
2010-03-12 07:50:10 +01:00
timeless@mozdev.org 0962bc16c1 Bug 469226 every method in jsd-xpc would needs to push a frame before calling jsd_ to make quickstubs happy
fix jsd for quickstubs
r=jorendorff

--HG--
extra : rebase_source : 345b8c19b67524dcc632689021a981a944d5ba45
2010-03-12 07:50:10 +01:00
Dan Witte 2626e52ff3 Revise js-facing API for js-ctypes, patch v3. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte f621917024 Revise js-facing API for js-ctypes, patch v2. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte afa52d32f7 Revise js-facing API for js-ctypes, patch v1. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Nicholas Nethercote 6c4a097110 Fix another WinNT compiler warning. No bug, r=me.
--HG--
extra : convert_revision : ddc0ce7b1670cbbad7aa4505696a71c3613e3324
2010-03-06 09:14:31 +11:00
Nicholas Nethercote f6e5dcf6c2 Fix WinNT compiler warnings. No bug, r=me.
--HG--
extra : convert_revision : de5746d49dcf5073c9f37c35b2a810c7f77bc8d0
2010-03-05 17:44:28 +11:00
Rick Reitmaier de862a8e80 Bug 546660 - Clean up mess around LINUX, AVMPLUS_LINUX, __linux__ (r+nnethercote) [kpalacz]
Gcc defines linux on linux, other compilers are supported to the
extent that they emulate gcc's behavior

--HG--
extra : convert_revision : 6bb42c345395fb0a6f779723157f5e43d6669016
2010-03-04 12:35:45 -08:00
Leon Sha 063d950b69 Bug 547232 - solaris nanojit compiler error LIR_qcmov is not defined. r=stejohns
--HG--
extra : convert_revision : 3b1d24a51ce4d9fd3fb37ca5d2394f4816763a23
2010-03-02 12:24:17 +08:00
Luke Wagner e39fee895d Silence jsvector.h strict-aliasing warning 2010-03-11 17:59:30 -08:00
David Mandelin 04368a5292 Bug 549509 followup: fix macrology to make sure no warnings occur per brendan's bug comment, no_r=me 2010-03-11 16:32:28 -08:00
Dave Herman 8fd48ed1db Make the parsing methods members of JSCompiler for bug 518055. r=jimb 2010-03-11 17:28:01 -05:00
David Anderson 5c0f8df5a3 Merge. 2010-03-11 12:19:51 -08:00
David Anderson 87abf06097 Backed out changeset 04023ea0fb08. 2010-03-11 12:19:36 -08:00
David Anderson 2eaefb5aa2 Merge. 2010-03-11 12:19:18 -08:00
David Anderson 26c81162af Backed out changeset 887a3e05324c. 2010-03-11 12:15:21 -08:00
David Anderson f46c55736e Merge. 2010-03-11 11:41:14 -08:00
David Anderson 78327d68b8 Fixed warnings from the tracer oracle (no bug, rs=brendan). 2010-03-11 11:40:44 -08:00
Brendan Eich e9d974f434 lightweight JSParseNode subclasses (bug 550350) 2010-03-11 11:29:21 -08:00
Mike Moenig 45318fdaaa Allow custom allocator use in SpiderMonkey (bug 549532, r=dvander). 2010-03-10 21:02:18 -08:00
Luke Wagner 4c90f806f8 Fix bustage on opt/NSPR builds 2010-03-10 15:48:53 -08:00
Luke Wagner c78f4378e4 Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Boris Zbarsky 91914b8cd3 Bug 551533. Use StringMatch in find_split instead of rolling our own search. r=lw 2010-03-10 18:28:44 -05:00
Boris Zbarsky 6a1644fbf0 Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff 2010-03-10 12:12:43 -05:00
David Anderson b22620a062 Clean up useless variables/params in the tracer. (bug 551100, r=lw) 2010-03-09 18:52:56 -08:00
Jeff Walden 062d268d45 Further bustage fixing 2010-03-09 17:44:16 -08:00
Jeff Walden 49f22f1f82 More bustage fix, sigh 2010-03-09 15:38:41 -08:00
Jeff Walden 425dc3f000 Fix up some class names in comments, r=sparky 2010-03-09 15:23:53 -08:00
Jeff Walden 430bcd70ee Bustage fix, r=redness 2010-03-09 15:07:38 -08:00
Jeff Walden adf0fee09b Bug 538690 - js::AutoValueVector for auto-managed rooting and storage of an indefinite number of jsvals. r=igor 2010-03-01 14:46:15 -08:00
Blake Kaplan 52d8139de2 Bug 515496 - Eliminate extra security check when computing this. r=jorendorff. 2010-02-11 17:04:42 -08:00
Jeff Walden 4509038fa5 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Brendan Eich e59a6087bf Remove excessive braces; nuke else after return. 2010-03-09 14:29:50 -08:00
Boris Zbarsky bead9e13c5 Bug 551118. Reuse string-to-number code and fix bug with negative hex in strings being treated as a negative integer. r=brendan 2010-03-09 17:21:32 -05:00
Chris Leary bdc294e14d Bug 550643 - Minor improvements to parsemark.py. r=jorendorff. 2010-03-08 18:22:44 -06:00
David Anderson 5a9c372534 Trace recursion when the return keyword is omitted (bug 530900, r=gal). 2010-03-08 10:28:08 -08:00
Nicholas Nethercote 7c0b1daf1b Bug 550796 - TM: remove dead ImportGlobalSlotVisitor class. r=lw. 2010-03-08 16:11:59 +11:00
Nicholas Nethercote 49255320b6 Bug 550654 - TM: removed dead 'inner_sp_ins' variable. r=dvander. 2010-03-08 08:09:35 +11:00
Luke Wagner f5f31d7ca0 Comparison operator for HashTable Ptr (no bug)
--HG--
extra : rebase_source : 2d64c307f6a524066d0a4cb66c66a5b4cd48d83d
2010-03-05 11:55:42 -08:00
Chris Leary 13458bfacb Bug 548621 - Create suite of tests for JS parsing speed. r=jorendorff. 2010-03-05 16:47:24 -06:00
Chris Leary ec28434682 Bug 549971 - Add compile() function to JS shell. r=jorendorff. 2010-03-05 16:42:06 -06:00
Jason Orendorff 43bec37956 In case of OOM in DEBUG build, don't crash. No bug, rs=jwalden via IRC.
--HG--
extra : rebase_source : c08508a93d1c1a98606dc1c7c8d9c08c57e17cad
2010-03-05 16:29:44 -06:00
David Mandelin 00b3fd3409 Bug 549509: jsval representation profiling, r=lw
--HG--
extra : rebase_source : e0e6c19db20d2e469066b5f9433c96c05bbff1c1
2010-03-05 11:45:28 -08:00
Jason Orendorff 42c786e298 New test for long-fixed bug 500528. We were about to re-introduce it in bug 497789! r=test coverage is good. See bug 497789 comments 78-79. 2010-03-05 09:05:12 -06:00
Igor Bukanov 382035ba66 bug 549010 - folowup to replace PROTO access macros with the inlne function 2010-03-04 23:52:52 -08:00
Luke Wagner c1e0163b6c Silence MSVC warning about no default assignment operator (r=me) 2010-03-04 23:30:28 -08:00
Mike Moening 9cab0c75a6 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
David Mandelin 73aa8d23f6 Bug 550352: make check-string-tagcloud more robust, r=lw 2010-03-04 17:03:53 -08:00
Luke Wagner 6f2d7df0a0 Bug 543057 - Drop the Script object (r=brendan) 2010-03-04 00:33:57 -08:00
Luke Wagner 6ee558a163 Loosen check-math-partial-sums for floating error (r=dmandelin) 2010-03-04 16:32:06 -08:00
David Mandelin f31ff58b3a No bug: refresh JS_OPMETER feature, no_r=me 2010-03-04 15:22:07 -08:00
David Mandelin 8befd2ecbb Bug 549503: more SunSpider verification tests, r=dvander
--HG--
extra : rebase_source : 15ebc76e6de2c982ca77bb6a271f691ddc8559a8
2010-03-01 17:40:01 -08:00
Brendan Eich ffafb514ed Fix dictionary-mode scope property node alloc to happen inside rt->gcLock (538307, r=jorendorff). 2010-03-03 17:14:20 -08:00
Brendan Eich bf5b082e09 Fix latent bug, exposed by fix for 549617, where JS_EvaluateUCInStackFrame looks like eval and confuses the compiler into writing into the empty script singleton-const (550045, r=mrbkap). 2010-03-03 16:43:17 -08:00
Brendan Eich ec8581732d Fix CallPropertyOp to cope with non-int arguments id (549951, r=mrbkap). 2010-03-03 14:44:03 -08:00
Luke Wagner fe60436390 Bug 515812 - Fix Range assignment (r=me) 2010-03-03 09:26:04 -08:00
Brendan Eich 24efecca53 Typo'ed testname in jstests.list for 549617. 2010-03-02 17:48:00 -08:00
Brendan Eich 7716ededf2 Bug 549617 - JS_EvaluateUCInStackFrame doesn't see variables in flat closure (r=mrbkap). 2010-03-02 17:30:54 -08:00
Jeff Walden 0dea5494a3 Bug 547087 - JS_EnumerateStandardClasses uses non-configurable, not non-configurable/non-writable, as attributes for global.undefined. r=jorendorff 2010-02-18 19:51:57 -08:00
Ginn Chen 9e39655fed Bug 555669 CTypes.cpp failed to compile on Solaris r=sayrer 2010-03-30 14:29:59 +08:00
Dan Witte c5e94efd8d Bug 552525 - Get rid of container classes with static functions in CTypes.h/cpp. r=benjamn 2010-03-29 09:38:27 -07:00
Josh Matthews e633660798 Bug 552999 - Implement PointerType().prototype.isNull. r=dwitte 2010-03-26 17:27:28 +13:00
Dan Witte e7509c62c5 Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 3: Add closures for callback
support. r=benjamn
2010-03-29 09:38:17 -07:00
Dan Witte be6e94b3ab Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 2.1: Use
js_NewArrayObjectWithCapacity. r=benjamn
2010-03-29 09:38:17 -07:00
Dan Witte 2aba325f8b Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 2: Rename Function to
FunctionType, with all the privileges and responsibilities therein. r=benjamn
2010-03-29 09:38:16 -07:00
Ginn Chen 19d468bb29 Bug 543709 trace-test/tests/basic/bug529130.js failed with debug version on Solaris r=jimb 2010-03-29 17:27:51 +08:00
Ms2ger 2c18ff413d Bug 553804: s/MoMo/MoFo/ in license blocks. r=gerv 2010-03-28 11:52:43 -04:00
Boris Zbarsky 3b86a2a5d1 Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff 2010-03-10 12:12:43 -05:00
Robert Sayre 66f3f0f7a3 Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Ted Mielczarek 1c22dc06a5 bug 554364 - use -fomit-frame-pointer on Linux. r=jimb
--HG--
extra : rebase_source : bd10a4c633d32c100ce24613d28a43feac78a816
2010-03-26 14:23:48 -04:00
Dão Gottwald fcb45e7f9a Backed out changeset 5c7b969a71fa 2010-03-26 10:25:39 +01:00
Mike Hommey ad06a208c7 Bug 541774 - idl-parser cache and compiled python files are not cleaned up by make clean. r=ted
--HG--
extra : rebase_source : 6077c7c1c5231be938d772b04cd0acabd054f083
2010-03-26 09:26:39 +01:00
Dan Witte 373fc7b896 Add msvcc.sh changes to libffi.patch. No bug. 2010-03-25 16:42:20 -07:00
Dan Witte 82429341ad Bug 550982 - Fix REFERENT slot not to keep more objects alive than necessary. r=benjamn 2010-03-25 15:00:58 -07:00
Dan Witte 66eb3c1d32 Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 1: Move Function implementation
from Function.{h,cpp} into CTypes.{h,cpp}. r=benjamn
2010-03-25 15:00:42 -07:00
Dan Witte d29b14cde7 Bug 513788 - Revise js-facing API for js-ctypes. Followup to give CType and CData a better prototype
hierarchy. r=jorendorff
2010-03-25 15:00:23 -07:00
Brendan Eich 88364a23e9 Disable partial flat closures pending scope chain reconstruction on trace (554572, r=jorendorff; CLOSED TREE push ok'ed by sayrer). 2010-03-24 13:26:28 -07:00
Jeff Walden 3b2eafa186 Bug 484508 - Support imacro groups corresponding to non-contiguous opcodes. r=brendan 2009-12-31 14:05:54 -06:00
David Anderson 6c48b4560c Removed initializing inparam from TraceRecorder::set. (bug 549727, r=luke) 2010-03-02 14:04:50 -08:00
Luke Wagner 5b5fa0e2d3 540706 - Small record_EnterFrame simplification (r=dvander) 2010-03-02 12:56:48 -08:00
Brendan Eich 0350b3b5f4 Bug 549531 - fix strict aliasing warnings about scopeChain (also clean trailing whitespace; r=dmandelin). 2010-03-02 11:03:04 -08:00
Nicholas Nethercote ecf1dcc241 Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Nicholas Nethercote 380c80bfcb Update nanojit-import-rev stamp. 2010-03-02 12:50:19 +11:00
Nicholas Nethercote 2709dc1edc Bug 545274 - nanojit: start adding alias info to loads/stores/calls. r=rreitmai.
--HG--
extra : convert_revision : 4adbf1bbb16cf4751b46a49a4f9c474c0ab0a3b9
2010-03-02 12:43:20 +11:00
Nicholas Nethercote a9bf220597 Bustage fix for Windows. No bug, r=me.
--HG--
extra : convert_revision : 4901be8fd3260bb90b90fda989f624cda7401032
2010-03-02 11:18:48 +11:00
Blake Kaplan 5403745994 Bug 542864 - Convert the right variable to an id. r=jorendorff 2010-02-26 17:06:23 -08:00
Andreas Gal 4b7c35b234 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Jason Orendorff 8167bb1a7c Bug 548276 - "Assertion failure: HAS_FUNCTION_CLASS(funobj), at ../jsdbgapi.cpp". r=jwalden. 2010-03-01 11:07:40 -06:00
Nicholas Nethercote 78c1268189 Update nanojit-import-rev stamp. 2010-03-01 15:02:36 +11:00
Nicholas Nethercote 42d9dea463 Bug 535705 - nanojit: finish regstate update fixes for i386. r=edwsmith.
--HG--
extra : convert_revision : 05949faa5b451d5452c9b5eb95296a53b555dda1
2010-03-01 14:57:19 +11:00
Nicholas Nethercote b92fe22fa9 Bug 542932 - nanojit: make opcode range checks safer (TM-specific part). r=gal. 2010-03-01 12:16:38 +11:00
Nicholas Nethercote 73ff20e7a7 Update nanojit-import-rev stamp. 2010-03-01 12:09:04 +11:00
Nicholas Nethercote 7a293a6a67 Bug 542932 - nanojit: make opcode range checks safer. r=stejohns.
--HG--
extra : convert_revision : a5291bc7b0cef4f41f4180db6388edebdbb4c208
2010-03-01 12:02:01 +11:00
Nicholas Nethercote d830bbbd61 Update nanojit-import-rev stamp. 2010-03-01 09:52:59 +11:00
Nicholas Nethercote 918549ebb0 Bug 535706 - nanojit: fix regstate updates for X64. r=edwsmith.
--HG--
extra : convert_revision : 6fb5f71fba861a333e17de644fe49de60bb7a1bd
2010-03-01 09:46:17 +11:00
Igor Bukanov 433c352207 bug 515812 - less vebose enumerastion. r=lw 2010-02-26 12:11:50 -08:00
Jason Orendorff e0ab73aca7 Fix ppc breakage due to 337699f6a88a. No bug, r=burning nightly. 2010-02-25 07:10:40 -08:00
Jason Orendorff 965ff56790 Bug 539170 - Encapsulate JSScopeProperty::{getter,setter} and move assertions to init-time. r=Waldo. 2010-02-24 17:40:28 -08:00
Jason Orendorff ef050b1e1e Bug 547911 - TM: Crash [@ js_CallIteratorNext] or "Assertion failure: !JSVAL_IS_PRIMITIVE(regs.sp[-2]), at ../jsops.cpp" or "Assertion failure: regs.sp == StackBase(fp), at ../jsops.cpp" with defineGetter, StopIteration. r=brendan. 2010-02-24 17:32:46 -08:00
Jason Orendorff 44558b8ac7 Follow-up fix for js::HashTable::Entry trying to access a private operator=. Long story, apparently. Informal r=luke. No bug#. 2010-02-24 15:29:53 -08:00
Brendan Eich af2fba71c3 Another followup, deferred nit-pick for 547314. 2010-02-24 14:05:36 -08:00
David Anderson 0ca8eec54c Better fix for recursion and let blocks (bug 547791, r=gal). 2010-02-23 16:14:34 -08:00
Luke Wagner a6f580ef72 Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff) 2010-02-19 19:22:37 -08:00
Bob Clary 5c0a61e8a6 JavaScript Tests - disable js1_5/Regress/regress-451322.js due to slowness. 2010-02-23 07:58:00 -08:00
Andreas Gal 3a973400c1 The test for bug 352455 is bogus, a regexp is a callable object and thus can be a getter (bug 547912 changed this behavior). 2010-02-23 02:46:46 -08:00
Andreas Gal 21eba9d35e Setters/getters can be callable objects (547912, r=brendan). 2010-02-22 22:25:09 -08:00
Andreas Gal 6e007729b1 Merge. 2010-02-22 20:08:15 -08:00
Andreas Gal 94e1e9b970 Don't crash on 'typeof null' in compiled code (follow-up fix for 547314). 2010-02-22 20:07:41 -08:00
Jeff Walden 83513ca14a Typo fix, r=waylon 2010-02-22 19:43:41 -08:00
Andreas Gal 0ac15b8277 Followup fix for 547314. We have to unwrap in the typeOf hook due to wrapper lameness. 2010-02-22 19:30:22 -08:00
Andreas Gal 9b7648e7fb Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan). 2010-02-22 16:30:22 -08:00
Andreas Gal 11a344df05 remove unused label have_fun (no bug, r=brendan). 2010-02-22 16:27:19 -08:00
Brendan Eich de7d1779aa Fix bogus assertion (537854, r=mrbkap). 2010-02-22 15:30:35 -08:00
Andreas Gal 37cbe1d2c4 Test whether obj IsCallable instead of VALUE_IS_FUNCTION for call and apply (547046, r=mrbkap). 2010-02-22 14:07:50 -08:00
David Anderson 6cd88e0d98 Fixed assertion when using recursion in a let block (bug 547791, r=gal). 2010-02-22 13:57:04 -08:00
David Anderson 2c683400eb Fixed crash in GetPropertyByName (bug 547299, r=dmandelin). 2010-02-22 13:45:06 -08:00
Brendan Eich 2b9316985b s/pushAtom/AppendAtom/ name style police raid. 2010-02-22 13:26:57 -08:00
Robert Sayre a8f8e41fae Merge mozilla-central to tracemonkey. 2010-02-22 12:29:54 -08:00
Bob Clary 70459ac7bb JavaScript Tests - fix manifests for bugs 430133, 509354, 523846, 537863, 539488, 545980, 546615 2010-02-22 09:52:02 -08:00
Bob Clary bbbda57ee5 JavaScript Tests - add tests for bugs 375651, 390598, 429739, 451322, 460886, 465145, 465686, 469405, 469547, 470619, 472533, 473282, 474529, 476257, 476653, 476871, 479567, 482783, 489682 2010-02-22 09:52:01 -08:00
Andreas Gal 391b292a91 bug 547086 fixed bug 322957 2010-02-21 23:30:26 -08:00
Andreas Gal ef2782a751 Reland previously backed out bug 547086, it didn't cause the regression after all. 2010-02-21 00:11:54 -08:00
Andreas Gal c3b71f13b3 calculating 'this' fails if the object has no parent (547483, r=mrbkap). 2010-02-20 18:35:23 -08:00
Robert Sayre 10a0aee45d Patch for bug 547086 is causing a crash in the js tests. Backed out changeset 10a40c748aed 2010-02-20 07:54:48 -08:00
Andreas Gal 55da26702f js_TryMethod suppresses 'too much recursion' exception, going in circles indefinitely (bug 547086, r=mrbkap). 2010-02-19 17:34:32 -08:00
Andreas Gal db4f345429 Remove LiveConnect kludge from call path (1.9.3 will not have LiveConnect according to jst, r=brendan). 2010-02-19 17:31:44 -08:00
Luke Wagner 968c0c988a No bug, fix MSVC bustage from 9ee31f5535ae
--HG--
extra : rebase_source : 28eb0357555359caf1e956fb366ed63d0be2a29b
2010-02-19 15:56:46 -08:00
Nicholas Nethercote 831bab5968 Update nanojit-import-rev stamp. 2010-02-20 10:44:12 +11:00
Nicholas Nethercote 1ec4a0ce0c Bug 531326 - nanojit: improve int32 and int64 constant generation in X64 backend. r=rreitmai.
--HG--
extra : convert_revision : 3fa60904a28ec82b54d7e8a9e9fac6c29e0a5324
2010-02-20 07:31:41 +11:00
David Mandelin 8ed43b61dc No bug, fix build bustage from 40c4ec17770d, no_r=me 2010-02-19 14:06:18 -08:00
Igor Bukanov 79ceb60aa3 bug 545529 - followup to remove the cache stats output in the normal build 2010-02-19 23:58:31 +03:00
Jason Orendorff 9b55a53b29 Bug 547274 - js_InitArrayClass is not thread-safe. r=brendan.
--HG--
extra : rebase_source : 4b9ca0af846d7b77601ebbbf642941ffd136c9c8
2010-02-19 13:05:00 -06:00
Luke Wagner fd548dd27a Bug 515812 - fix hash table constiness (r=dvander) 2010-02-19 10:02:16 -08:00
Brendan Eich 97788ec0a9 Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (546069, r=jorendorff). 2010-02-19 11:27:35 -08:00
Brendan Eich 0f13c8d26a Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (543436, r=jorendorff). 2010-02-19 11:21:19 -08:00
Blake Kaplan 358f185b11 No bug. Make this constructor protected instead of private so that subclasses can access it. r=luke 2010-02-19 11:03:18 -08:00
Jason Orendorff ce234a1ab7 Bug 547067 - Don't overload test() in JSDefinition. r=brendan. 2010-02-19 12:14:36 -06:00
Jason Orendorff 601112392c Fix typo in patch for bug 545529 to fix non-JS_THREADSAFE DEBUG builds. r=bz on IRC. 2010-02-19 12:25:37 -06:00
Igor Bukanov 06f21330ba bug 545529 - caching Class.prototype lookups. r=brendan 2010-02-19 20:44:23 +03:00
Nicholas Nethercote 8a7d5bb4db Bug 539874 - nanojit: remove LIR_ov (TM-specific part). r=gal. 2010-02-19 15:12:37 +11:00
Nicholas Nethercote 718a4e5c16 Update nanojit-import-rev stamp. 2010-02-19 15:09:42 +11:00
Nicholas Nethercote a06e9593a4 Bug 539874 - nanojit: remove LIR_ov. r=edwsmith, Jacob.Bramley.
--HG--
extra : convert_revision : eb5f9b4138530e15b3ffd478071bf98bb7495405
2010-02-19 15:04:55 +11:00
Nicholas Nethercote 053c982e15 Temporarily disable an assertion; bug 547063 has details. r=me.
--HG--
extra : convert_revision : 0eb90b867a1cb9f998cdeaa9b67c984374f8fdb9
2010-02-19 08:41:14 +11:00
Steven Johnson c72ef644a7 Bug 546765 - njcpudetect.h needs love for OSX-on-ARM (r=nnethercote)
--HG--
extra : convert_revision : c58036240635ccce9d084c94c6f2aa23be32602d
2010-02-17 16:19:53 -08:00
Nicholas Nethercote 0c6df41213 Follow-up for bug 542133: fix ARMv5 bustage
--HG--
extra : convert_revision : 5a37374d04fea35b0167d057310aee6d3cadca16
2010-02-17 14:53:33 +11:00
Brendan Eich b7435bdd4a Fix funarg analysis to cope with escaping kids of a named function expression that use that lambda by name (545980, r=jorendorff). 2010-02-18 16:32:15 -08:00
Jason Orendorff 3fdbde3771 Bug 546615 - Crash [@ BindNameToSlot] or "Assertion failure: cg->staticLevel >= level, at ../jsemit.cpp". r=brendan. 2010-02-18 16:01:25 -06:00
Gregor Wagner 013748abe4 BUG 545303: TM: non API function for JS_CallTracer r=igor 2010-02-18 13:16:02 -08:00
Luke Wagner f5da60d48d Bug 546545 - don't trace slow natives with fun->u.n.extra > 0 (r=dvander) 2010-02-17 14:19:43 -08:00
Nicholas Nethercote d07ae26f16 Temporarily comment out assertion that is failing bogusly to fix WinMo builds; will be overwritten by the next NJ-to-TM merge, so we need to fix MSVC's compile-time ARM arch detection in the meantime. r=me. 2010-02-18 10:41:48 +11:00
Luke Wagner a7de7ade53 Bug 546668 - obj_eval should still call js_GetScriptedCaller (r=mrbkap) 2010-02-17 11:16:11 -08:00
Luke Wagner 7b566f8183 Make HashMap::put overwrite (r=jorendorff) 2010-02-17 10:47:26 -08:00
Nicholas Nethercote 7455a89d9d Update nanojit-import-rev stamp. 2010-02-17 13:42:07 +11:00
Nicholas Nethercote 6f11c0bb77 Follow-up for bug 542133: fix ARM bustage.
--HG--
extra : convert_revision : c3de98b9ee6eb052f7fda330172cc740f941605c
2010-02-17 13:36:29 +11:00
Steven Johnson 6237743ac9 change 71a045ccce43 inadvertently backed out change b8f64e82da3f; this restores the latter (r=stejohns)
--HG--
extra : convert_revision : 2fbb1bbebee5e0872ea3d485a40d7f71f785f319
2010-02-16 11:59:55 -08:00
Steven Johnson 56e17ff87d fix unreachable-code warning for LIR_div/LIR_mod on non-x86 platforms (r=stejohns)
--HG--
extra : convert_revision : f1d89a6a410719c5d7563ff5ca214c05c7c128a2
2010-02-16 11:21:52 -08:00
Luke Wagner bc135807f0 Bug 542797 - change obj_eval from JSNative to JSFastNative (r=mrbkap)
--HG--
extra : rebase_source : 5138b86418081cfa331b05947e5988c1f81065ef
2010-02-16 17:41:39 -08:00
Luke Wagner 70b736d293 Bug 546491 - fix tracevis (r=jorendorff) 2010-02-16 13:41:40 -08:00
Nicholas Nethercote fabba1b6a8 Follow-up for bug 542133: include njconfig.cpp in TM lirasm builds. r=me. 2010-02-17 08:56:13 +11:00
Nicholas Nethercote 757b90a1d8 Bug 542133 - Add a real NJConfig struct to nanojit (TM-specific part). code=stejohns, r=nnethercote. 2010-02-16 15:07:14 +11:00
Nicholas Nethercote 850b43bcb4 Update nanojit-import-rev stamp. 2010-02-16 15:00:24 +11:00
Steven Johnson da9d3b28c6 Bug 542133 - Add a real NJConfig struct to nanojit (r=edwsmith,r=nnethercote)
--HG--
extra : convert_revision : 353c06e32329377cc9ed5f66eeb6bcaf72ff3aea
2010-02-15 17:56:41 -08:00
Nicholas Nethercote 42c2c1f152 Bug 546171 - lirasm: move VerboseWriter to the end of the pipeline. r=stejohns.
--HG--
extra : convert_revision : 49a15d14c359d9fe889d47d2fd8457b06af4bc2c
2010-02-16 12:21:13 +11:00
Luke Wagner 3c11c19d98 Fix warnings, HashTable::sSizeLimit, tl::NBitMask (r=njn) 2010-02-15 16:07:57 -08:00
Nicholas Nethercote 3d25fb19d2 merge 2010-02-15 17:29:18 +11:00
Nicholas Nethercote 78c45fba22 Backed out changeset 3c673457c90b for bug 507089 due to mysterious Windows bustage. 2010-02-15 17:28:56 +11:00
Nicholas Nethercote 5b65d7ba1a Update nanojit-import-rev stamp. 2010-02-15 17:25:48 +11:00
Nicholas Nethercote fd81dadd2b merge
--HG--
extra : convert_revision : 035a5165bc8bbf7940415d4802bf9b14d1226740
2010-02-15 17:24:21 +11:00
Nicholas Nethercote 00cf9096e7 Minor follow-up for bug 542326: fix a miscategorized case label. r=me.
--HG--
extra : convert_revision : ac0fcaac8b166a1507e2902eefb755f806703872
2010-02-15 12:24:13 +11:00
Nicholas Nethercote af46a67e25 Whitespace-only changes to trigger a rebuild. 2010-02-15 15:18:37 +11:00
Nicholas Nethercote 3ce1e752eb Bug 507089 - TM/nanojit: introduce get/set methods for CallInfo::_argtypes (TM-specific part). r=jorendorff. 2010-02-15 11:12:08 +11:00
Nicholas Nethercote e211a5b6d2 Update nanojit-import-rev stamp. 2010-02-15 11:07:00 +11:00
Nicholas Nethercote 18c949dde4 Bug 507089 - TM/nanojit: introduce get/set methods for CallInfo::_argtypes. r=edwsmith.
--HG--
extra : convert_revision : 8075a19e11565e6de5f33ed829fe435e47e116ca
2010-02-15 11:01:04 +11:00
Luke Wagner 17eccdbfcf Remove JS_CEILING_LOG2 from HashTable::init() 2010-02-13 12:02:12 -08:00
Luke Wagner edf0e8091b Try 784ceadd60e5 again with more #pragma optimize("", off) 2010-02-06 10:14:05 -08:00
Nicholas Nethercote 6ea35cc53a Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them (TM-specific part). r=stejohns. 2010-02-12 12:41:50 +11:00
Nicholas Nethercote aca66e98ec Update nanojit-import-rev stamp. 2010-02-12 12:36:52 +11:00
Nicholas Nethercote 05287dd339 Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them. r=stejohns,edwsmith.
--HG--
extra : convert_revision : 990d84e8d841139009cb2728297d81e8fc4aad27
2010-02-12 12:30:16 +11:00
Rick Reitmaier ef6fca144f Bug 545113 - Compiling for MIPS fails during linking (r+rreitmai) [c.dearman]
Compiling tamarin-redux for MIPS fails during linking with the following error:

./libavmplus.a(Assembler.o): In function
`nanojit::Assembler::gen(nanojit::LirFilter*)':
Assembler.cpp:(.text+0x4e14): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'
Assembler.cpp:(.text+0x4e1c): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'

--HG--
extra : convert_revision : 63fda420c52dbe5b328e978ebe50c297ff2cb729
2010-02-11 15:52:18 -08:00
Brendan Eich 33d4fdd4d2 Fix two subtle bugs to-do with partial flat closures (545573, r=jorendorff). 2010-02-11 14:56:59 -08:00
Jason Orendorff 99f75d684d Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Brendan Eich 26d7765d28 Fix orange in wake of patch for bug 542002. 2010-02-10 18:58:49 -08:00
Nicholas Nethercote a29f63d211 merge 2010-02-11 11:44:38 +11:00
Nicholas Nethercote d131c6ec91 Bug 543401 - nanojit: merge SoftFloatFilter implementations (TM-specific part). r=gal. 2010-02-11 11:16:50 +11:00
Nicholas Nethercote f539652eaf Update nanojit-import-rev stamp. 2010-02-11 11:15:20 +11:00
Jeff Walden a696115795 Bug 545275 - Remove JS_HAS_FILE_OBJECT support as it's rather broken (and unlikely to be fixed soon) and the presented API isn't very good. r=mrbkap 2010-02-09 17:27:02 -08:00
Brendan Eich 8e1d6facb8 Bug 542002 - Optimize to flat closures even if some upvars can't be copied (r=jorendorff). 2010-02-10 15:17:52 -08:00
David Anderson f9ddaeb119 Changed --enable-jit to --enable-tracejit (bug 545245, r=sayrer). 2010-02-09 16:48:56 -08:00
Robert Sayre cb468fc64a Merge mozilla-central to tracemonkey. 2010-02-09 13:08:35 -05:00
Bob Clary 15f1ebb422 bug 528404 - disable e4x/XML/regress-324688.js due to random time outs, r=sayrer. 2010-02-09 09:19:58 -08:00
Robert Sayre 2e6892769e Add test for bug 470795. 2010-02-09 11:15:19 -05:00
Boris Zbarsky e7cd442e13 Bug 538663 followup. Don't rely on having python 2.5. r=jorendorff 2010-02-08 15:53:32 -05:00
Luke Wagner 37ef23190f Backout 784ceadd60e5 until PGO stops crashing 2010-02-08 10:28:07 -08:00
Leon Sha 52d2fd82e8 Bug 544422 - [Nanojit] Implement asm_f2i on sparc. r=stejohns
--HG--
extra : convert_revision : 4849b094bea2e2ff58c86ca09ef4a8f652777594
2010-02-08 15:34:55 +08:00
Leon Sha 017fa10c72 Bug 544445 - [Nanojit] Increase NJ_MAX_STACK_ENTRY for sparc to 8192. r=stejohns.
--HG--
extra : convert_revision : d04830e99d19b0e5fc182404b35393430daaa4b2
2010-02-08 15:07:53 +08:00
Luke Wagner d2934fd080 Attempt to prevent MSVC ICE during PGO
--HG--
extra : rebase_source : 1d3e37dd1b029bd4161a71ff7ee09097af31406a
2010-02-07 20:57:30 -08:00
Leon Sha e367a7cf88 Bug 544447 - [Nanojit] ./bin/lirasm crash on Solaris x86 compile with Sun Studio 12u1. r=stejohns
--HG--
extra : convert_revision : 00e2b79d00023633f87d862f2bdbbebc2e72789c
2010-02-08 12:42:53 +08:00
Nicholas Nethercote 23b0ac5fbe Bug 543401 - nanojit: merge SoftFloatFilter implementations. r=gal,stejohns.
--HG--
extra : convert_revision : 485ae0bec97b3ec9c55ac943f81a2992c8153549
2010-02-08 08:35:35 +11:00
Nicholas Nethercote 197bb557c1 Bug 543144 - Typechecker causes assertions in softfloat. r=stejohns,dschaffe.
--HG--
extra : convert_revision : 7d2cd297ad03f3a9d1d7722027dbb1284dd49add
2010-02-06 02:14:48 +11:00
Leon Sha c4127be43a Bug 544178 - [Nanojit] Assembler code for LIR_ult is wrong on sparc. r=stejohns
--HG--
extra : convert_revision : 955a870d35fa8ef0c3d4413f7e7831c38cfa5329
2010-02-05 09:42:57 +08:00
Jeff Walden b1b3c7c822 Bug 521456 - Propagate the callness of eval while decompiling, so that a NewExpression containing an eval() is properly parenthesized. r=mrbkap 2010-01-08 17:25:09 -06:00
Robert Sayre 776a50adb0 Try to fix js1_8_5/extensions/ jsreftest directory. see bug 544757. 2010-02-07 10:44:15 -05:00
Igor Bukanov 85735b55c0 bug 544656 - fixing keepAtoms warning with GCC. r=brendan 2010-02-07 11:22:45 +03:00
Luke Wagner 9d904bfaad Fix &va_list on x86-64, quiet warning 2010-02-06 21:28:18 -08:00
Luke Wagner 02e6906f3c Fix opt test bustage
--HG--
extra : rebase_source : 232d3e154a7c2d5fc0cc31cde68cf58657c9cea4
2010-02-06 15:25:38 -08:00
Igor Bukanov eb3af8d013 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
Luke Wagner 7832cb4aba Bug 542091 - remove JS_PushArguments[VA] (r=mrbkap,dveditz) 2010-02-06 12:26:24 -08:00
Luke Wagner 0678d00c44 Bug 515812 - Double hashing template (r=jorendorff) 2010-02-06 10:14:05 -08:00
Jason Orendorff 0d527be1c0 In the JS shell, evalcx() sandboxes should have JSCLASS_GLOBAL_FLAGS. This permits the JIT to run. No bug, r=mrbkap on IRC.
--HG--
extra : rebase_source : 87b5b6ee78edf9b5034d9fa079e7976ba3660c98
2010-02-05 17:10:41 -06:00
David Anderson 64924e098d Fixed tracker usage not protecting against certain state changes (bug 541830, r=lw). 2010-02-05 13:28:50 -08:00
Brendan Eich bc52fdab44 Fix property cache hit guarding to-do with the global object (544161, r=jorendorff). 2010-02-05 11:46:57 -08:00
Igor Bukanov 2a6b62750b bug 543839 - followup to skip the test if evalcx is not available. This should fix jsreftest orange 2010-02-05 19:14:08 +03:00
Robert Sayre 3ba6119c11 Merge. 2010-02-05 10:54:18 -05:00
Robert Sayre 29906e8f35 Merge mozilla-central to tracemonkey. 2010-02-05 10:53:48 -05:00
Igor Bukanov 9a213027b0 bug 543839 - js_NonEmptyObject must lock the object. r=jorendorf 2010-02-05 10:41:54 +03:00
Vladimir Vukicevic 9e62593858 add missing js1_8_5 to Makefile.in; r=orange 2010-02-04 18:36:39 -08:00
Nicholas Nethercote 197ed3b626 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote. 2010-02-05 12:40:04 +11:00
Nicholas Nethercote 6c4d3e0d55 merge 2010-02-05 11:56:33 +11:00
Nicholas Nethercote b3e0a7313e Update nanojit-import-rev stamp. 2010-02-05 11:44:31 +11:00
Vladimir Vukicevic ad3166a720 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 2, tracing; r=gal 2010-02-04 16:36:33 -08:00
Vladimir Vukicevic eb2912f04f b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 1; r=jorendorff 2010-02-04 16:33:40 -08:00
Vladimir Vukicevic 79a87e46c0 no bug; tests/js1_8_5 is not listed in tests/jstests.list; r=dmandelin 2010-02-04 15:49:30 -08:00
Vladimir Vukicevic db67dfcafe b=542402; add FLOAT64 to typed arrays; r=jorendorff 2010-02-04 15:31:40 -08:00
David Mandelin 13b46d6623 Bug 544128: windows compatibility for shell JSTest harness, r=dvander 2010-02-04 14:41:50 -08:00
David Mandelin 61cdb17aa9 No bug: fix visibility warnings in GCC, no_r=me 2010-02-04 11:29:53 -08:00
Walter Meinl 5511b8f432 Bug 536451 - OS/2 cannot handle mozsqlite3.dll. r=ted
--HG--
extra : rebase_source : c1a6deb7130b1142ca58dad88a34ecdcda75a378
2010-02-04 15:51:02 +01:00
Nicholas Nethercote 764b0d2165 Bug 543384 - Multi-line assertion that makes jsfunfuzz sad. r=jruderman.
--HG--
extra : convert_revision : 42624af8095495e387d20c7e474dcc602694b300
2010-02-04 10:26:47 +11:00
Nicholas Nethercote f04d49eb7e No bug. Add missing case in switch to fix compiler warning. r=me.
--HG--
extra : convert_revision : f8bd54f28d02464ff69422477e9139dfaa0d85ae
2010-02-04 10:22:41 +11:00
Boris Zbarsky 17267b97a3 Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff 2010-02-03 16:14:14 -05:00
Steven Johnson b7b00c3b01 Bug 543803 - Fix unused-variable warnings in Release ARM builds (r=rreitmai)
--HG--
extra : convert_revision : de2889d43d17c9ccc659c509dcb0c1749111d336
2010-02-02 12:37:59 -08:00
Jeff Walden 630b747b6f Bug 543097 - Precompute the prototype when evaluating function expressions and regular expression literals on trace, rather than (slowly) looking it up every time. r=jorendorff
--HG--
extra : rebase_source : d023ded17937248bdfb23705e7477918b111746f
2010-02-01 17:20:37 -08:00
Jeff Walden 76d724662c Backed out changeset bc8bb2def82d, something's weird with this and we try to generate 9-argument traceable natives (maxargs is 8). 2010-02-03 17:10:23 -08:00
Boris Zbarsky 52af05fea1 Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff 2010-02-03 16:14:14 -05:00
Ginn Chen 4e40b7c167 Bug 537076 - jslock.cpp failed to compile with Sun Studio 12u1 on Solaris. r=jorendorff.
--HG--
extra : rebase_source : dff24a27c0d1464e18d2abeb72a400360db3267d
2010-02-03 11:02:07 -06:00
Igor Bukanov 9d7785e018 bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 13:42:07 +03:00
Igor Bukanov d7f5b53e87 Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes 2010-02-03 13:37:56 +03:00
Igor Bukanov fb2a22b4e8 bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 12:46:10 +03:00
Jason Orendorff 8784daeda5 Bug 543565 - Assertion failure: fp->slots + fp->script->nfixed + js_ReconstructStackDepth(cx, fp->script, fp->regs->pc) == fp->regs->sp | Assertion failure: pcdepth + ndefs <= StackDepth(script) due to bug handling JSOP_POP after JSOP_UNBRAND. r=brendan. 2010-02-02 18:20:24 -06:00
Rick Reitmaier 344df5591b Bug 504202 - MIPS target support (r+graydon,rreitmai) [chris.dearman]
MIPS target support added courtesy of Chris Dearman.

--HG--
extra : convert_revision : 45136ae8db067291bb4b6595f6c4319675012cc5
2010-02-01 10:22:30 -08:00
Rick Reitmaier 4ea4aee115 Bug 508266 - nanojit X64 backend doesn't handle 64bit jumps (r+nnethercote,edwsmith)
--HG--
extra : convert_revision : 84a0590762f5a804b905378b74414294ed22cbe6
2010-01-28 15:25:07 -08:00
Steven Johnson 03aeaa1246 Update comment about Thumb-2 usage to be grammatically correct, per nnethercote's suggestion.
--HG--
extra : convert_revision : 4520d720b2e3681edfeba915cd7d359231f24de8
2010-01-28 13:57:08 -08:00
Steven Johnson ff84231a19 remove arm_thumb and arm_thumb2 flags (r=rreitmai,r=nnethercote,bug=541491)
--HG--
extra : convert_revision : b9b31e60f28eb87842aae9325944c1d03ca1b2a7
2010-01-28 13:37:40 -08:00
Jeff Walden 5984ede8a0 Bug 540985 - Regression in Peacekeeper string benchmarks due to regexp literals no longer tracing. A prototype of this patch was by bz. r=igor 2010-01-26 18:41:30 -08:00
Brendan Eich 004044d3a5 Add jstests.list entry for regress-541455.js. 2010-02-02 11:11:07 -08:00
Brendan Eich 82dceeda67 Add test for 541455. 2010-02-02 11:10:19 -08:00
Brendan Eich 3d332452c5 Cleanup pass on bug 543119 (r=vlad). 2010-02-01 15:50:30 -08:00
Luke Wagner 742f31ca8a Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo) 2010-01-29 18:25:16 -08:00
Vladimir Vukicevic a20b5365ba b=543119; typed array tracing should be more const than it is; r=gal 2010-01-29 23:03:59 -08:00
Robert Sayre 6eac0d504b Merge mozilla-central to tracemonkey. 2010-01-29 09:51:21 -08:00
Nicholas Nethercote 539fc4642f Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (TM-specific part). r=dvander. 2010-01-28 09:43:36 +11:00
Nicholas Nethercote 6a4833dbff Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote. 2010-01-28 09:41:07 +11:00
Nicholas Nethercote 672cf8b3e0 Update nanojit-import-rev stamp. 2010-01-28 09:38:06 +11:00
Julian Seward 6ac94fd82d Bug 536153 - NativeARM.cpp: Incorrect use ALUr_shi to generate compare insns. r=Jacob.Bramley.
--HG--
extra : convert_revision : f4ece4c13545709edbd5b8f856ec39f155223892
2010-01-28 09:31:38 +11:00
Nicholas Nethercote e563ce0389 Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (NJ-specific part). r=edwsmith.
--HG--
extra : convert_revision : 54cf6d39a21dc1e209d3e0e48bb6c2b61ab5f909
2010-01-28 08:45:29 +11:00
Edwin Smith feb28e66a5 Fix unused local variable warning in NativePPC.cpp (r=me)
--HG--
extra : convert_revision : e58ebcf59d3eb1a75a4ad41df32db2794732284b
2010-01-27 10:17:19 -05:00
Steven Johnson dc7b19ed5b Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (r=rreitmai,nnethercote)
--HG--
extra : convert_revision : 90cd176398da34d02665e189e6311b72e8d3657d
2010-01-26 10:37:38 -08:00
Luke Wagner 844dfe7966 Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst) 2010-01-25 08:48:07 -08:00
Igor Bukanov 42951409df bug 540805 - using reference counting only for empty scopes. r=jorendorff 2010-01-27 09:50:17 +03:00
Vladimir Vukicevic 01a8412479 b=542395; really enable typed array tracing and support JSOP_LENGTH; r=gal 2010-01-26 21:45:11 -08:00
Jeff Walden 4b7a8f4d52 Rearrange jsbuiltins.h's list of traceable natives by file. No bug, r=sparky 2010-01-26 18:20:04 -08:00
Igor Bukanov 7df48a8a56 bug 541790 - do not purge again if the GC restarts. r=jorendorf 2010-01-26 22:27:09 +03:00
Luke Wagner aaded1d133 Fix ARM bustage, part deux 2010-01-26 04:41:00 -08:00
Nicholas Nethercote 6c8c41a7ef Bug 541886 - nanojit: move compile() into class Assembler (TM-specific part). r=dvander. 2010-01-26 14:06:13 +11:00
Nicholas Nethercote c7b9267ea5 Update nanojit-import-rev stamp. 2010-01-26 13:48:19 +11:00
Nicholas Nethercote 5f5e0c1dd8 Bug 541886 - nanojit: move compile() into class Assembler. r=rreitmai.
--HG--
extra : convert_revision : f3506c693a7e8b7af089367313cbe960d7e2607f
2010-01-26 13:38:15 +11:00
Steven Johnson 06b1173f2c Init rb to UnspecifiedReg in asm_fop (x64) to pacify compiler
--HG--
extra : convert_revision : 1cae250cda3ca1765fc3de8e057dccdd4522c358
2010-01-25 15:23:34 -08:00
Steven Johnson e67661965a remove unused-parameter warning from Assembler::hint() in NativeX64.cpp to fix Linux64 build breakage
--HG--
extra : convert_revision : 5db4de482aca2e102551560de084c33bd4db2bc8
2010-01-25 15:04:22 -08:00
Steven Johnson c9f452bb00 fix obviously wrong call to getTarget() in ValidateReader::read() for LIR_jtbl (r=me)
--HG--
extra : convert_revision : 0a24446567224c42ee3f421627ea644976fea3de
2010-01-25 11:56:01 -08:00
Steven Johnson 8c84e53218 implement EXPANDED_LOADSTORE for ARM (code=vladimir,stejohns; r=vladimir,rreitmai; bug=534765)
--HG--
extra : convert_revision : 75f0d95c8bea8ceb0d9bb2dfd55aeb0d0d200bd1
2010-01-25 11:08:42 -08:00
Vladimir Vukicevic bd48cf44f9 b=533659; tracing support for JS typed array types; r=gal 2010-01-25 17:06:36 -08:00
Graydon Hoare 9cd8ae052a Bug 526074 - handle nothing-to-import case in import script, r=gal. 2010-01-25 10:32:33 -08:00
Nicholas Nethercote 4436e387e5 Update nanojit-import-rev stamp. 2010-01-25 14:03:02 +11:00
Nicholas Nethercote 8441743c05 Bug 538924 - nanojit: rework reservations. r=edwsmith.
--HG--
extra : convert_revision : 51a78a175b1074c933323e0bf24d6f64b5c6c35d
2010-01-25 10:39:36 +11:00
Nicholas Nethercote 1fe12afbf2 ARM bustage fix for bug 540351.
--HG--
extra : convert_revision : 4a6d8a20be25e523d261f1754b0be90619fc0554
2010-01-25 09:44:47 +11:00
Nicholas Nethercote f61071661a Bug 540351 - nanojit: refactor hint() and registerAlloc(). r=rreitmai.
--HG--
extra : convert_revision : fa4f34a51239317d312b9388f2eb9ca2631b463e
2010-01-25 09:40:11 +11:00
Nicholas Nethercote cb498f29be Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64() (TM-specific part). r=dvander. 2010-01-25 08:50:38 +11:00
Nicholas Nethercote 06a18d9d27 Update nanojit-import-rev stamp. 2010-01-25 08:36:49 +11:00
Nicholas Nethercote 2a71b75276 Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64(). r=dvander,stejohns.
--HG--
extra : convert_revision : f24a70adec4c24dffd3a9c6c3572c5755938291a
2010-01-25 08:25:04 +11:00
Steven Johnson ec4ef37377 nanojit/NativeARM.h: remove NJ_ARM_ARCH (code=bramley,r=stejohns,bug=541258)
--HG--
extra : convert_revision : cfcf246845a1fa07f60c791bdc471ed11a10351a
2010-01-22 12:39:57 -08:00
Edwin Smith c2ecfcf6d8 (second try) Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.

It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated.  If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.

A flag per code chunk is used so that only modified pages are unprotected and
reprotected.

CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.

nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX.  Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.

--HG--
extra : convert_revision : 3c9030f46c15cc0f033592db6ba96674e1f5173b
2010-01-22 15:18:12 -05:00
Igor Bukanov 5dbf75afbb bug 538275 - ClaimTitle cleanup. r=brendan, jorendorff 2010-01-24 14:15:38 +03:00
Luke Wagner c850fa4c7b Fix ARM bustage 2010-01-22 16:15:24 -08:00
Luke Wagner a9ec05dc01 Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Brendan Eich 435e1367d1 Bug 541455 - Do not drop "mumble"; would-be directives in the parser, let them be completion values (or useless expressions for the emitter to cull) (r=jimb). 2010-01-22 12:17:13 -08:00
Luke Wagner 88037b9dce Bug 458421 - dead stuff in spidermonkey (r=jorendorff) 2010-01-22 11:52:17 -08:00
David Mandelin eac866de48 Bug 541239: don't use upvar for variables in eval if they cross a generator, r=mrbkap 2010-01-21 17:06:11 -08:00
Nicholas Nethercote 64f1f32334 Bustage fix for bug 463137: use insBranch() instead of ins2() to insert LIR_j. r=me. 2010-01-22 16:20:42 +11:00
Nicholas Nethercote bd4e693335 Bug 463137 - TM/nanojit: type-check LIR (TM-specific part). r=jseward. 2010-01-22 13:41:24 +11:00
Nicholas Nethercote 3638f70015 Update nanojit-import-rev stamp. 2010-01-22 13:38:10 +11:00
Nicholas Nethercote 9b55a0362a Bug 521692 - NJ merge: don't check for error twice in Assembler::gen(). r=graydon.
--HG--
extra : convert_revision : c0257e13ea032510ed6ec3e1a6ea55c0fe98e614
2010-01-22 13:24:59 +11:00
Nicholas Nethercote 0e27f635af Bustage fixes.
--HG--
extra : convert_revision : 7befbe058634dc37e2fcd614969fd92c64507096
2010-01-22 10:21:29 +11:00
Nicholas Nethercote b4c8968552 Bug 463137 - TM/nanojit: type-check LIR. r=jseward,rreitmai.
--HG--
extra : convert_revision : 162182c5cd78d5366c1ca3ea2ca9b11f40115942
2010-01-22 10:10:59 +11:00
David Mandelin aeac2f7254 Bug 540243: don't use JSOP_GETUPVAR if def-use chain crosses a generator lexical scope, r=mrbkap 2010-01-21 13:27:36 -08:00
Michael Wu 4eda34afaf Bug 538269 - Set HOST_AR_FLAG like HOST_AR, r=ted
--HG--
extra : rebase_source : 7d96f2c97970ad7c086e51ce99a08918e507aa1f
2010-02-03 14:40:34 -08:00
Jason Orendorff 5b84c4f319 Bug 524522 revisited - Make JS_ASSERT trigger Breakpad on Mac OS X. rs=luke. 2010-02-03 14:53:26 -06:00
Jonas Sicking 893023f46a Bug 543696: Remove unused nsIScriptSecurityManager::CheckConnect. r/sr=mrbkap 2010-02-02 02:29:15 -08:00
Vladimir Vukicevic a689d5bcc3 b=542885; webgl types should not be enumerable on global objects; r=smaug 2010-02-02 01:18:35 -08:00
David Mandelin cd46115783 Bug 540528: don't reset scopeChain JSStackFrame when leaving trace if it was already set by interpreter, r=mrbkap 2010-01-19 19:06:40 -08:00
Nicholas Nethercote a9676e116f Update nanojit-import-rev stamp. 2010-01-22 08:49:51 +11:00
Nicholas Nethercote 3e6f0b39c9 Whitespace-only change, to test if NJ/TM repo breakage has been fixed. r=graydon.
--HG--
extra : convert_revision : 141daad5d4d254008de9d129288917625cfdfb57
2010-01-22 08:49:19 +11:00
Nicholas Nethercote 5419fa09ea Update nanojit-import-rev stamp (by hand, due to update-nanojit difficulties). 2010-01-22 08:44:35 +11:00
Nicholas Nethercote ffbe1ee005 Backed out changeset (by hand due to update-nanojit difficulties) 69d5a3454a6e (bug 460993), avmplus.cpp changes were bogus. 2010-01-22 08:43:09 +11:00
David Mandelin 49a3366f24 Bug 540136: remove erroneously duplicated line of code from GetFromClosure, r=dvander 2010-01-21 11:08:08 -08:00
Nicholas Nethercote 48e1a3896e Avoid bogus uninit variable warning. r=gcc. 2010-01-21 13:12:02 +11:00
Nicholas Nethercote ba7244879c Bug 539629 - lirasm: don't have two ways of running the tests (TM-specific part). r=graydon. 2010-01-21 13:07:59 +11:00
Nicholas Nethercote bbb120c6c0 Update nanojit-import-rev stamp. 2010-01-21 13:06:10 +11:00
Nicholas Nethercote 0f8961add0 Bug 539629 - lirasm: don't have two ways of running the tests (NJ-specific part). r=graydon.
--HG--
extra : convert_revision : c41f7c86b3cd3c2019189f941daa47f311959789
2010-01-21 12:59:56 +11:00
Edwin Smith 3275cd59d5 Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.

It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated.  If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.

A flag per code chunk is used so that only modified pages are unprotected and
reprotected.

CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.

nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX.  Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.

--HG--
extra : convert_revision : a1002278492b012b727550db2fb928faa6bee36b
2010-01-20 13:32:02 -05:00
Jeff Walden 96964bf218 Bug 539488 - |var| statements for existing, read-only/permanent properties should not be errors. r=jorendorff
--HG--
extra : rebase_source : b052779036d0690b92c63e37412b7ae1ebabf4eb
2010-01-20 13:58:36 -08:00
Brendan Eich 8101f0e3d2 Bug 540774: "Assertion failure: top < StackDepth(ss->printer->script)" decompiling upvar (r=jorendorff). 2010-01-20 16:28:18 -08:00
Jason Orendorff aa87db6fa2 Bug 538440 - We never jit DOM workers. r=mrbkap. 2010-01-20 14:54:34 -06:00
Nicholas Nethercote a4e8082e48 Update nanojit-import-rev stamp (manually, because I stuffed things up). 2010-01-20 08:54:30 +11:00
Nicholas Nethercote 25a6d72d72 Bug 540522 - nanojit: re-enable StackFilter(!). r=stejohns.
--HG--
extra : convert_revision : f1f968ac0f1498b5d4bbd32f637fb4617f45d501
2010-01-20 08:30:49 +11:00
Jacek Caban 8ced428d1e Bug 505034 - Compiling Nativei386.cpp on MinGW fails because of different syntax of inline asm. r=graydon
--HG--
extra : convert_revision : 998ded176a21bee139e444182005f320bcbcfa1e
2010-01-18 20:34:13 -05:00
Steven Johnson 26dd4d8a25 add stub implementations of asm_f2i on PPC and Sparc. add NJ_F2I_SUPPORTED compiletime flag. (r=rreitmai,bug=523251)
--HG--
extra : convert_revision : 387c73e51e77eb47b3344678175208f13390dd02
2010-01-18 15:26:49 -08:00
Nicholas Nethercote 516d8f4cd8 Bug 538538 follow-up: random-opt.{in,out} weren't added. r=graydon,stejohns.
--HG--
extra : convert_revision : 874d96dc44813f4141e232ea98fa3f4b2d6474fc
2010-01-18 16:34:23 +11:00
Jeff Walden 2a76bea608 Oops, back out changeset af515d48bdcf, should have gone to nanojit-central instead. :-\ 2010-01-18 20:27:43 -05:00
Jacek Caban 9fcf0e9afb Bug 505034 - Compiling Nativei386.cpp on MinGW fails because of different syntax of inline asm. r=graydon 2010-01-18 15:08:30 -05:00
Nicholas Nethercote db350c714e Bug 539379 - TM: Crash [@ ExecuteTrace] or [@ ExecuteTree] (TM-specific test case). r=edwsmith. 2010-01-18 09:48:39 +11:00
Nicholas Nethercote 132d288294 Bug 538538 - lirasm: don't run the optimizers, except when using --random (TM-specific part). r=graydon. 2010-01-18 09:47:31 +11:00
Nicholas Nethercote 178ee2177d Update nanojit-import-rev stamp. 2010-01-18 09:41:06 +11:00
Nicholas Nethercote df9779e7cc Bug 539876 - nanojit: optimize away 'y = mul x, 1'. r=rreitmai.
--HG--
extra : convert_revision : ebd6a957cf98ffca526fdce976826be5246e0a51
2010-01-18 09:36:32 +11:00
Nicholas Nethercote 50deab113c Bug 539379 - TM: Crash [@ ExecuteTrace] or [@ ExecuteTree]. r=edwsmith.
--HG--
extra : convert_revision : a5115ee971c8496182e9b4f6847ad91619b4a585
2010-01-15 15:07:32 +11:00
Nicholas Nethercote 9a054fb60d WinNT bustage fix for bug 538538.
--HG--
extra : convert_revision : f2f5796b620ed75ed33258163590f4d4a884a200
2010-01-15 10:05:44 +11:00
Nicholas Nethercote 325795e9d3 Bug 538538 - lirasm: don't run the optimizers, except when using --random (NJ-specific part). r=graydon,stejohns.
--HG--
extra : convert_revision : 7ab1e0842f7dd1807c11578a34e5e95884a7e6dc
2010-01-15 08:59:19 +11:00
Nicholas Nethercote 08bfb82a73 Bug 539621 - nanojit: flush LogControl output on every line. r=edwsmith.
--HG--
extra : convert_revision : e75430160542e5ce18d8ee5768c27fe719315179
2010-01-15 08:47:18 +11:00
Vladimir Vukicevic f82a959134 Missed S14 -> FpSingleScratch renaming
--HG--
extra : convert_revision : 0628e6475f1f08e91a9113e0174230d38272f4e5
2010-01-13 18:10:28 -08:00
Vladimir Vukicevic 6bcacd7770 b=523251; add LIR_f2i; r=njn,edwsmith
--HG--
extra : convert_revision : 95e6284a8725404dfb1f2685e1ee5efdc334d169
2010-01-13 14:40:35 -08:00
Steven Johnson b9d60d299a nanojit/NativePPC.cpp: PPC backend needs to ensure caller parameter area is at least 8 registers in size (r=rreitmai,r=nnethercote,bug=539270)
--HG--
extra : convert_revision : 8cc0cbcb83e2ac84078705b23a5232a6d8518a6c
2010-01-12 13:49:50 -08:00
Edwin Smith ad305a8000 Lazy-allocate code memory for side exits (bug 538393 r=nnethercote+)
--HG--
extra : convert_revision : 97bacc5dff62389b91741265ca30dc73a2a8f532
2010-01-12 08:58:14 -05:00
Nicholas Nethercote 815ed29173 Bug 536293 - nanojit: use a bigger --random size with 'make check' (follow-up). r=me.
--HG--
extra : convert_revision : 3f09056fb0a7e3c7c6ae65eba7d58d095bd0c059
2010-01-12 16:34:41 +11:00
Gregor Wagner bbd6af9796 Gregor Wagner <anygregor@gmail.com> Bug 533450: js_GetStringBytes ignore js_CStringsAreUTF8 when JSString::isUnitString r=brendan 2010-01-15 15:58:33 -08:00
David Anderson d4d7f799dd Fixed x64 assertion in tracing JSOP_LENGTH on arguments (bug 539965, r=dmandelin). 2010-01-15 12:05:01 -08:00
David Mandelin b868708ae4 Bug 495331: trace JSOP_LAMBDA for non-heavyweight, non-null closures, r=jorendorff,dvander 2010-01-15 11:32:14 -08:00
David Mandelin 54c1e380e8 Bug 532689: guard that index is in range for arguments[k] on trace, r=bz 2010-01-14 18:48:17 -08:00
David Mandelin 4101ad804e 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 6b90343706 Bug 539553 - Correctness regression on the r-tree benchmark. r=dmandelin. 2010-01-14 18:23:05 -06:00
Jason Orendorff 649d908361 Bug 533876 - In JSScope::{add,put}Property, disregard the SPROP_IN_DICTIONARY bit of the flags. r=brendan.
--HG--
rename : js/src/tests/js1_8_1/regress/browser.js => js/src/tests/js1_8_5/regress/browser.js
rename : js/src/tests/js1_8_1/regress/shell.js => js/src/tests/js1_8_5/regress/shell.js
extra : rebase_source : f86f464a91d8f560a1034e45fe23a5bc4c84d9f5
2010-01-14 17:20:27 -06:00
David Mandelin 13c2fb7749 No bug: fixing manifest bustage introduced in 7d7eb566cd77, no_r=me 2010-01-14 16:05:29 -08:00
Brendan Eich 7d3e7ed2cc Another followup for 536564, assertion fix. 2010-01-14 15:32:29 -08:00
Brendan Eich 9ab262695d Fast followup fix for thinko (536564, r=jorendorff). 2010-01-14 14:22:00 -08:00
Brendan Eich 78e7916894 Skip regress-324278.js now, revert it to prev version (with comment tweak). 2010-01-14 13:28:32 -08:00
Brendan Eich 93805966dd Analyze module pattern and private-statics pattern in order to despecialize from methods to slots/sprops (536564, r=jorendorff). 2010-01-14 09:33:14 -08:00
Igor Bukanov 5c08832439 bug 528200 - replacing GC thing flags with a mark bitmap 2010-01-14 11:27:32 +03:00
Jason Orendorff 69e4bd38f4 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 082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Igor Bukanov 5c4dbe76fa 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 e337a114ad 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 72b31b5f40 Mark regress-404755.js as random. see bug 544603. 2010-02-07 10:00:40 -05:00
Ms2ger@gmail.com e3337c3051 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Jeff Walden 6751e20229 Bug 538482 - |case null| deoptimizes switch statements to use condswitch. r=jorendorff 2010-01-07 17:22:22 -06:00
Vladimir Vukicevic bbd3d40066 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 e34c9b617e b=523251; add LIR_f2i; r=gal 2010-01-11 21:41:20 -08:00
Nicholas Nethercote ed82132f80 Update nanojit-import-rev stamp. 2010-01-12 15:30:15 +11:00
Nicholas Nethercote ebdd2dbd3c 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 1dcde024a1 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 eec8af2652 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 8bbbbe1dd2 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 cc1458485e 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 75bbae7136 Whitespace hygene (r=me)
--HG--
extra : convert_revision : f5f333d75636ed9e4c7869bdcf6aaa69beb35a2e
2010-01-07 13:05:33 -05:00
Nicholas Nethercote 1d3310a087 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 895c1fa2a0 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 3973a05c6d Bustage fix -- We can't assert that constant folding worked. 2010-01-11 18:52:44 -08:00
Brendan Eich 780179914c 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 85dd455a8b Bug 538314: add ad hoc closure test suite to trace-tests, r=jorendorff 2010-01-11 18:18:42 -08:00
David Mandelin 8ce970600a Backed out changeset 70854fa518da -- toolkit/ files were changed by accident 2010-01-11 18:15:17 -08:00
David Mandelin b668591309 BUg 538314: add ad hoc closure test suite to trace-tests, r=jorendorff 2010-01-07 13:14:20 -08:00
Vladimir Vukicevic 70bc8745fc No bug. Fix typed array tests; rs=brendan 2010-01-11 17:21:33 -08:00
Blake Kaplan bc723ce537 No bug. Fix GCC warnings. rs=brendan 2010-01-11 13:34:56 -08:00
Blake Kaplan 63f7dadd3f Bug 537673 - Don't constant-fold a parenthesized callee expression. r=jorendoff 2010-01-07 15:58:44 -08:00
Brendan Eich 5c35fd9d37 Fix warnings (precog r=vlad). 2010-01-11 10:28:21 -08:00
Robert Sayre 94ffb8f8ba Merge mozilla-central to tracemonkey. 2010-01-09 16:52:20 -05:00
Vladimir Vukicevic 11ff89f06c b=538255; [quickstubs] add ability to negate/remove stubs included through wildcards; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic e9171df75d b=538258; [quickstubs] return types for traceable natives not fully resolved; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic d97817c84a b=534733, add support for fully custom quickstubs; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic 87ebef82f4 b=532774; add native typed arrays to JavaScript; r=brendan,jorendorff 2010-01-09 13:01:37 -08:00
Jesse Ruderman 0fc8ba572d Fix bug-number comments in reftest.list files 2010-01-08 19:54:28 -08:00
Jesse Ruderman 781bda92ad We forgot to remove this comment when re-enabling this test 2010-01-08 18:16:40 -08:00
David Mandelin 69e2e27f86 Bug 538673: better handling for cross-platform path representations in jstest harness, r=waldo 2010-01-08 15:23:05 -08:00
Robert Sayre 734227f143 Merge mozilla-central to tracemonkey. 2010-01-08 09:40:22 -05:00
Nicholas Nethercote 47f9254636 Bug 538484 - TM: generating bogus "ov ld1" sequence. r=nnethercote. 2010-01-08 14:25:36 +11:00
David Anderson c49f6d5086 Make sure trace native stack is 16-byte aligned (bug 534590, r=lw). 2010-01-07 17:20:00 -08:00
Jeff Walden e8ff7913e6 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 9ff959a301 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 932aa2decf Bug 533258 - "Assertion failure: hasMethodBarrier()" with ckeditor (r=jorendorff). 2010-01-07 10:01:01 -08:00
Jeff Walden 501646bf8a ...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 4b4641eb43 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 e6ad18318e Bug 537863 - Make various global properties (NaN, Infinity, undefined) readonly per ES5. r=jorendorff 2010-01-04 23:10:36 -06:00
David Mandelin 5717f84d1f 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 d81374a08d 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