Bob Clary
b7b64d646f
bug 552218 - mark ecma/Date/15.9.5.14.js, ecma/Date/15.9.5.34-1.js, ecma_3/Date/15.9.5.5.js as random on Linux due to DST issues.
2010-03-16 18:07:26 -07:00
Nicholas Nethercote
c8f23f417b
Update nanojit-import-rev stamp.
2010-03-17 09:08:13 +11:00
Nicholas Nethercote
8a8418a591
Fix mochitest failures caused by the patch for bug 498193. r=me.
...
--HG--
extra : convert_revision : c99da00233629d7184224a0a3a8129e248bb86fe
2010-03-17 09:04:22 +11:00
Edwin Smith
8ab25db2b6
Redo X64 asm_fneg to only allocate XMM regs, fix indirect calls, and revert asm_restore to old logic (bug 535706 r=nnethercote+)
...
The code for indirect calls needed shuffling; we must freeResourcesOf() before
assigning the call address to a register. The old code was just getting lucky,
and the regstate fixes tickled the latent bug.
asm_restore() can be stricter once we eliminate all cases where an F64 instruction
can be assigned to a GPR. The only known remaining case is asm_quad which is used
for both LIR_float and LIR_quad, which should be fixed by bug 534310.
--HG--
extra : convert_revision : e46657bf61cade04961da7e8abbb004385aaad7b
2010-03-15 21:52:41 -04:00
Luke Wagner
d5acf90a6f
Merge
2010-03-16 14:47:35 -07:00
Luke Wagner
3ecc58b15d
Backed out changeset bc5039752e41
2010-03-16 14:47:19 -07:00
Igor Bukanov
90d5fa7237
bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin
2010-03-16 21:28:33 +03:00
Luke Wagner
e133b17e2f
Bug 551539 - use memcmp for inner loop of StringMatch, sometimes (r=bzbarsky)
2010-03-16 09:55:45 -07:00
Luke Wagner
81068bf894
Add argv bounds check in js shell's EvalInFrame (no bug, r=me)
2010-03-16 09:45:07 -07:00
Nicholas Nethercote
af2a645261
Fix GCC warning. Follow-up to bug 552248. r=me.
2010-03-16 15:06:04 +11:00
Nicholas Nethercote
3380cbbffc
Bug 552582 - TM: remove unused case from FuncFilter. r=gal.
2010-03-16 14:58:52 +11:00
Luke Wagner
116a193009
Bug 552248 - fix crash when JS_EvaluateInStackFrame is called for frame in saved callstack (r=Waldo)
2010-03-15 19:24:08 -07:00
Nicholas Nethercote
677e0286c7
Update nanojit-import-rev stamp.
2010-03-16 12:12:38 +11:00
Nicholas Nethercote
d81a5cc3e9
merge
...
--HG--
extra : convert_revision : 0f045a5086e77b5117efe257b98c1d1b604b9487
2010-03-16 12:08:18 +11:00
Nicholas Nethercote
ba12853b48
Bug 498193 - nanojit: inline all LirWriter functions. r=gal.
...
--HG--
extra : convert_revision : 63d6441f969c16fe5c963c5c0c500bef4ce051bc
2010-03-16 12:05:43 +11:00
Edwin Smith
25b61ab75a
Fix bustage in _nvprof macro (no bug, r=nnethercote+)
...
--HG--
extra : convert_revision : 62212ce5b6bbefad34c0924cae9ce1701182f082
2010-03-15 20:57:35 -04:00
Nicholas Nethercote
05202d0996
Don't use DebugBreak() in NanoAssertFail(), it causes Tinderbox problems on Windows. No bug, r=me.
...
--HG--
extra : convert_revision : 01a6ad4362eedd1e25ec41d050a3e6bfaeaf5707
2010-03-15 16:23:30 +11:00
Chris Leary
431c00210e
Bug 549658: clean up JS scanner and inline more things, r=brendan,jimb
2010-03-15 16:42:06 -07:00
Andreas Gal
b4b0219570
Merge.
2010-03-15 16:14:09 -07:00
Andreas Gal
5bea94fbab
Backed out changeset 1732da7b3164
2010-03-15 16:13:49 -07:00
Andreas Gal
093f809d06
Allow class of native objects to change (552552, r=jorendorff).
2010-03-15 16:07:28 -07:00
Vladimir Vukicevic
77502e8e24
Backed out changeset 0b28c109c213; r=waldo,dmandelin
2010-03-15 16:03:57 -07:00
Jeff Walden
ee34aa693a
Bug 551007 - Make JSScopeProperty::attrs private, hide information behind accessor methods. r=jorendorff
2010-03-08 15:44:59 -07:00
Jeff Walden
e2df507656
Bug 551529 - Remove __count__. r=shaver
2010-03-12 17:09:49 -08:00
Andreas Gal
e7d0ea0449
remove JSTreeContext* parameter from JSCompiler parse methods (landing for dherman, bug 551021, r=jimb).
2010-03-15 14:58:01 -07:00
Nicholas Nethercote
9efa425554
Update nanojit-import-rev stamp.
2010-03-15 12:48:58 +11:00
Nicholas Nethercote
1476fbf23e
Bug 551876 - nanojit: fix avmplus.h warnings. r=edwsmith.
...
--HG--
extra : convert_revision : 9a999bda712986c15b4590e57029b580621ffcf9
2010-03-15 12:30:32 +11:00
Brendan Eich
9718113bc4
Patch from Mats Palmgren for bug 424558 (r=me).
2010-03-14 16:12:47 -05:00
Robert Sayre
e0c72a18bd
Merge mozilla-central to tracemonkey.
2010-03-14 13:04:44 -04:00
Dan Witte
92a0404005
commit 06a5dd6038d06df968bc1610dccf04c4ad16fe44
...
Author: Jacek Caban <jacek@codeweavers.com>
Date: Sat Mar 13 13:23:21 2010 +0100
Bug 513788 - mingw fix
2010-03-13 11:19:58 -08:00
Robert Sayre
c39c7d7603
Merge.
2010-03-13 13:11:48 -05:00
Robert Sayre
9250bdc7b6
Bustage fix: change ctypes to use finite() and the correct name for tvrs.
2010-03-13 12:59:35 -05:00
Igor Bukanov
73ec17cce7
forcing tinderbox restart to check if MAC xpcshell failure after landing for the bug 519476 persists.
2010-03-13 20:46:15 +03:00
Robert Sayre
84b14d6f30
Merge mozilla-central to tracemonkey.
2010-03-13 11:51:12 -05:00
Igor Bukanov
6d3a27abc3
bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin
2010-03-13 10:01:09 +03:00
David Anderson
265c45fe01
More tracer cleanups (bug 551754, r=lw).
2010-03-12 12:05:36 -08:00
David Anderson
463e990626
Fixed regression with recursion and type unstable frame slurping (bug 551705, r=gal).
2010-03-12 11:47:44 -08:00
Nicholas Nethercote
93befc3c5e
Bug 551879 - TM: remove shell/js.cpp and editline.c warnings. r=gal.
2010-03-12 17:33:54 +11:00
Nicholas Nethercote
a0e706dd4b
Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter (TM-specific part). r=gal.
2010-03-12 15:36:42 +11:00
Nicholas Nethercote
b54ddc33d7
Update nanojit-import-rev stamp.
2010-03-12 15:32:53 +11:00
Nicholas Nethercote
5eddcbaa96
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
8ce014db8d
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
88bd7328a3
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
56fd91773b
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
67d63e9fda
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
d695490da0
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
d050afae06
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
643a7b230b
Bug 551088 fix xpconnect signed warnings
...
r=dbradley
--HG--
extra : rebase_source : 01a2089bc2a3f3a402acaab68b8b9a6bce92bb09
2010-03-12 07:50:12 +01:00
timeless@mozdev.org
422c4d280c
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
ede86c56d9
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
159260b382
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
edb9157850
Revise js-facing API for js-ctypes, patch v3. b=513788, r=jorendorff
2010-03-11 17:17:36 -08:00
Dan Witte
10a9e0f584
Revise js-facing API for js-ctypes, patch v2. b=513788, r=jorendorff
2010-03-11 17:17:36 -08:00
Dan Witte
81ec574b6e
Revise js-facing API for js-ctypes, patch v1. b=513788, r=jorendorff
2010-03-11 17:17:36 -08:00
Nicholas Nethercote
62c45aa35a
Fix another WinNT compiler warning. No bug, r=me.
...
--HG--
extra : convert_revision : ddc0ce7b1670cbbad7aa4505696a71c3613e3324
2010-03-06 09:14:31 +11:00
Nicholas Nethercote
19e00905b7
Fix WinNT compiler warnings. No bug, r=me.
...
--HG--
extra : convert_revision : de5746d49dcf5073c9f37c35b2a810c7f77bc8d0
2010-03-05 17:44:28 +11:00
Rick Reitmaier
7c80afcc4e
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<leon.sha@sun.com>
3ef7ef245b
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
510429ab11
Silence jsvector.h strict-aliasing warning
2010-03-11 17:59:30 -08:00
David Mandelin
a96f860128
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
eff925b1f0
Make the parsing methods members of JSCompiler for bug 518055. r=jimb
2010-03-11 17:28:01 -05:00
David Anderson
f5c8a2d251
Merge.
2010-03-11 12:19:51 -08:00
David Anderson
564824e65a
Backed out changeset 04023ea0fb08.
2010-03-11 12:19:36 -08:00
David Anderson
f1b0597661
Merge.
2010-03-11 12:19:18 -08:00
David Anderson
5ec93e220c
Backed out changeset 887a3e05324c.
2010-03-11 12:15:21 -08:00
David Anderson
05b6c5fc13
Merge.
2010-03-11 11:41:14 -08:00
David Anderson
3a082d612b
Fixed warnings from the tracer oracle (no bug, rs=brendan).
2010-03-11 11:40:44 -08:00
Brendan Eich
20a8cdf89b
lightweight JSParseNode subclasses (bug 550350)
2010-03-11 11:29:21 -08:00
Mike Moenig
2b408683cd
Allow custom allocator use in SpiderMonkey (bug 549532, r=dvander).
2010-03-10 21:02:18 -08:00
Luke Wagner
9971404eca
Fix bustage on opt/NSPR builds
2010-03-10 15:48:53 -08:00
Luke Wagner
a1a73dd94d
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
2b44ad8323
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
1ae8bf1009
Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff
2010-03-10 12:12:43 -05:00
David Anderson
6d584e62ed
Clean up useless variables/params in the tracer. (bug 551100, r=lw)
2010-03-09 18:52:56 -08:00
Jeff Walden
c67d68c20e
Further bustage fixing
2010-03-09 17:44:16 -08:00
Jeff Walden
ace03add6c
More bustage fix, sigh
2010-03-09 15:38:41 -08:00
Jeff Walden
f0d10aeadd
Fix up some class names in comments, r=sparky
2010-03-09 15:23:53 -08:00
Jeff Walden
c723d157a5
Bustage fix, r=redness
2010-03-09 15:07:38 -08:00
Jeff Walden
570eb3ecf8
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
387907ce9f
Bug 515496 - Eliminate extra security check when computing this. r=jorendorff.
2010-02-11 17:04:42 -08:00
Jeff Walden
106fbd8085
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
fbecd311a0
Remove excessive braces; nuke else after return.
2010-03-09 14:29:50 -08:00
Boris Zbarsky
19a7e9b481
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
a5a35ca3be
Bug 550643 - Minor improvements to parsemark.py. r=jorendorff.
2010-03-08 18:22:44 -06:00
David Anderson
b8e9325d42
Trace recursion when the return keyword is omitted (bug 530900, r=gal).
2010-03-08 10:28:08 -08:00
Nicholas Nethercote
3e03ef3a42
Bug 550796 - TM: remove dead ImportGlobalSlotVisitor class. r=lw.
2010-03-08 16:11:59 +11:00
Nicholas Nethercote
f7c713fc2d
Bug 550654 - TM: removed dead 'inner_sp_ins' variable. r=dvander.
2010-03-08 08:09:35 +11:00
Luke Wagner
f6385a89c7
Comparison operator for HashTable Ptr (no bug)
...
--HG--
extra : rebase_source : 2d64c307f6a524066d0a4cb66c66a5b4cd48d83d
2010-03-05 11:55:42 -08:00
Chris Leary
06b4d618a7
Bug 548621 - Create suite of tests for JS parsing speed. r=jorendorff.
2010-03-05 16:47:24 -06:00
Chris Leary
82a9895df9
Bug 549971 - Add compile() function to JS shell. r=jorendorff.
2010-03-05 16:42:06 -06:00
Jason Orendorff
bfaa2dc218
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
71634c4850
Bug 549509: jsval representation profiling, r=lw
...
--HG--
extra : rebase_source : e0e6c19db20d2e469066b5f9433c96c05bbff1c1
2010-03-05 11:45:28 -08:00
Jason Orendorff
ec9c7fcca7
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
9d1cbd468c
bug 549010 - folowup to replace PROTO access macros with the inlne function
2010-03-04 23:52:52 -08:00
Luke Wagner
7be2f8f3f2
Silence MSVC warning about no default assignment operator (r=me)
2010-03-04 23:30:28 -08:00
Mike Moening
0373a2437d
bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor
2010-03-04 20:44:09 -08:00
David Mandelin
5860e3e1f3
Bug 550352: make check-string-tagcloud more robust, r=lw
2010-03-04 17:03:53 -08:00
Luke Wagner
fdc3899884
Bug 543057 - Drop the Script object (r=brendan)
2010-03-04 00:33:57 -08:00
Luke Wagner
a87d51a58a
Loosen check-math-partial-sums for floating error (r=dmandelin)
2010-03-04 16:32:06 -08:00
David Mandelin
01cb3b3c0a
No bug: refresh JS_OPMETER feature, no_r=me
2010-03-04 15:22:07 -08:00
David Mandelin
fdacbe87cc
Bug 549503: more SunSpider verification tests, r=dvander
...
--HG--
extra : rebase_source : 15ebc76e6de2c982ca77bb6a271f691ddc8559a8
2010-03-01 17:40:01 -08:00
Brendan Eich
98c439cd12
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
9925442e73
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
9af18d4767
Fix CallPropertyOp to cope with non-int arguments id (549951, r=mrbkap).
2010-03-03 14:44:03 -08:00
Luke Wagner
804b9124ea
Bug 515812 - Fix Range assignment (r=me)
2010-03-03 09:26:04 -08:00
Brendan Eich
37fd6525cc
Typo'ed testname in jstests.list for 549617.
2010-03-02 17:48:00 -08:00
Brendan Eich
9c8234d49b
Bug 549617 - JS_EvaluateUCInStackFrame doesn't see variables in flat closure (r=mrbkap).
2010-03-02 17:30:54 -08:00
Jeff Walden
23f47cabac
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
955b6dba8c
Bug 555669 CTypes.cpp failed to compile on Solaris r=sayrer
2010-03-30 14:29:59 +08:00
Dan Witte
f87571cea6
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
f0948407a7
Bug 552999 - Implement PointerType().prototype.isNull. r=dwitte
2010-03-26 17:27:28 +13:00
Dan Witte
af9398763b
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
1490a0cfa7
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
9913891522
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
e152a98890
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
96f599dff1
Bug 553804: s/MoMo/MoFo/ in license blocks. r=gerv
2010-03-28 11:52:43 -04:00
Boris Zbarsky
43090d95fb
Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff
2010-03-10 12:12:43 -05:00
Robert Sayre
5cf27a725e
Merge tracemonkey to mozilla-central.
2010-03-26 15:53:14 -07:00
Ted Mielczarek
1dd4df88b2
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
dd8ac6f428
Backed out changeset 5c7b969a71fa
2010-03-26 10:25:39 +01:00
Mike Hommey
f2a3d7298c
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
15bdb66bdc
Add msvcc.sh changes to libffi.patch. No bug.
2010-03-25 16:42:20 -07:00
Dan Witte
960357ac4e
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
706c0fff00
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
592441a818
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
c1024a0693
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
d7c775ea6a
Bug 484508 - Support imacro groups corresponding to non-contiguous opcodes. r=brendan
2009-12-31 14:05:54 -06:00
David Anderson
487814a4c4
Removed initializing inparam from TraceRecorder::set. (bug 549727, r=luke)
2010-03-02 14:04:50 -08:00
Luke Wagner
27eed6e277
540706 - Small record_EnterFrame simplification (r=dvander)
2010-03-02 12:56:48 -08:00
Brendan Eich
fe7558946d
Bug 549531 - fix strict aliasing warnings about scopeChain (also clean trailing whitespace; r=dmandelin).
2010-03-02 11:03:04 -08:00
Nicholas Nethercote
c8a754a27d
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
a6b7c69153
Update nanojit-import-rev stamp.
2010-03-02 12:50:19 +11:00
Nicholas Nethercote
e9aaac654a
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
96d5cd60a5
Bustage fix for Windows. No bug, r=me.
...
--HG--
extra : convert_revision : 4901be8fd3260bb90b90fda989f624cda7401032
2010-03-02 11:18:48 +11:00
Blake Kaplan
bd22a432d9
Bug 542864 - Convert the right variable to an id. r=jorendorff
2010-02-26 17:06:23 -08:00
Andreas Gal
9d5b1c0316
Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan).
2010-03-01 13:30:23 -08:00
Jason Orendorff
c2491461c6
Bug 548276 - "Assertion failure: HAS_FUNCTION_CLASS(funobj), at ../jsdbgapi.cpp". r=jwalden.
2010-03-01 11:07:40 -06:00
Nicholas Nethercote
7acf0ac12b
Update nanojit-import-rev stamp.
2010-03-01 15:02:36 +11:00
Nicholas Nethercote
10443de653
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
40e2a10ebf
Bug 542932 - nanojit: make opcode range checks safer (TM-specific part). r=gal.
2010-03-01 12:16:38 +11:00
Nicholas Nethercote
a6f866410c
Update nanojit-import-rev stamp.
2010-03-01 12:09:04 +11:00
Nicholas Nethercote
764bc7aaa8
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
e6ef82426b
Update nanojit-import-rev stamp.
2010-03-01 09:52:59 +11:00
Nicholas Nethercote
23edcdcbce
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
62a7855349
bug 515812 - less vebose enumerastion. r=lw
2010-02-26 12:11:50 -08:00
Jason Orendorff
f207cc4e99
Fix ppc breakage due to 337699f6a88a. No bug, r=burning nightly.
2010-02-25 07:10:40 -08:00
Jason Orendorff
ad75218737
Bug 539170 - Encapsulate JSScopeProperty::{getter,setter} and move assertions to init-time. r=Waldo.
2010-02-24 17:40:28 -08:00
Jason Orendorff
4b5079e907
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
b311c364f2
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
d60c92f837
Another followup, deferred nit-pick for 547314.
2010-02-24 14:05:36 -08:00
David Anderson
c99331c609
Better fix for recursion and let blocks (bug 547791, r=gal).
2010-02-23 16:14:34 -08:00
Luke Wagner
06cc81805b
Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff)
2010-02-19 19:22:37 -08:00
Bob Clary
28f3725d79
JavaScript Tests - disable js1_5/Regress/regress-451322.js due to slowness.
2010-02-23 07:58:00 -08:00
Andreas Gal
ad719a55e1
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
18afa9f743
Setters/getters can be callable objects (547912, r=brendan).
2010-02-22 22:25:09 -08:00
Andreas Gal
a2ae493dd5
Merge.
2010-02-22 20:08:15 -08:00
Andreas Gal
8d92d5fff5
Don't crash on 'typeof null' in compiled code (follow-up fix for 547314).
2010-02-22 20:07:41 -08:00
Jeff Walden
53b100ce6f
Typo fix, r=waylon
2010-02-22 19:43:41 -08:00
Andreas Gal
1aabb47ea6
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
7fc1c8efb0
Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan).
2010-02-22 16:30:22 -08:00
Andreas Gal
bfa1d960a9
remove unused label have_fun (no bug, r=brendan).
2010-02-22 16:27:19 -08:00
Brendan Eich
67355cdc47
Fix bogus assertion (537854, r=mrbkap).
2010-02-22 15:30:35 -08:00
Andreas Gal
bd338bc100
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
fd9b61d7cf
Fixed assertion when using recursion in a let block (bug 547791, r=gal).
2010-02-22 13:57:04 -08:00
David Anderson
980a86ab4c
Fixed crash in GetPropertyByName (bug 547299, r=dmandelin).
2010-02-22 13:45:06 -08:00
Brendan Eich
493977bbcb
s/pushAtom/AppendAtom/ name style police raid.
2010-02-22 13:26:57 -08:00
Robert Sayre
84d7499b25
Merge mozilla-central to tracemonkey.
2010-02-22 12:29:54 -08:00
Bob Clary
5efdcdfa7a
JavaScript Tests - fix manifests for bugs 430133, 509354, 523846, 537863, 539488, 545980, 546615
2010-02-22 09:52:02 -08:00
Bob Clary
cb189e82b5
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
7ffe32a349
bug 547086 fixed bug 322957
2010-02-21 23:30:26 -08:00
Andreas Gal
1988a59472
Reland previously backed out bug 547086, it didn't cause the regression after all.
2010-02-21 00:11:54 -08:00
Andreas Gal
6e92a92c50
calculating 'this' fails if the object has no parent (547483, r=mrbkap).
2010-02-20 18:35:23 -08:00
Robert Sayre
b2bb3cb03a
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
8afa0aa3fe
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
4934b15e9e
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
43ede71344
No bug, fix MSVC bustage from 9ee31f5535ae
...
--HG--
extra : rebase_source : 28eb0357555359caf1e956fb366ed63d0be2a29b
2010-02-19 15:56:46 -08:00
Nicholas Nethercote
080c011cf3
Update nanojit-import-rev stamp.
2010-02-20 10:44:12 +11:00
Nicholas Nethercote
99f1ec6fce
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
e9f1ec6c0c
No bug, fix build bustage from 40c4ec17770d, no_r=me
2010-02-19 14:06:18 -08:00
Igor Bukanov
eef84ebc59
bug 545529 - followup to remove the cache stats output in the normal build
2010-02-19 23:58:31 +03:00
Jason Orendorff
68642d97db
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
9c1074603c
Bug 515812 - fix hash table constiness (r=dvander)
2010-02-19 10:02:16 -08:00
Brendan Eich
ce5b37f4ed
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
aaff05c150
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
d2eb7efd7b
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
2809d3e792
Bug 547067 - Don't overload test() in JSDefinition. r=brendan.
2010-02-19 12:14:36 -06:00
Jason Orendorff
4d96795a35
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
debaa592f7
bug 545529 - caching Class.prototype lookups. r=brendan
2010-02-19 20:44:23 +03:00
Nicholas Nethercote
2631a1b7cf
Bug 539874 - nanojit: remove LIR_ov (TM-specific part). r=gal.
2010-02-19 15:12:37 +11:00
Nicholas Nethercote
f6908e48c7
Update nanojit-import-rev stamp.
2010-02-19 15:09:42 +11:00
Nicholas Nethercote
a361abc6fa
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
22610a9675
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
b965c79326
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
33d5dd6013
Follow-up for bug 542133: fix ARMv5 bustage
...
--HG--
extra : convert_revision : 5a37374d04fea35b0167d057310aee6d3cadca16
2010-02-17 14:53:33 +11:00
Brendan Eich
c4b4c765a4
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
4fb42b4c2a
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
dc4711d401
BUG 545303: TM: non API function for JS_CallTracer r=igor
2010-02-18 13:16:02 -08:00
Luke Wagner
a65ea12a40
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
4cda0a88e8
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
6cc06f3b7b
Bug 546668 - obj_eval should still call js_GetScriptedCaller (r=mrbkap)
2010-02-17 11:16:11 -08:00
Luke Wagner
fc7cbdfdc8
Make HashMap::put overwrite (r=jorendorff)
2010-02-17 10:47:26 -08:00
Nicholas Nethercote
dd646b8dc5
Update nanojit-import-rev stamp.
2010-02-17 13:42:07 +11:00
Nicholas Nethercote
ddcc50350c
Follow-up for bug 542133: fix ARM bustage.
...
--HG--
extra : convert_revision : c3de98b9ee6eb052f7fda330172cc740f941605c
2010-02-17 13:36:29 +11:00
Steven Johnson
eecc554117
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
ea07a846cc
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
df420a425b
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
87a5e61db3
Bug 546491 - fix tracevis (r=jorendorff)
2010-02-16 13:41:40 -08:00
Nicholas Nethercote
17ec73c38c
Follow-up for bug 542133: include njconfig.cpp in TM lirasm builds. r=me.
2010-02-17 08:56:13 +11:00
Nicholas Nethercote
fbc5612f2e
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
c4144cff0a
Update nanojit-import-rev stamp.
2010-02-16 15:00:24 +11:00
Steven Johnson
894487e422
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
e89632b2a1
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
f7128a84c8
Fix warnings, HashTable::sSizeLimit, tl::NBitMask (r=njn)
2010-02-15 16:07:57 -08:00
Nicholas Nethercote
421014034c
merge
2010-02-15 17:29:18 +11:00
Nicholas Nethercote
b6f1f05d74
Backed out changeset 3c673457c90b for bug 507089 due to mysterious Windows bustage.
2010-02-15 17:28:56 +11:00
Nicholas Nethercote
ca6e184a43
Update nanojit-import-rev stamp.
2010-02-15 17:25:48 +11:00
Nicholas Nethercote
78e2d52f98
merge
...
--HG--
extra : convert_revision : 035a5165bc8bbf7940415d4802bf9b14d1226740
2010-02-15 17:24:21 +11:00
Nicholas Nethercote
52ac8a6adb
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
b6ccdddb0c
Whitespace-only changes to trigger a rebuild.
2010-02-15 15:18:37 +11:00
Nicholas Nethercote
3489265cdf
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
f9ed876d37
Update nanojit-import-rev stamp.
2010-02-15 11:07:00 +11:00
Nicholas Nethercote
66b0d6df6b
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
3fe7890b44
Remove JS_CEILING_LOG2 from HashTable::init()
2010-02-13 12:02:12 -08:00
Luke Wagner
f8096c6b67
Try 784ceadd60e5 again with more #pragma optimize("", off)
2010-02-06 10:14:05 -08:00
Nicholas Nethercote
84b6acf958
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
e12b5b2d0b
Update nanojit-import-rev stamp.
2010-02-12 12:36:52 +11:00
Nicholas Nethercote
2481388fac
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
791422e319
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
b83b1b23c3
Fix two subtle bugs to-do with partial flat closures (545573, r=jorendorff).
2010-02-11 14:56:59 -08:00
Jason Orendorff
095bd890ef
Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
...
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Brendan Eich
83e657d499
Fix orange in wake of patch for bug 542002.
2010-02-10 18:58:49 -08:00
Nicholas Nethercote
0f6e815ee6
merge
2010-02-11 11:44:38 +11:00
Nicholas Nethercote
4f4d8ad70e
Bug 543401 - nanojit: merge SoftFloatFilter implementations (TM-specific part). r=gal.
2010-02-11 11:16:50 +11:00
Nicholas Nethercote
dded46e8aa
Update nanojit-import-rev stamp.
2010-02-11 11:15:20 +11:00
Jeff Walden
b7423ebf62
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
c9fed979f6
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
07131ff6a6
Changed --enable-jit to --enable-tracejit (bug 545245, r=sayrer).
2010-02-09 16:48:56 -08:00
Robert Sayre
f146d11898
Merge mozilla-central to tracemonkey.
2010-02-09 13:08:35 -05:00
Bob Clary
7e34ae5af7
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
8f7df8dabc
Add test for bug 470795.
2010-02-09 11:15:19 -05:00
Boris Zbarsky
db71c4ce64
Bug 538663 followup. Don't rely on having python 2.5. r=jorendorff
2010-02-08 15:53:32 -05:00
Luke Wagner
fda9474440
Backout 784ceadd60e5 until PGO stops crashing
2010-02-08 10:28:07 -08:00
Leon Sha<leon.sha@sun.com>
65b4deca58
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<leon.sha@sun.com>
ca782981e4
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
1dec67cbc6
Attempt to prevent MSVC ICE during PGO
...
--HG--
extra : rebase_source : 1d3e37dd1b029bd4161a71ff7ee09097af31406a
2010-02-07 20:57:30 -08:00
Leon Sha
93f678b877
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
47eb9083c4
Bug 543401 - nanojit: merge SoftFloatFilter implementations. r=gal,stejohns.
...
--HG--
extra : convert_revision : 485ae0bec97b3ec9c55ac943f81a2992c8153549
2010-02-08 08:35:35 +11:00
Nicholas Nethercote
87ea71a72d
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<leon.sha@sun.com>
4d134396af
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
b41ff2aa66
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