Commit Graph

11609 Commits

Author SHA1 Message Date
Brendan Eich
0134ef3da3 Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE). 2010-09-19 16:24:13 -07:00
Robert Sayre
739e81c33b Merge mozilla-central to tracemonkey. 2010-09-19 15:59:10 -04:00
Igor Bukanov
74d6525584 bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal 2010-09-18 11:44:22 +02:00
Makoto Kato
c93588f2e2 Bug 597288 - alignment on call stack isn't 16byte on x86_64 CPU. r=dvander 2010-09-19 00:06:26 +09:00
Chris Leary
402dc1f5d2 Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan) 2010-09-18 00:31:36 -07:00
Jacob Bramley
e771011d46 Remove dependency on Bash 3 regex support and simplify test selection for soft-float platforms. [Bug 535709] [r=nnethercote]
--HG--
extra : convert_revision : 10432e19f751b78f39991b15e60686c7d78226bb
2010-09-16 16:27:45 +01:00
Brendan Eich
2253bb99d7 Don't recycle class-reserved slots onto a dictionary table's freelist (595230, r=jorendorff). 2010-09-14 17:08:16 -07:00
David Anderson
1eb18e8c61 Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl
86f33eea9f Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander. 2010-09-17 14:13:13 -04:00
David Anderson
7556886c23 Compile JSOP_IN (bug 594111, r=dmandelin). 2010-09-17 10:41:29 -07:00
Jason Orendorff
38d63ffa56 Back out changeset a8252fe3f211 due to turning everything orange. 2010-09-16 20:58:40 -07:00
Jason Orendorff
31cfa81e35 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=mrbkap.
--HG--
extra : rebase_source : 717f7f4d4f3e6e96955cbb1ddb8ca9e1533914f7
2010-09-16 17:29:21 -07:00
David Anderson
3bced69ba2 Fix instanceof with bound functions (bug 597167, r=brendan). 2010-09-16 19:31:11 -07:00
David Anderson
4c55c224e5 Compile JSOP_DELNAME (bug 597137, r=dmandelin). 2010-09-16 17:26:32 -07:00
David Anderson
c4431d1a07 Compile JSOP_DEFVAR (bug 594117, r=dmandelin). 2010-09-16 17:25:38 -07:00
David Mandelin
c1def1ffa6 Bug 596460: try making Interpret not inlined to avoid stack frame bloat in other functions, r=dvander 2010-09-16 15:20:56 -07:00
David Anderson
699ebd405b Compile JSOP_DELPROP, JSOP_DELELEM (bug 578736, r=dmandelin). 2010-09-16 12:13:25 -07:00
Blake Kaplan
7418b836b8 Fix warning. No bug. rs=jorendorff
--HG--
extra : rebase_source : 00de9de8537125213dd43420511c449c2ee77167
2010-09-16 11:51:54 -07:00
Nicholas Nethercote
ced06e86bf Bug 595728 - nanojit: clarify semantics of shift operations. r=edwsmith.
--HG--
extra : convert_revision : 2a75fed5283f0efb625b10d20db007ad6bfe849a
2010-09-13 10:59:56 -07:00
Edwin Smith
9e20f0f9b8 Fix whitespace in NativeSH4.cpp
--HG--
extra : convert_revision : 0f7bd7152883172e03a84e17d3bbf7ddbdb2439f
2010-09-13 09:29:56 -04:00
Edwin Smith
8c1f52860f Bug 590553 - asm_ui2d on x86 generates illegal writes below ESP, caught by valgrind (r=nnethercote)
--HG--
extra : convert_revision : 4829136085669a40d0bf61721e5cdd43a9696fc1
2010-09-13 09:13:44 -04:00
Justin Lebar
b72054ea9c Bug 571289 - Don't use nsScriptSecurityManager off the main thread. r=mrbkap, a2.0=blocking
--HG--
extra : rebase_source : 2d945cee865472804ed3aff78af237a60f5a19d4
2010-09-17 14:44:53 -07:00
Justin Lebar
b3d081ede5 Bug 593116 - Use -fomit-frame-pointer when compiling jsinterp.c. r=ted, a2.0=sayrer
--HG--
extra : rebase_source : 811ba3d12c513ee8fe8d16a3557ce01e4a8f2504
2010-09-10 11:45:15 -07:00
Masatoshi Kimura
d6b46ad3d3 Add support for CL_INCLUDES_PREFIX environment variable for handling localized cl.exe /showIncludes output. (Bug 587372) r=ted a2.0=blocking2.0:final 2010-09-17 12:29:52 -07:00
David Anderson
a02b95d42d Fix global variables overwriting resolved properties (bug 595917, r=brendan, a=blocking). 2010-09-21 12:38:30 -07:00
Luke Wagner
604b7b661f Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap) 2010-09-20 18:23:04 -07:00
Brendan Eich
731ad72609 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Mark Banner
9ab0271494 Bug 598279 - Building Javascript as shared library broken wrt xpconnect: xpcjsruntime.cpp:806: undefined reference to 'js::TriggerOperationCallback(JSContext*)'; r=igor,a=bustage fix for shared JS library builds, e.g. non libxul 2010-09-21 13:59:55 +01:00
Robert Sayre
9a254c625e Merge tracemonkey to mozilla-central. a=blockers 2010-09-21 01:11:46 -04:00
Jacob Bramley
d3f59acb53 Quick fix for non-EABI (Windows Mobile) bug introduced in 49a8ed180ad0. [Bug 535709] [r=me]
--HG--
extra : convert_revision : 7b43473880200943d0362c5eab2e957e23414f45
2010-09-09 08:55:27 +01:00
William Maddox
e7c286a259 Bug 590212 - Use correct mask for j/jal instructions on MIPS (r=wmaddox+)
Patch submitted by chris@mips.com

--HG--
extra : convert_revision : 2a6f54d0e9aafc1b3973d01cb7bf78815d53f9ec
2010-09-08 17:37:02 -07:00
Rick Reitmaier
5fc61e5b43 Bug 568486 - Synchronize the SH4 backend with Bug 587916 (r=rreitmai) [Cedric Vincent]
--HG--
extra : convert_revision : e5186c20dda9acb39c819e58ffba0153712b6130
2010-09-08 08:50:53 -07:00
Jacob Bramley
a5c1330a28 Replace deprecated API usage in nanojit/NativeARM. [Bug 535709] [r=njn]
--HG--
extra : convert_revision : 49a8ed180ad089001a9e915e755b5b394a9c0a2a
2010-09-06 09:28:10 +01:00
Justin Wood
53e4f33184 Followup to Bug 585625 we need to sync js/src too r=sad build, rs=khuey, a=sad build 2010-09-20 00:07:06 -04:00
Rick Reitmaier
7963fcaad6 Bug 568486 - Additional lirasm tests (r+nnethercote) [Cedric Vinent]
--HG--
extra : convert_revision : 2c3056daeba3fd8b9fa6a655fa8d91f71df5e5ba
2010-08-31 11:14:48 -07:00
Rick Reitmaier
3ff418bccb Bug 568486 - SH4 (a.k.a ST40) target support for NanoJIT (r+nnethercote,edwsmith,rreitmai) [Cedrick Vincent]
--HG--
extra : convert_revision : 00cee92849b45f9ab8a908446ce62cd2480d036b
2010-08-31 10:06:13 -07:00
Mike Hommey
bd598aa206 Bug 552624 - ARMv4T support for nanojit. r=jbramley
--HG--
extra : convert_revision : 6b09fdb0cbc625ded40971eb6929d599182375a6
2010-08-31 11:51:23 +02:00
William Maddox
60462ed735 Fix inaccurate comment in ExprFilter::insBranch() (r=nnethercote+)
--HG--
extra : convert_revision : a9af83064f225bddbe878fc63dce529a3b0fe48a
2010-08-26 17:44:45 -07:00
Steven Johnson
6a09e1493a Bug 590785 - njconfig.i386_use_cmov is not initialized properly (r=njn,rreitmai)
--HG--
extra : convert_revision : 59a48227c291c53574b628358d9d581664848382
2010-08-26 14:02:14 -07:00
Benjamin Smedberg
872c579164 Bug 5976246 - pymake bustage in js/src because we have things.cc depend on jsautokw.h, and that does interesting things to $< with pymake. r+a=bustage-fix 2010-09-16 21:27:46 -07:00
Steve Fink
e6ddff3833 Bug 593483 - Unbreak (real) dtrace. r=gal, a=NPOTB 2010-09-16 13:21:12 -07:00
Robert Sayre
576da374ec Merge tracemonkey to mozilla-central. a=blockers 2010-09-16 09:24:02 -07:00
Chris Leary
c1efc206b8 Fix windows build breakage. 2010-09-16 01:38:19 -07:00
David Anderson
d9994e6934 Fixed thinko in 89283cd55a98 (bug 596457, no_r=me). 2010-09-15 23:01:03 -07:00
David Anderson
797765d0c9 Require SSE2 to use Method JIT on x86 (bug 596457, r=dmandelin). 2010-09-15 22:27:17 -07:00
Luke Wagner
22b9595546 Bug 595923 - InvokeConstructor can return primitive value (r=brendan)
--HG--
extra : rebase_source : 75fd8e06ce4abceb17f2452236e3425efdb035fa
2010-09-15 21:59:08 -07:00
Luke Wagner
4399739182 Bug 595916 - don't access actual args in TraceRecorder (r=dvander)
--HG--
extra : rebase_source : 72db63003c6995b446a5718fae1ca101e3a23996
2010-09-15 21:55:02 -07:00
Chris Leary
204b2a98e5 Bug 596026: PIC-like construct for GETELEM on trace. (r=jorendorff, a=nnethercote,cdleary)
--HG--
extra : rebase_source : 63b57898593b2b178a7ebb1f38071c1058ccb4f7
2010-09-15 21:33:17 -07:00
Benjamin Stover
755c4ace79 Bug 596433 - Method JIT inline assembly has illegal instruction [r=dvander, will get r=Jacob.Bramley asap] 2010-09-15 13:58:21 -07:00
Nicholas Nethercote
1196fa707b Remove unnecessary V8 platform-detection code that broke PPC builds in 562dc7fd7492. r=me. 2010-09-15 16:24:40 -07:00
Jim Blandy
2a3cf83056 Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Jim Blandy
7747ff883f Bug 537873, Bug 514574: Delete unused property operation typedefs: JSDefinePropOp, JSPropertyIdOp. r=luke 2010-09-15 13:43:54 -07:00
Jim Blandy
f1251d7a8d Bug 537873, Bug 514574: Tests for strict mode assignments to read-only properties, deletions of non-configurable properties. r=jorendorff 2010-09-15 13:43:54 -07:00
Jim Blandy
eed175c2ac Bug 537873, Bug 514574: Use ObjectOps::setProperty for both fast and slow arrays. r=brendan 2010-09-15 13:43:54 -07:00
Nicholas Nethercote
687594069c Bug 558799 - Import FastDtoa code from V8. r=gal. 2010-09-15 11:49:12 -07:00
David Mandelin
3577fae9f6 Bug 595604: make sure we have a stack frame before we run the compiler in call ICs, r=dvander 2010-09-14 15:18:48 -07:00
Igor Bukanov
dc286830a3 bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan 2010-09-15 16:55:35 +02:00
Brendan Eich
666763cd97 Sample initialShape after putProperty call, which may go toDictionaryMode (596128, r=bhackett). 2010-09-14 12:07:15 -07:00
Brian Hackett
c401cdd9f8 OOL fast path for string comparison, bug 579479. r=dvander 2010-09-14 20:07:11 -07:00
Dave Herman
206fee8283 bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Dave Herman
9d8c1a41fa bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
Benjamin Stover
f270fa0ac7 Bug 596433 - Method JIT inline assembly has illegal instruction [r=dvander, will get a r=Jacob.Bramley asap] 2010-09-15 14:53:41 -07:00
Benjamin Stover
f94ed8fdc4 bug 596669 - Fennec Android crash in jsstr.cpp:ReplaceCallback, disable yarr for arm r=sayre a=blocking-fennec 2010-09-15 12:33:00 -04:00
Brendan Eich
158b754944 JSFunction::addLocal never calls Shape::maybeHash (595918, r=jorendorff). 2010-09-13 18:44:34 -07:00
Jason Orendorff
06829c5b39 Merge backout. 2010-09-14 17:44:30 -07:00
Jason Orendorff
1676aac8c4 Backed out changeset 84b4d4856e1e (bug 580033) due to orange. 2010-09-14 17:42:36 -07:00
Jason Orendorff
a43bea11f5 Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00
Jason Orendorff
9901eaf870 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal,mrbkap.
--HG--
extra : rebase_source : ff05faf1a39513255bcd6218b0adf6ab554a30b1
2010-09-14 14:38:09 -07:00
Brian Hackett
5058265a9a Fix assert, bug 595921. r=dmandelin 2010-09-14 14:28:55 -07:00
Brendan Eich
ccc80abca5 Fix screwed up layering of GC marking for JSObject::emptyShape (596103, r=jorendorff). 2010-09-14 12:13:12 -07:00
Makoto Kato
c840ba8205 Bug 595766 - bustage Win64 build due to UnsetVMFrameRegs. r=dvander 2010-09-14 17:20:36 +09:00
Chris Leary
818371c4da Disable mochitest bug484107. (r=mrbkap, b=596134) 2010-09-13 21:40:47 -07:00
David Mandelin
ada5bcfdf9 Backout merge 2010-09-13 18:34:34 -07:00
David Mandelin
87e9ceb9bf Backed out changeset 834e5fb759c2 -- appears to be causing leaks on mochitest-browser-chrome 2010-09-13 18:34:11 -07:00
Chris Leary
269a7d6bab Bug 571355: Move RegExpStatics out of JSContext. (r=gal) 2010-09-13 15:53:50 -07:00
David Mandelin
7c97912baf Bug 595706: fix object class guard for arguments length PIC, r=cdleary
--HG--
extra : rebase_source : 7aef085022eefa1a214fcacc3f9b92795be579c1
2010-09-13 15:36:13 -07:00
Peter Van der Beken
250280ac1c Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
David Mandelin
dca5850bce No bug, fix windows build bustage due to int32 type mismatch, r=burning, rs=njn 2010-09-13 14:52:33 -07:00
Sean Stangl
4756c3f985 Fix isNotType() usage in jsop_rhs_unknown_any(). b=593554, r=dvander. 2010-09-13 16:47:57 -04:00
Robert Sayre
bad43e469d Increment JSXDR_BYTECODE_VERSION 2010-09-13 13:21:31 -07:00
Nicholas Nethercote
837cae8aad Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -07:00
Chris Leary
86f41cf42a Fix build warning. (no_r=me)
--HG--
extra : rebase_source : cd1afe2f1e8597fb88ca530912dbd6008e3ee9f7
2010-09-13 13:00:58 -07:00
David Mandelin
9b5b678e32 Bug 595420: fix warning in trampoline compiler, r=lw 2010-09-13 11:30:11 -07:00
Jacob Bramley
eb1a424c11 [JAEGER] A trivial, but maybe not ideal fix for overflowing offset fields. [Bug 595336]. r=dvander 2010-09-13 10:28:42 -07:00
Chris Leary
2fa4fedbc1 Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Jacek Caban
944566a777 Bug 595199 - [Jaeger] Linking failure on mingw due to wrong asm calls in MethodJIT.cpp r=dvander 2010-09-13 12:28:58 +02:00
Robert Sayre
a07edfcc75 Merge mozilla-central to tracemonkey. 2010-09-12 18:16:47 -04:00
Brendan Eich
7bcb596924 Modularize to avoid inline vs. not ShapeHasher static woes (595615, r=dbaron) 2010-09-12 09:34:56 -07:00
Brendan Eich
0366d26673 Try to fix Ts regression from patch for bug 592556... 2010-09-12 08:53:18 -07:00
Kyle Huey
8c6e1c37ec Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 08:00:14 -07:00
Brendan Eich
2ac9654d21 Google Maps crash on tracemonkey branch (595365, precog a=jorendorff). 2010-09-11 23:55:25 -07:00
Luke Wagner
a7d340da1e Bug 592983 - combine and32 with branchTest32 (r=dmandelin) 2010-09-11 23:40:23 -07:00
Brendan Eich
e219062c77 Modularize to avoid inline vs. not ShapeHasher static woes (595615, r=dbaron, a=beta6+/debug-only-fix-for-devs). 2010-09-12 09:39:45 -07:00
Kyle Huey
90981d7015 Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 06:12:06 -04:00
Brendan Eich
bd487062b6 Google Maps crash on tracemonkey branch (55365, precog r=jorendorff, a=beta6+). 2010-09-11 23:55:25 -07:00
Robert Sayre
732670edfb Merge tracemonkey to mozilla-central. a=blockers 2010-09-12 00:17:49 -04:00
L. David Baron
03dd1fff56 Fix bustage with various profiler integration options from JSNative signature change in JägerMonkey landing. (Bug 595544) r=sayrer a=bustage 2010-09-11 17:06:59 -07:00
Brendan Eich
d0a587b1ab Parenthesize lambda statement expressions to work in browser (where JSOPTION_ANONFUNFIX is set; followup for 593256). 2010-09-11 15:24:51 -07:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Robert Sayre
97f8489f1e Bug 590083 - temporarily disable ARM method jit 2010-09-11 09:58:37 -04:00
Luke Wagner
57ea7406d7 Missing union member for big-endian jsval_layout struct (r=ppc is burning) 2010-09-10 21:20:46 -07:00
Luke Wagner
af40c91154 Set rval in DisassFile (no bug, rs=brendan) 2010-09-10 17:06:40 -07:00
Luke Wagner
273362efd0 Bug 583275 - remove unnecessary unboxing cost of obj->getPrivate() on x64 (r=brendan) 2010-09-10 17:06:30 -07:00
Bill McCloskey
3645509f88 Bug 594969 - Fix DisassFile (r=lw) 2010-09-10 11:39:59 -07:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Igor Bukanov
e3df6b0d60 bug 594138 - account for potential shape and dslots change after the GC in conservative GC tests. r=anygregor 2010-09-10 08:55:33 +02:00
Bill McCloskey
6fdf057e99 Blacklisting a trace could spent too much time in the interpreter (bug 595032, r=dvander). 2010-09-09 18:06:02 -07:00
Shu-yu Guo
771a3d2b97 Bug 594604: Various narcissus jsparse fixes. (r=taustin) 2010-09-09 17:40:13 -07:00
Shu-yu Guo
fac216de69 Bug 594594: Fix destructuring in narcissus jsparse.js (r=taustin) 2010-09-09 17:40:13 -07:00
Chris Leary
7c740a8dc0 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
David Anderson
41a8c3b110 Added test cases for bug 588363 (no_r=me).
--HG--
extra : rebase_source : 2a4a16150ec035c27f860b0795a452cc9864e1d6
2010-09-09 14:29:03 -07:00
David Anderson
6c7893b5ff Added test cases for bug 588362 (no_r=me).
--HG--
extra : rebase_source : 31f12cfd87e2ecaf49cfd496e2e78b2846a9f3be
2010-09-09 14:28:42 -07:00
Chris Leary
7c2ac56dff Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
David Anderson
c442e14de2 Fix for ARM build bustage (bug 593532 fallout, no_r=me). 2010-09-09 13:24:45 -07:00
Michael Wu
d5fc5a0de5 Bug 589971 - Omnijar before profiling part of PGO, r=ted a=beltzner 2010-09-09 16:12:08 -04:00
L. David Baron
232cb16309 Add wctype.h to config/system-headers. (Bug 594492) r=cjones a2.0=bustage 2010-09-09 08:21:46 -07:00
David Anderson
d550b945b2 Fix various bugs in tracer integration (bug 593532, r=dmandelin). 2010-09-07 22:52:15 -07:00
Jason Orendorff
a101a7ab67 Fix typo in jstests.list. no_r=me. 2010-09-09 14:33:47 -05:00
Jason Orendorff
bb0c9c71b8 Add passing test taken from bug 592556, comment 35. no_r=me. In before regression! 2010-09-09 14:19:45 -05:00
Jason Orendorff
a47ae73260 Bug 593742 - nsDOMWorker has to set the right compartment. r=bent.
--HG--
extra : rebase_source : 1f309d333686fdad21a7b6940873994ccc64157d
2010-09-09 11:13:06 -05:00
Makoto Kato
cfc509ab28 Bug 591526 - JM: Win64 build failure--no define for ArgReg2. r=dvander 2010-09-09 16:56:08 +09:00
Makoto Kato
6103055406 Bug 593133 - TM: PGO doesn't use tracejit profile. r=dmandelin 2010-09-09 16:55:59 +09:00
Brian Hackett
098817b45a PIC for addprop, bug 561506. r=dmandelin
* * *
Bug 561506, add context owner checks for addprop. no_r=7:00am
2010-09-04 20:12:56 -07:00
Nicholas Nethercote
2e4c614ace merge 2010-09-08 23:12:59 -07:00
Nicholas Nethercote
21826c95f0 Bug 594205 - TM: safeguard against RegExp.prototype.test changes in exec-to-test conversions. r=brendan. 2010-09-08 23:07:16 -07:00
Luke Wagner
10966edd80 Bug 593277 - Weaken native constructor call asserts (r=brendan)
--HG--
rename : js/src/trace-test/tests/bug579740.js => js/src/trace-test/tests/basic/bug579740.js
rename : js/src/trace-test/tests/bug584499-1.js => js/src/trace-test/tests/basic/bug584499-1.js
rename : js/src/trace-test/tests/bug584499-2.js => js/src/trace-test/tests/basic/bug584499-2.js
rename : js/src/trace-test/tests/testPutOnEmptyArgsObject.js => js/src/trace-test/tests/basic/testPutOnEmptyArgsObject.js
2010-09-08 22:20:45 -07:00
Bill McCloskey
f25b7b9bbe Bug 593596 - change have_call back to its old definition (r=lw) 2010-09-08 22:09:24 -07:00
Nicholas Nethercote
13fe6910e9 Bug 594640 - TM: avoid redundant snapshots when recording GETELEM. r=gal. 2010-09-08 19:44:47 -07:00
Nicholas Nethercote
887c472b16 Bug 580752 - TM: optimize setelem. r=gal. 2010-09-08 18:31:47 -07:00
Jan de Mooij
8b137e037b Bug 592631: fast path for x|0, r=dvander 2010-09-08 18:23:27 -07:00
Nicholas Nethercote
3bf0a90b65 Bug 591788 - Fatal assert ( base == lirbuf->sp || base == eos_ins). r=gal. 2010-09-08 17:24:37 -07:00
Tom Austin
9943c6915d Bug 586830. Allows returns with no values in Narcissus. r=shu 2010-09-08 16:36:26 -07:00
Gregor Wagner
57a7fa6556 Bug 593294 - TM: various other defaultCompartment fixes r=gal 2010-09-08 16:09:23 -07:00
Robert Sayre
1c1c54b151 Merge. 2010-09-08 10:36:32 -04:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Chris Leary
6271a02b06 Bug 587434: IsSaneThisObject assertion failure on CALLXMLNAME. (r=jorendorff) 2010-09-08 01:13:22 -07:00
David Anderson
55ecded888 Backed out changeset 7219df6c126c 2010-09-07 23:45:10 -07:00
David Anderson
b6205cfb88 Avoid staying in Interpret() after recording (bug 593532, r=dmandelin). 2010-09-07 22:52:15 -07:00
David Anderson
b1906cec20 Merge backout. 2010-09-07 21:52:13 -07:00
David Anderson
ba1fc1c1ab Backed out changeset 45f147e08faf 2010-09-07 21:51:55 -07:00
Nicholas Nethercote
dbed4dce2d Bug 594108 - fix RegExp.exec()-to-RegExp.test() conversion. r=brendan. 2010-09-07 18:09:26 -07:00
Sean Stangl
5bd7a0bd53 Fix isNotType() usage in jsop_rhs_unknown_any(). b=593554, r=dvander. 2010-09-07 21:05:01 -04:00
Dave Herman
9ad1a53de1 bug 591437, r=brendan: can't reliably use pn_cookie for function args 2010-09-07 16:27:52 -07:00
Dave Herman
ef3290061c bug 591431, r=cdleary: Reflect.parse(): JSOP_*XMLNAME nodes as lvalues 2010-09-07 16:21:19 -07:00
Dave Herman
91665f8a3d bug 591430, r=cdleary: Reflect.parse(): TOK_NAME statement nodes with pn_lexdef 2010-09-07 16:19:48 -07:00
Dave Herman
0039e6bd0d bug 590775, r=cdleary: default xml namespace = <<expr>> 2010-09-07 16:18:10 -07:00
Dave Herman
71de094573 bug 590774, r=cdleary: implement function::identifier E4X extension 2010-09-07 16:16:34 -07:00
Dave Herman
3c77d7e37e bug 590772, r=cdleary: for-in loops with initializers 2010-09-07 16:14:15 -07:00
Dave Herman
5a346677d9 bug 590766, r=cdleary: let-expressions and let-statements 2010-09-07 15:44:31 -07:00
Igor Bukanov
e353306519 bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor
--HG--
extra : rebase_source : 7d6b09d93bdc463cf7d06d2cdbe09085fd0e4b4b
2010-09-07 23:08:20 +02:00
David Anderson
48f5bf67b2 Fix DEFFUN creating a sync state mismatch (bug 590083, r=dmandelin). 2010-09-07 13:59:01 -07:00
Brendan Eich
6ba6389297 Rename freeslot appropriately (593256 separated cosmetics-only patch, r=jorendorff). 2010-09-03 11:05:43 -07:00
David Anderson
69b95ea914 ICs for scripted calls (bug 587698, r=dmandelin). 2010-09-02 20:04:33 -07:00
Igor Bukanov
052c9099c5 bug 592617 - cannot compile without JS_METHODJIT. r=dmandelin 2010-09-07 13:29:22 +02:00
David Anderson
d48229f661 Fixed out-of-line sync labels in some ICs (bug 593918, r=sstangl). 2010-09-06 22:43:25 -07:00
Luke Wagner
00f14ad975 Fix thinko in 1d477685d70a - e262 15.10.3 says 'Called as a Function' 2010-09-06 21:00:08 -07:00
Luke Wagner
750336acad Bug 593611 - regexp_construct is not a slow native anymore (r=brendan) 2010-09-06 17:25:00 -07:00
Makoto Kato
38299a0884 Bug 593747 - TM: 64-bit VC9: dist\include\jsval.h(636) : error C2143: syntax error : missing ';' before 'type'. r=lw 2010-09-06 16:59:04 +09:00
Brian Hackett
bdd2836820 Backout changesets b350e3b72c2f and fc7630d987f8. 2010-09-05 07:58:16 -07:00
Brian Hackett
984f326b13 Bug 561506, add context owner checks for addprop. no_r=7:00am 2010-09-05 07:05:10 -07:00
Brian Hackett
7703748d37 PIC for addprop, bug 561506. r=dmandelin 2010-09-04 20:12:56 -07:00
Jan de Mooij
450ca78be3 Fast path for >>>. b=589832, r=dvander. 2010-09-04 18:45:26 -04:00
Chris Leary
785696584e Bug 576823: fix sticky patterns with disjunctions. (r=lw) 2010-09-03 19:08:44 -07:00
David Mandelin
db8cb81a27 Bug 593497: blacklist using iteration count only if methodjit is enabled, r=dvander 2010-09-03 15:12:38 -07:00
David Mandelin
4842eaa78b Bug 593195: blacklist based on iteration count, r=dvander 2010-09-03 14:45:56 -07:00
Brendan Eich
30cbd0913a Bugs in dictionary-mode property table maintenance (593256, r=jorendorff). 2010-09-02 18:46:11 -07:00
Brendan Eich
d7abc9c150 Eliminate JSObject::freeslot via monotonic lastProp->freeslot (592556, r=jorendorff,dvander). 2010-09-02 14:50:44 -07:00
Benedict Hsieh
91b486022f Bug 594612 Fastload not invalidated after building with pymake r=bsmedberg a=bsmedberg 2010-09-14 17:23:56 -07:00
Mike Hommey
f0f9c84d72 Bug 594611 - Fix stack allocation for ffi function calls on x86-64. r=dwitte, a=bsmedberg 2010-09-15 14:34:37 +02:00
Vladimir Vukicevic
835c2f99ee b=593396; implement BYTES_PER_ELEMENT on typed arrays; r=shaver 2010-09-05 16:37:52 -04:00
Brendan Eich
32e251d137 Wrong behavior setting existing properties to joined function object values (592412, r=jorendorff). 2010-08-31 16:45:34 -07:00
David Mandelin
024e591801 Bug 593444: claim title when tracing to avoid aborts, r=dvander 2010-09-03 12:30:55 -07:00
Gregor Wagner
e9d53dc7ea Bug 592930 - TM: set right compartment for mozJSComponentLoader::ModuleEntry::Clear r=mrbkap 2010-09-03 00:34:36 -07:00
Andreas Gal<Gal@uci.edu>
9a94c881f3 Bug 592871 - TM: compartment for Global Object created in nsXULPDGlobalObject::EnsureScriptEnvironment r=mrbkap 2010-09-02 20:07:49 -07:00
Andreas Gal<gal@uci.edu>
11d8a3ed3e Bug 592869 - TM: set right compartment in XPCNativeMember::Resolve r=mrbkap 2010-09-02 19:55:05 -07:00
Nicholas Nethercote
9eb01319fa Bug 592910 - TM: simplify IsEntryTypeCompatible(). r=lw. 2010-09-02 17:12:38 -07:00
Gregor Wagner
e94e441576 Bug 592741 - TM: set right compartment in nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject r=mrbkap 2010-09-02 16:47:21 -07:00
Blake Kaplan
2b71d97594 No bug - Don't assert in js_DumpObject on non-native objects. rs=brendan 2010-09-02 15:59:19 -07:00
Luke Wagner
7e03de6826 Bug 592962 - JSOP_DEFXMLNS should pop after possibly reporting an error (r=brendan) 2010-09-02 16:03:11 -07:00
Bill McCloskey
6676cbd6ba Bug 590006 - escaping closures on trace don't get block objects in their scope chain (r=lw) 2010-09-02 10:50:15 -07:00
Robert Sayre
357a4a6366 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Gregor Wagner
a3d37eaf94 Bug 592184 - TM: XPC_WN_CallMethod has to set the right compartment r=gal 2010-09-01 22:20:32 -07:00
Brian Hackett
7b0f64dbaa Backed out changeset c85589cb4d0c 2010-09-01 20:19:03 -07:00
Brian Hackett
711fb44e45 Bug 561506 - PIC for addprop. r=dmandelin 2010-09-01 20:00:58 -07:00
David Mandelin
747c4fc309 Bug 587809 final: fix nits in version 'pre-landed' on JM, r=jorendorff 2010-09-01 17:52:23 -07:00
David Mandelin
966c4ef40f Backed out changeset 1b354f3d6e5c -- got landed wrong. 2010-09-01 17:48:31 -07:00
David Mandelin
4978410836 Bug 587809 final: fix nits in version 'pre-landed' on JM, r=jorendorff 2010-09-01 17:17:04 -07:00
Nicholas Nethercote
a677aa9e11 Bug 592177 - TM: inline fast path in checkForGlobalObjectReallocation(). r=bz. 2010-09-01 17:11:19 -07:00
Nicholas Nethercote
decf093d77 Bug 581595 - Optimize creation of RegExp.prototype.exec's return value. r=lw. 2010-09-01 16:39:56 -07:00
Vladimir Vukicevic
cbe35a0e14 backing out 2796c7 (bug 539771); a=b 2010-09-01 15:54:01 -04:00
Vladimir Vukicevic
482dd7f865 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-09-01 15:04:48 -04:00
Vladimir Vukicevic
68ebc5b5bf b=590655; get rid of WebGL-prefixed typed array names; r=jst 2010-09-01 15:04:45 -04:00
Luke Wagner
dde4b9f7f0 Bug 592199 - call js_PutArguments from trace always (r=dmandelin, a=blocking) 2010-09-01 09:53:29 -07:00
Justin Lebar
e7fc718cee Backed out changeset 100bcacdbf45 due to orange (bug 578880). 2010-09-10 13:49:57 -07:00
Justin Lebar
47c6e8d089 Bug 590181 - Use -O3 on Linux and Maemo. r=ted, a2.0=dbaron 2010-09-08 10:10:31 -07:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Kyle Huey
626b88436d Bug 591373: Stop forcing link time code generation in js in non-PGO builds. r=ted a=sdwilsh 2010-08-31 21:25:38 -04:00
Michael Wu
e10c97737e Bug 592457 - Don't create new signatures on windows, r=khuey a=blocking-beta5 2010-08-31 21:18:22 -04:00
Ms2ger
f57e7fa2e6 Bug 592827 - Implement DOMImplementation.createHTMLDocument; r=jonas approval2.0=jonas 2010-09-04 13:38:07 +02:00
Wan-Teh Chang
f747eaea4e Bug 580679: do not define ZLIB_INTERNAL when compiling files outside
zlib.  This reverts some of the zlib-related changes in Dec. 2004 for
libxul (bug 272783 and bug 273876).  r=bsmedberg. a=bsmedberg.
2010-09-02 16:47:06 -07:00
Mike Hommey
915827dfc0 Bug 585604 - Avoid some ARM CPU arch related runtime tests depending on the build target. r=jbramley
--HG--
extra : convert_revision : 0d24e0c1e0a79390703e679e969b6c29238cc507
2010-08-26 15:51:29 +02:00
William Maddox
91a0267211 Add commentary to further explain usage of the x87 FPU stack (r=nnethercote+)
--HG--
extra : convert_revision : 028918e69579150f8dbd7a465ec53094e5d844c4
2010-08-24 18:17:45 -07:00
Blake Kaplan
2cdbd6c122 Bug 597118 - Give proxy handler the ability to have an innerObject hook. r=gal
--HG--
extra : rebase_source : 5dd07ac858135c13e5399fff336d513791c1ded0
2010-08-23 15:34:11 -07:00
Blake Kaplan
2607e0162a Bug 597116 - We need to set vp for non-SHARED properties, even if they have a native getter. r=gal
--HG--
extra : rebase_source : 35cffbaf0517c7640278fc5109670dafa4f1d3e9
2010-09-16 11:45:55 -07:00
Blake Kaplan
67c5e81443 Bug 597114 - Actually pass the new value when calling setters and set argc correctly. r=gal
--HG--
extra : rebase_source : 596c02dff54a3608eba86213e4a80d97bf0f297b
2010-09-16 11:43:33 -07:00
Blake Kaplan
a49526d99e Bug 597109 - Deal with PropertyStub as being equivalent to NULL to mean "no getter" or "no setter". r=gal
--HG--
extra : rebase_source : 64ab966efeef8bff33307d91d6d173d2b617383c
2010-09-16 11:40:59 -07:00
Blake Kaplan
56ddbac0a3 Bug 597104 - Innerize cx->globalObject before using it. r=gal
--HG--
extra : rebase_source : 3303961f10d4afa07f7e5b5a1b589265ad5084d9
2010-09-16 11:36:18 -07:00
Blake Kaplan
c8933c7fa2 Bug 583232 followup -- actually add the functions to jsapi.h. r=gal
--HG--
extra : rebase_source : 81e8c6e0bafaa7ee0ddd873d694209f7bb1e3008
2010-09-16 11:32:18 -07:00
Chris Leary
e347ae1b1b Fix warning on GCC 4.0.1. No bug, r=jorendorff. 2010-09-16 11:46:58 -07:00
Jim Blandy
bdd7ba704a Bug 585803: Unit tests for existing JSScript and script object creation API. r=jorendorff
These tests exercise the new API, in which script objects are allocated
immediately for scripts that can have them.
2010-09-16 09:59:10 -07:00
Brendan Eich
cb2bfbafc0 Check for inDictionaryMode after putProperty call when adding, in case of toDictionaryMode (596128, r=bhackett, a=me). 2010-09-15 01:46:43 -07:00
Peter Van der Beken
1a3a8d53ba Backout accidental checkin of 149dfce94388 2010-09-14 22:30:36 -07:00
Peter Van der Beken
64a1bd8360 Backout c130135dcf02 (Fix for bug 590612 (Speed up js-wrapping in classinfo when we already have a wrapper)). 2010-09-14 22:27:02 -07:00
Peter Van der Beken
9212292411 Unbreak 2010-09-13 16:42:59 -07:00
Peter Van der Beken
84457bdfaf Fix for bug 590612 (Speed up js-wrapping in classinfo when we already have a wrapper). r=bz, a=jst.
--HG--
extra : rebase_source : 4013e29c5430b2346e5b8f4c6cf3b68cb9f487b9
2010-08-28 10:04:25 +02:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Lukas Blakk
86f7efe322 bug 588861: Tracking bug for build and release of Firefox 4.0b5 - 4.0b5 version bumps. r=bhearsum. a=npotb 2010-08-31 10:36:46 -04:00
Dan Witte
401da66f49 Really revert libffi comment spelling fix since it's not upstream. a=NPOTB 2010-08-30 15:38:36 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
a5ebf043df Merge m-c -> e10s. 2010-08-28 13:39:42 -07:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Luke Wagner
a80ab46add Bug 589028 - make nsContentUtils::GetDocumentFromCaller not depend on slow-native constructors (r=jst)
--HG--
extra : rebase_source : a12eb25eadefa5ed1bb1799516ee9b287d171aa2
2010-08-19 18:12:02 -07:00
Steve Fink
139d2a2a71 Bug 584175 - Unify various JS probes into a single set of static probe points. r=gal
Part 1: Change dtrace-specific names to probes
Part 2: Stop using the frame pointer for probes.
Part 3: Update the set of available probes

r=gal@uci.edu
a=NPOTB

--HG--
rename : js/src/jsdtracef.cpp => js/src/jsprobes.cpp
rename : js/src/jsdtracef.h => js/src/jsprobes.h
2010-09-01 14:09:54 -07:00
Robert Sayre
b743b2d61e Merge. 2010-09-01 11:25:36 -07:00
Robert Sayre
da659f8bfe Merge backout. 2010-09-01 11:25:02 -07:00
Robert Sayre
0308956e29 Backed out changeset e2e1ea2a39ce. (Igor Bukanov – bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor) 2010-09-01 11:24:45 -07:00
David Anderson
5bead76fe7 Fix GETELEM PIC not resetting atom jump (bug 592604, r=dmandelin). 2010-09-01 11:23:19 -07:00
ginn.chen@sun.com
ae3fbf5c69 Bug 587612: errors in #if !ENABLE_YARR_JIT compilation path. (r=cdleary) 2010-09-01 09:59:14 -07:00
Igor Bukanov
3232f601ce bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor 2010-08-19 21:28:12 +02:00
Igor Bukanov
edc6d00c4e bug 477999 - JS_SuspendRequest should suspend requests from all contexts . r=gal,anygregor 2010-08-30 20:46:18 +02:00
Brian Hackett
12544017c9 Correct GMT offsets for New Zealand and the Kingdom of Tonga, bug 591845. r=brendan, CLOSED TREE 2010-08-31 17:57:14 -07:00
Brendan Eich
b15d952f7c Bug 535629 - Deleted properties' slots are not recycled (r=gal).
--HG--
extra : rebase_source : 04a8bbd6731e4e9b9d36a5d685c5ee0f87db064e
2010-08-18 11:34:13 -07:00
Luke Wagner
31c2aa44b4 Bug 592069 - handle deep bail from IteratorMore/method-write barrier (r=gal,dvander CLOSED TREE) 2010-08-31 11:33:30 -07:00
Luke Wagner
3f86800cba Bug 592199 - call js_PutArguments from trace always (r=dmandelin, CLOSED TREE) 2010-08-31 16:25:55 -07:00
David Mandelin
c376c13265 [JAEGER] Merge from Tracemonkey. 2010-08-31 13:21:23 -07:00
Tom Austin
9e08d2f725 Bug 592152. Narcisssus fix for consts. r=dherman. CLOSED TREE 2010-08-31 11:51:10 -07:00
David Mandelin
5eba7a1580 [JAEGER] Merge from Tracemonkey. 2010-08-31 10:36:08 -07:00
Robert Sayre
abe80b4593 Merge mozilla-central to tracemonkey. CLOSED TREE 2010-08-31 10:24:22 -07:00
Brendan Eich
85ea65ea98 Bug 592001 - Fix v8-regexp regression in wake of patch for bug 558451 (r=igor, CLOSED TREE). 2010-08-31 07:33:25 -07:00
Gregor Wagner
d5979d2297 [Bug 592007] TM: New Scope patch changes GC behavior in browser r=gal (CLOSED TREE) 2010-08-31 08:37:16 -07:00
Jacob Bramley
f0e9529e75 [JAEGER] Tracer integration optimization for ARM. [Bug 588022] [r=dvander] 2010-08-31 12:21:37 +01:00
David Anderson
aa2dda885e [JAEGER] Removed bogus assert in global var prediction (bug 591606, r=dmandelin). 2010-08-30 19:04:23 -07:00
David Mandelin
88272ac427 [JAEGER] Merge from Tracemonkey. 2010-08-30 18:34:39 -07:00
Luke Wagner
e949d56946 Bug 589329 - fix crash in JSData2Native (r=jst) (CLOSED TREE) 2010-08-30 18:21:34 -07:00
David Anderson
057756b433 [JAEGER] Add test case for bug 591602. 2010-08-30 18:18:49 -07:00
Dave Herman
108f80e7a2 bug 591572, r=shu: builder configuration parameter (CLOSED TREE) 2010-08-30 16:23:11 -07:00
Brendan Eich
6c846a6605 Back out last push (CLOSED TREE). 2010-08-30 15:44:56 -07:00
David Anderson
1f79d55160 [JAEGER] Silence GCC under-parenthesizing warning in jsinterp.cpp. 2010-08-30 15:43:32 -07:00
David Anderson
70d6dbdd95 [JAEGER] Silence unused variable warning in GCC.
--HG--
extra : rebase_source : 725a7c7a80914c1f93f91ad89cb8b309a651fd76
2010-08-30 15:42:01 -07:00
David Mandelin
d27af4b94d [JAEGER] Fix browser build bustage left from merge. 2010-08-30 15:21:29 -07:00