Commit Graph

9684 Commits

Author SHA1 Message Date
Jeff Walden
5fbb5b9367 Bug 572577 - Change NativeIterator::allocate to accept a vector of ids rather than separate pointer/length. r=gal
--HG--
extra : rebase_source : a7b3993ec46a83e3f70bb1c2975028e1273bb044
2010-06-16 16:17:45 -07:00
Jeff Walden
e993047657 Bug 572577 - Convert proxy name-enumerating APIs to fill in vectors of names, rather than return JSIdArrays. r=gal
--HG--
extra : rebase_source : 5df8f88b785d5c2974bcc89cf285f9791dfbb0c9
2010-06-16 16:11:13 -07:00
Jeff Walden
054bf6ca45 Bug 572577 - Make property enumeration mechanisms fill in a provided vector of names, rather than return a JSIdArray. r=gal
--HG--
extra : rebase_source : 20994eb4c76aad9fe570b8dcfce1f5b6ceeef0fc
2010-06-16 14:12:21 -07:00
Blake Kaplan
eeece03cc6 Bug 572149 - Deal with an abort when about to *start* executing an imacro. r=gal
--HG--
extra : rebase_source : 916ec03b814d9e31134546a910eb329639c0b389
2010-06-16 20:29:52 -07:00
Andreas Gal
d79abfd782 Bug 572774 - NULL deref due to bug in js_Call, regression from bug 572495. r=jorendorff. 2010-06-17 13:15:18 -05:00
Igor Bukanov
5b76e21662 bug 516832 follow up - better assert coverage with conservative gc 2010-06-17 15:35:52 +02:00
Igor Bukanov
a3a94a3484 bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap 2010-06-17 14:32:26 +02:00
Chris Leary
1d03ae0f11 Fix jstests.py --valgrind-args flag. (r=jorendorff) 2010-06-16 18:34:57 -07:00
Jason Orendorff
c80c81124a Merge backout. 2010-06-16 20:03:30 -05:00
Jason Orendorff
c1e349137a Back out changeset 4c1fbfcf1d0d due to orange. 2010-06-16 20:03:11 -05:00
Jason Orendorff
07430a1bcd Back out changeset fdaff211cb8f due to orange. 2010-06-16 20:02:53 -05:00
Jason Orendorff
e4eacf8d04 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal.
--HG--
extra : rebase_source : cfe0da3aa979b24ba331fbc2622970767b06ad58
2010-06-16 16:13:50 -05:00
Andreas Gal
02be8d79fb Compute 'this' in call ObjectOp so it can be overriden (572495, r=jorendorff). 2010-06-16 16:36:40 -07:00
Jason Orendorff
2d3b5bbe7a Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal. 2010-06-16 16:13:28 -05:00
Jason Orendorff
6472e34dba Bug 570169 - Part 1, preparation. Rearrange some code. r=gal. 2010-06-16 16:13:01 -05:00
Jason Orendorff
651a2b804e Delete testContexts_bug570746, which is failing only on tinderbox, inexplicably. No test is worth this much trouble. r=orange. 2010-06-16 15:19:53 -05:00
Chris Leary
c55687cccc Back out changeset fecc8ed9e813. 2010-06-16 01:17:34 -07:00
Jason Orendorff
5550380090 Note that js1_8_5/regress/regress-555246-1.js fails in the shell. 2010-06-15 19:07:50 -05:00
Dave Herman
ddf90cda8e bug 533874, r=cdleary: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Jason Orendorff
604cfc9c6f Fix testContexts_bug570746 for the third time. The scope of the jsvalRoot fundamentally cannot be correct here, so explicit JS_{Add,Remove}ObjectRoot calls are needed. r=orange.
--HG--
extra : rebase_source : e6a4ace8f159dfdb939495cecb5a9c3110242620
2010-06-14 18:50:07 -05:00
Igor Bukanov
287bafafff bug 516832 followup - fixing jsapi-tests compiler warnings 2010-06-15 09:57:24 +02:00
Jason Orendorff
6435203fb2 Remove #include cycle between jsscopeinlines.h and jsobjinlines.h. rs=Waldo. 2010-06-14 15:00:02 -05:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Igor Bukanov
5a45e44fd0 bug 571661 - removal of unused xpconnect-specific auto request classes. r=mrbkap 2010-06-12 18:28:19 +02:00
Jeff Walden
036e2b3101 Bug 570551 - Don't use shared-permanent properties to implement RegExp instance properties. r=jorendorff 2010-06-05 18:16:03 -07:00
Jim Blandy
4b1fae7897 Bug 568375: Delete the JSOP_XMLOBJECT bytecode. r=waldo 2010-06-11 10:48:08 -07:00
Nicholas Nethercote
dd1f103ade Update nanojit-import-rev stamp. 2010-06-10 18:05:05 -07:00
Nicholas Nethercote
a35fc574ae Bug 569753 - nanojit: clean up ExprFilter::ins2(). r=edwsmith.
--HG--
extra : convert_revision : 27e933f40d36603509b75ca2e7361616781528fe
2010-06-10 17:12:53 -07:00
Edwin Smith
b919fbbe12 Bug 562152 - Remove typedef LInsp (r=nnethercote+)
--HG--
extra : convert_revision : 63a0a36e4637218160b42646feb9a18b408d8671
2010-06-10 11:22:18 -04:00
Jim Blandy
5f169e84e2 Bug 563109: Retire jsDriver.pl and friends, in favor of jstests.py. r=bclary 2010-06-10 14:43:54 -07:00
Nicholas Nethercote
13d03be824 merge 2010-06-09 19:41:59 -07:00
Nicholas Nethercote
991efe1344 Bug 568466 - TM: avoid premature NULL check in NewXMLQName(). r=gal. 2010-06-09 19:40:12 -07:00
Vladimir Vukicevic
601bca059e b=571014; assertion when accessing ArrayBuffer props; r=brendan 2010-06-09 19:05:00 -07:00
Vladimir Vukicevic
050bac772e b=560818; use jemalloc chunk allocation in GC, also add GC chunk memory report; r=shaver 2010-06-09 14:56:53 -07:00
Jason Orendorff
9f4dfaa18c Get rid of tabs in jsapi-tests and apply modelines everywhere. Whitespace only change. no_r=me. 2010-06-09 14:34:18 -05:00
Jason Orendorff
6c7518750c Missing "return true;" in jsapi-test is what was really causing it to fail on tinderboxes. Sorry for the mess. r=orange, shame=me. 2010-06-09 14:18:34 -05:00
Jacob Bramley
8dc56be0dd Update nanojit-import-rev stamp. 2010-06-09 09:46:51 +01:00
Jacob Bramley
07c75d07c8 Include signal.h to fix breakage in 49982fe529dd. [Bug 570895] [r=me]
--HG--
extra : convert_revision : 0a8efeddb4d97553a877a1cfd11b3e4b9fb54098
2010-06-09 09:30:23 +01:00
Jacob Bramley
310af12a78 Extend the inappropriately-limited FSTD and FSTS range. [Bug 570694] [r=nnethercote]
--HG--
extra : convert_revision : 3c64a9386e7f8784d25b4eb13243f621b0fcded8
2010-06-09 09:10:19 +01:00
Gary Kwong
552a27cb06 Bug 570895 - Consider replacing abort() in AvmAssertFail. r=gal.
--HG--
extra : convert_revision : 49982fe529ddf0ff473495547e2df3024e35ee76
2010-06-09 00:20:03 -07:00
Gary Kwong
a24cddb1b8 Assertion failure message tweak, from bug 570895. r=gal.
--HG--
extra : convert_revision : c7e84fb8ce712a6ea79fce04cd8cb5d8fcf2f647
2010-06-09 00:13:54 -07:00
Jacob Bramley
ad5b2f77aa Fix ARM's asm_str implementation for large, negative offsets. [Bug 561977] [r=me]
--HG--
extra : convert_revision : 8dc1d2f7c39783cb1683dee2b3caac28d7121ff7
2010-06-07 11:58:07 +01:00
Gary Kwong
2c2bdd0503 Bug 570895: Replace abort() in AvmAssertFail. r=gal 2010-06-09 14:38:37 +08:00
Andreas Gal
ffe7358fca Eagerly calculate 'this' for 'with' objects (570655, r=brendan/mrbkap). 2010-06-08 17:09:40 -04:00
Jim Blandy
1a07fb174f Bug 569751: Don't ignore arguments indicating which tests to run in nonterminal property presence tests. r=waldo 2010-06-08 13:35:19 -07:00
Jason Orendorff
d9841f2f2c In a jsapi-test, fix scope of js root, to avoid removing the root after the runtime is destroyed. r=orange. 2010-06-08 14:42:27 -05:00
Jason Orendorff
674ba25c89 Bug 570746 - Assertion failure: rt->emptyArgumentsScope->shape == JSScope::EMPTY_ARGUMENTS_SHAPE, at js/src/jsscope.cpp:289. r=brendan. 2010-06-08 12:31:34 -05:00
Blake Kaplan
8a79fe9040 Bug 553597 - Add a mochitest. r=bzbarsky 2010-06-08 09:13:11 -07:00
Blake Kaplan
62c84f09e1 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Blake Kaplan
f1be43a299 Bug 566651 - Actually store the result in vp. r=jorendorff 2010-06-08 09:12:52 -07:00
Blake Kaplan
0130483c24 Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst 2010-05-28 16:01:08 -07:00
David Mandelin
9d3b145d90 Move the unit string tables to 32-bit address space for x64. This works on Windows but may need different X64 macrology elsewhere 2010-05-28 15:28:48 -07:00
David Mandelin
0c6dd6c6e2 Set up alloc of 32-bit-addressed gcchunks for win 64 2010-05-28 14:41:42 -07:00
David Mandelin
0c48e65da3 Build error fixes for win64 2010-05-28 14:04:29 -07:00
Nick Thomas
59d3d880aa Bug 570022, bump Firefox/Gecko version to 4.0b2pre/2.0b2pre after 4.0b1 tagging, r=jhford, a=beltzner, CLOSED TREE 2010-06-29 15:09:55 +12:00
Ben Turner
1d8ac7be25 Bug 575399 - 'IndexedDB: Remove XPConnect slow paths from some IndexedDB methods'. r=sdwilsh 2010-06-28 15:22:41 -07:00
Ben Turner
8c6da83b49 Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Shawn Wilsher
57685bdd35 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
aff7e85a3b Bug 574811 - Rename IDBIndexRequest to IDBIndex
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBIndexRequest.cpp => dom/indexedDB/IDBIndex.cpp
rename : dom/indexedDB/IDBIndexRequest.h => dom/indexedDB/IDBIndex.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
ad8dc5eaf7 Bug 574811 - Rename IDBObjectStoreRequest to IDBObjectStore
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBObjectStoreRequest.cpp => dom/indexedDB/IDBObjectStore.cpp
rename : dom/indexedDB/IDBObjectStoreRequest.h => dom/indexedDB/IDBObjectStore.h
2010-06-28 11:51:06 -07:00
Zack Weinberg
cdb43c9602 Bug 571989 part 1: Move the contents of gfx/src/psshared into widget/src/gtk2, which is the sole user.
--HG--
rename : gfx/src/psshared/nsCUPSShim.cpp => widget/src/gtk2/nsCUPSShim.cpp
rename : gfx/src/psshared/nsCUPSShim.h => widget/src/gtk2/nsCUPSShim.h
rename : gfx/src/psshared/nsPSPrinters.cpp => widget/src/gtk2/nsPSPrinters.cpp
rename : gfx/src/psshared/nsPSPrinters.h => widget/src/gtk2/nsPSPrinters.h
rename : gfx/src/psshared/nsPaperPS.cpp => widget/src/gtk2/nsPaperPS.cpp
rename : gfx/src/psshared/nsPaperPS.h => widget/src/gtk2/nsPaperPS.h
2010-06-28 10:36:17 -07:00
Shawn Wilsher
1dd26b5f02 Bug 574811 - Rename IDBDatabaseRequest to IDBDatabase
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBDatabaseRequest.cpp => dom/indexedDB/IDBDatabase.cpp
rename : dom/indexedDB/IDBDatabaseRequest.h => dom/indexedDB/IDBDatabase.h
2010-06-28 09:46:49 -07:00
Shawn Wilsher
7efa6fa6f7 Bug 574811 - Rename IDBTransactionRequest to IDBTransaction
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBTransactionRequest.cpp => dom/indexedDB/IDBTransaction.cpp
rename : dom/indexedDB/IDBTransactionRequest.h => dom/indexedDB/IDBTransaction.h
2010-06-28 09:46:21 -07:00
Shawn Wilsher
8f3f92a5f4 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00
timeless
5a386eb050 Bug 568007 - js_GetReservedSlot is too friendly to api abusers r=jorendorff 2010-06-28 12:00:07 +02:00
Masatoshi Kimura
cb1273c655 Bug 570365 - Remove -MANIFESTUAC:NO linker flag from configure r=ted.mielczarek
--HG--
extra : rebase_source : 75eb9e70e04abac7e61e835f62f0aef82c085cec
2010-06-27 01:33:17 +02:00
Jacek Caban
07bde20ee7 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : rebase_source : 1ae22e8abd799137e661f34b0c8346006a511617
2010-06-27 01:28:10 +02:00
Jacek Caban
119d3d97b4 Bug 569821 - js compilation failure on mingw-w64 r=dvander
--HG--
extra : rebase_source : 849d0c26e909917d6bdf7643928978cf59ed61b5
2010-06-27 01:27:18 +02:00
Daniel Holbert
fd37dc44c5 Bug 557566 followup: disable FAIL_ON_WARNINGS on Android. r=mwu 2010-06-26 15:15:35 -07:00
Ginn Chen
38f134ccbc Bug 574639 fix a typo in last commit 2010-06-27 01:09:34 +08:00
Ginn Chen
313e182b81 Bug 574639 Several fixes for configure.in and rules.mk for Solaris r=bsmedberg 2010-06-27 00:56:07 +08:00
Ben Newman
91ca5c2718 Disable hanging jetpack XPCShell tests. r=sdwilsh 2010-06-25 11:42:34 -07:00
William Maddox
48541b0117 Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets.  There appear to other issues
with oveflow detection in general that are not dealt with here.

--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox
7cfb42d6ca Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
Bug 560926 - Add support for arithmetic with branch on overflow

--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier
ada62b6b46 Fix winmo macro madness breakage
Extra parenthesis needed in order to correctly resolve macros;
  NativeARM.cpp(2040) : error C2105: '--' needs l-value

--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
lw@mozilla.com
7b52bb9eca Fixes/hacks to get working on Linux x64 2010-05-26 22:35:39 -07:00
Rick Reitmaier
4e416a5a6b Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox
f42400812e Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Luke Wagner
824169c8ae Merge 2010-05-26 16:39:20 -07:00
Luke Wagner
f7242c4d3f [mq]: Refactor value logic for better reuse 2010-05-26 16:36:47 -07:00
David Mandelin
d9d407e9e0 Fix build for js shell 2010-05-26 15:35:52 -07:00
David Mandelin
779cb751a0 Fix ctypes build 2010-05-26 15:29:48 -07:00
David Mandelin
dccd5ed786 Build fixes for MT builds 2010-05-26 14:49:23 -07:00
David Mandelin
2652c5d63e Reversing change to jstests.py that was accidentally checked in earlier 2010-05-26 14:13:08 -07:00
David Mandelin
2dbeb42aff Fix regression from 426b1244fbf6. rval needs to be set for the ending primtive conversion block to work correctly. 2010-05-26 13:50:01 -07:00
David Mandelin
efe77133ba Fix jsreftest regress-312588.js 2010-05-26 13:29:27 -07:00
David Mandelin
3b0ec348d0 Fix jsreftest regress-353116.js 2010-05-26 13:15:33 -07:00
Rick Reitmaier
8b54029d42 Bug 567900 - Enable JIT verbose output for release debugger builds (r+stejohns)
Somewhere along the line -Dverbose=jit was disabled for all non-debug builds.
This means that we can no longer see jit generated verbose output unless we
build a debug build, which is very inconvenient.

Also, the define NJ_VERBOSE_DISABLED was introduced without a corresponding
ifdef around the JIT verbose flags of the shell which leads one to erroneously
assume that methods are not being JIT'd (no output visible).

As the verbose mechanism in the JIT adds less than 2% to overall size (measured
on xcode built x86-32 shell) , recommend adding it back.

--HG--
extra : convert_revision : 367041a278adc74f7db6c9a13166f1700b133ec7
2010-05-26 11:08:55 -07:00
Nicholas Nethercote
667b781c22 Update nanojit-import-rev stamp. 2010-06-06 17:58:25 -07:00
Edwin Smith
ab48828f96 Bug 560926 - Add support for arithmetic with branch on overflow (r= nnethercote+ edwsmith+ wmaddox+) 2010-06-06 17:57:30 -07:00
Nicholas Nethercote
50014db91e Update nanojit-import-rev stamp. 2010-06-06 16:45:13 -07:00
Edwin Smith
0674774a9a Constant folding for LIR_i2q and ui2uq (bug 560106 r=gal+). 2010-06-06 16:40:41 -07:00
Andreas Gal
0630d150f4 Detection mutations to the iteration state in js_SuppressDeletedProperty (570352, r=igor). 2010-06-06 16:23:48 -04:00
Robert Sayre
09e6a02419 Merge mozilla-central to tracemonkey. 2010-06-06 11:28:04 -04:00
Nicholas Nethercote
1a5f1be426 Update nanojit-import-rev stamp. 2010-06-05 20:15:51 -07:00
Jacob Bramley
bd578c73f1 Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai] 2010-06-05 20:12:54 -07:00
Robert Sayre
d9e86770e3 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Igor Bukanov
02fc618d59 bug 566836 - eliminating JSObjectOps::dropProperty. r=gal
--HG--
extra : rebase_source : cdffca0a863d8a3dddbc77335fc3cdac2eff9f4b
2010-06-05 23:24:54 +02:00
Robert Sayre
37d6a810f7 Merge backout. 2010-06-05 11:43:27 -04:00
Robert Sayre
3a10b5449b Backed out changeset 52be13ea0488. Bug 556277 - Compute this eagerly in more cases. r=brendan. Suspected of performance regression on SunSpider unpack-code. 80ms -> 135ms. 2010-06-05 11:42:59 -04:00
Vladimir Vukicevic
8527f694f4 b=570025; don't use JS_ConstructObjectWithArguments in typed arrays; r=gal 2010-06-04 12:03:43 -07:00
Jason Orendorff
2ab131a259 Bug 556277 - Compute this eagerly in more cases. r=brendan.
--HG--
extra : rebase_source : b295b576f019a95b55d12b86077aaef295e3eec8
2010-06-04 00:34:57 -07:00
Luke Wagner
6950cf8510 Fix misnamed js_DumpStackFrameChain (r=me)
--HG--
extra : rebase_source : c8d4e523cea0909dc190eac3c368d207d9c6abbb
2010-06-04 11:15:23 -07:00
Jason Orendorff
6e799da354 Fix up the tests from bug 555246 to pass in the browser.
--HG--
extra : rebase_source : 7402ef86dc51523e55013345eba02a2e95122478
2010-06-03 23:33:40 -07:00
Andreas Gal
64497c9a69 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-03 21:41:01 -07:00
Nicholas Nethercote
3c1d859013 Backout the last NJ-to-TM merge (TM revisions b44daa2c0503 to b3167f8f9459, inclusive) because it caused lots of oranges. r=me. 2010-06-03 21:28:18 -07:00
Peter Van der Beken
4192845ce5 Backout 0f6b3c305e16 and 590f2dd5a293 to fix bustage 2010-06-04 15:26:26 +02:00
Peter Van der Beken
bbcaeb8ff9 Bustage fix. 2010-06-04 14:48:52 +02:00
Andreas Gal
3a5ff09808 Don't allow proxies to be fixed while handler traps execute (568473, r=igor). 2010-06-03 18:12:01 -07:00
Nicholas Nethercote
d3f076e3b3 Update nanojit-import-rev stamp. 2010-06-03 17:53:33 -07:00
William Maddox
714929c4de Bug 555345 - Add profiling capability for JIT-generated code (vprof changes only) (r=rreitmai+)
An earlier patch to tamarin-redux included vprof patches as well as a coordinated set of changes
to other files in TR.  The vprof directory is imported from nanojit-central, and the vprof changes
were overwritten.  This patch separates the initialization of new profile records from the logging
of data therein, which facilitates the use of the profiling infrastructure from JIT-generated code.

--HG--
extra : convert_revision : 10b865fa5d413277c2e11c211302f75d87029f06
2010-06-03 16:02:28 -07:00
Steven Johnson
1f9d87d23f Bug 527512 - ExprFilter missing trivial optimizations for ugt, ult (r=edwsmith,nnethercote)
--HG--
extra : convert_revision : 9bdc25ecdb1b5b3b6a81705df3ae573b812bc990
2010-06-03 10:35:26 -07:00
Jeff Walden
2a8187e20b Bug 548671 - Stop using shared-permanent properties "inherited" from the prototype to represent (function(){}).length and [].length. r=jorendorff
--HG--
extra : rebase_source : c5d48e4fe489f9e350798b49bed70f763e3abf37
2010-06-02 23:44:24 -07:00
Andreas Gal
70617110b8 Add an API for compartments (570040, r=jorendorff). 2010-06-04 16:32:10 -07:00
Taras Glek
7bfee6e728 Bug 570195 - Object.prototype.hasOwnProperty doesn't set the JSRESOLVE_DETECTING flag. r=jorendorff, test by jorendorff.
--HG--
extra : rebase_source : 20ef8f345efc18887c296059aff94e8d4e754cc9
2010-06-04 14:20:53 -07:00
Leon Sha
b892e48516 http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
Peter Van der Beken
9d3d2c1e46 Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3i - use fast unwrapping for nsIDOMDocument_, nsIDOMNSDocument_, nsIDOM3Document_. r=jst. 2010-05-31 22:46:56 +02:00
Peter Van der Beken
1c10d19031 Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3h - use fast unwrapping for nsIDOMNSHTMLElement_. r=jst. 2010-05-31 22:40:42 +02:00
William Maddox
2166eb30ff Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets.  There appear to other issues
with oveflow detection in general that are not dealt with here.

--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox
4600797689 Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
Bug 560926 - Add support for arithmetic with branch on overflow

--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier
cfc75a5c0d Fix winmo macro madness breakage
Extra parenthesis needed in order to correctly resolve macros;
  NativeARM.cpp(2040) : error C2105: '--' needs l-value

--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
Rick Reitmaier
af0bc4b0af Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox
5ccfce19cc Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Rick Reitmaier
80f3c51d06 Bug 567900 - Enable JIT verbose output for release debugger builds (r+stejohns)
Somewhere along the line -Dverbose=jit was disabled for all non-debug builds.
This means that we can no longer see jit generated verbose output unless we
build a debug build, which is very inconvenient.

Also, the define NJ_VERBOSE_DISABLED was introduced without a corresponding
ifdef around the JIT verbose flags of the shell which leads one to erroneously
assume that methods are not being JIT'd (no output visible).

As the verbose mechanism in the JIT adds less than 2% to overall size (measured
on xcode built x86-32 shell) , recommend adding it back.

--HG--
extra : convert_revision : 367041a278adc74f7db6c9a13166f1700b133ec7
2010-05-26 11:08:55 -07:00
Edwin Smith
3b4ffa11f5 Bug 560926 - Add support for arithmetic with branch on overflow (r=nnethercote+ edwsmith+ wmaddox+)
Patch to add 'j' (branch) variants of the exit-on-overflow instructions,
plus a few dependents:

32-bit:
LIR_addjovi
LIR_subjovi
LIR_muljovi

64-bit:
LIR_subq
LIR_addjovq
LIR_subjovq

--HG--
extra : convert_revision : 68023362b0833433a0bc0c3b5af8994894488f33
2010-05-26 14:03:14 -04:00
David Mandelin
a2c395a9dc Fix jsreftest regress-295052.js 2010-05-25 18:47:32 -07:00
David Mandelin
3f0ca97f1f Fix jsreftest regress-355339.js 2010-05-25 18:40:40 -07:00
David Mandelin
a8e76d8210 Fix jsreftest exception-001.js 2010-05-25 18:21:43 -07:00
David Mandelin
a9d51c9ff6 Fix decompiler assert in bitops-bitwise-and 2010-05-25 17:52:45 -07:00
David Mandelin
0c68bbefd3 Fix jsreftest 10.1.4-10 2010-05-25 17:40:01 -07:00
David Mandelin
3efe787d8c Fix jsreftest 11.3.2.js 2010-05-25 17:19:16 -07:00
David Mandelin
edabf67815 More consistent constants in isTrue and isFalse 2010-05-25 16:52:56 -07:00
David Mandelin
7cc758c9de Fix my mistaken JSVAL_TRUE for JS_TRUE in silencing a lame MSVC warning. Ick. 2010-05-25 16:51:27 -07:00
David Mandelin
b315613bc9 Fix failing assert on Windows 2010-05-25 16:39:38 -07:00
David Mandelin
74f72d3c92 Fix jsreftest typedarray.js 2010-05-25 16:14:33 -07:00
David Mandelin
51193355a8 Fix previous patch--used wrong |true| value 2010-05-25 16:09:24 -07:00
David Mandelin
7dcd3d30a1 Fix Windows warnings 2010-05-25 16:07:47 -07:00
David Mandelin
29029e3a17 Fix Windows build 2010-05-25 16:02:02 -07:00
David Mandelin
da8f91c03f Fix jsreftest regress-465453.js 2010-05-25 15:57:49 -07:00
Luke Wagner
0453c34865 Merge 2010-05-25 15:01:02 -07:00
David Mandelin
9283167963 Fix jsreftest regress-520572.js 2010-05-25 14:54:16 -07:00
David Mandelin
6aeb545a8a Fix jsreftest regress-453701.js 2010-05-25 14:52:10 -07:00
Luke Wagner
98063b6506 Re-apply fixes so that Windows (hopefully) builds 2010-05-25 14:48:12 -07:00
David Mandelin
683c94ac4e Fix jsreftest regress-311792-02.js 2010-05-25 14:30:44 -07:00
David Mandelin
30f293c255 Fix regress-375882.js 2010-05-25 14:02:05 -07:00
David Mandelin
9a6626e752 Fix jsreftest regress-555246-1. Also attempt to fix XP build bustage with lval's constructor being skipped by labels. 2010-05-25 13:19:35 -07:00
Luke Wagner
5cbf1c02f9 Merge 2010-05-25 11:31:47 -07:00
Luke Wagner
2a81dc5df9 Use nan-boxing, only working on 32-bit 2010-05-25 11:20:59 -07:00
Luke Wagner
b5b0edd4b5 Fix bustage 2010-05-24 22:51:39 -07:00
Luke Wagner
5508ffb812 Merge 2010-05-24 22:47:59 -07:00
Luke Wagner
b99257ad72 Fix bug 2010-05-24 22:19:29 -07:00
David Mandelin
ba9474f4cc Fix jsreftest ecma\Array\15.4.4.5-1.js 2010-05-24 19:00:44 -07:00
David Mandelin
b4f186acbb Removed all attempts to align values on MSVC, because they don't seem to help perf. 2010-05-24 17:37:30 -07:00
David Mandelin
528fb3452d Fixing len nonsense to satisfy an assertion. 2010-05-24 15:38:10 -07:00
David Mandelin
3e23b61592 Refix alignment. For now, don't try to align on MSVC, because parameters cannot be aligned, which forces us to take either build errors or alignment-checking assertions if we do try to align. 2010-05-24 15:31:08 -07:00
David Mandelin
75a0a2ea71 Followup to previous: fix local |len| in exception handling code. 2010-05-24 13:54:33 -07:00
David Mandelin
cc4241aff5 Make all references to |len| refer to the js_Interpret-wide variable so dispatch works correctly on Windows. 2010-05-24 13:45:40 -07:00
David Mandelin
8aa596de26 Fix most MSVC warnings. 2010-05-24 13:26:38 -07:00
David Mandelin
fd80dfdf22 Build fixes for MSVC. It should now build on Windows, albeit with warnings. 2010-05-24 12:55:11 -07:00
Edwin Smith
d50c384574 Constant folding for LIR_i2q and ui2uq (bug 560106 r=gal+)
Helps x64 and ppc64.

--HG--
extra : convert_revision : e6ce59a07d5fd363fadc242a93a2677f6fc69989
2010-05-24 09:13:11 -04:00
Jacob Bramley
551c835b39 Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai]
--HG--
extra : convert_revision : 09f682eb3100993e4f15758f209601c033d5ca3c
2010-05-24 11:30:06 +01:00
Jeff Walden
2b36f0a5ed Split up DST tests a bit more. r=time 2010-06-03 15:48:26 -07:00
Andreas Gal
7c92be3535 Rename JSNoopProxyHandler to JSWrapper and move it into jswrapper.[h|cpp] (568731, r=cdleary). 2010-06-03 15:27:29 -07:00
David Mandelin
ca064d6c6b Bug 569767: add separate trace-type 'magic' for JSVAL_HOLE, r=dvander 2010-06-03 10:38:44 -07:00
Brendan Eich
cbe7c0ca5a Fix failure to handle deep bail, and stop recording properly, in wake of bug 523452 (569843&569849, r=jorendorff). 2010-06-03 11:08:58 -07:00
Jeff Walden
3ceb4d071b Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff 2010-06-01 15:59:02 -07:00
Jason Orendorff
26599ba47e Bug 569771 - Factor out calling resolve hooks from js_LookupPropertyWithFlags. r=gal. 2010-06-02 23:11:31 -07:00
Jason Orendorff
a1e58bc1c7 Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests. 2010-06-02 23:48:22 -07:00
Andreas Gal
c7677875dc Rip out proto cache and store prototypes in the global object (569537, r=jorendorff). 2010-06-02 20:30:45 -07:00
Andreas Gal
a17cfb3b61 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-02 20:11:56 -07:00
Jason Orendorff
8da1998760 Bug 567152 - Assertion failure: !generic(). r=brendan.
--HG--
extra : rebase_source : 8a09f3c6b9570d764ebc404a2ff870625e156801
2010-06-02 16:45:23 -07:00
Jeff Walden
f689b9994b Bump jstests.py timeout limit to 150s; reftest harness times out at 300s now, so this both substantially raises the ceiling and doesn't raise it so far that a fast-in-shell-but-slow-in-browser test might time out only in browser, or at least that's the hope. r=flakiness 2010-06-02 17:04:37 -07:00
Brendan Eich
ac912dfcf4 Test for bug 568056. 2010-06-02 16:39:49 -07:00
Brendan Eich
6012f91709 Iterator(obj) returns a property key/value iterator that skips the proto chain (568056, r=gal). 2010-06-02 16:21:58 -07:00
Jason Orendorff
635c071944 Back out changeset a72a9d72c028 (bug 559653, remove SetPropHit). Checking to see if this caused a 5% Dromaeo regression today.
--HG--
extra : rebase_source : 5b1726c8bc4f9504cb1d452d0d21d59d61091ee0
2010-06-02 16:01:36 -07:00
Jason Orendorff
d364454f75 Back out changeset ca772ab995c9 (bug 559813, trace script setters).
--HG--
extra : rebase_source : 09944589c3f8c5acbd79ddc29878b25efcb87e14
2010-06-02 15:58:17 -07:00
Jason Orendorff
b0d9c052bf Back out changeset ade35d045bc8 (the tests were fixed earlier today). 2010-06-02 15:49:19 -07:00
Jason Orendorff
3fd95b6b36 Back out changeset ade35d045bc8 (the tests were fixed earlier today). 2010-06-02 15:46:12 -07:00
Andreas Gal
84c5602584 Add test for bug 569306. 2010-06-02 14:54:18 -07:00
Andreas Gal
5d9a7d91af Disable invalid tests that rely on resolve hooks reviving deleted standard classes/names (no bug, r=orange). 2010-06-02 14:38:04 -07:00
Luke Wagner
6c7bbffed4 Bug 569707 - avoid double-reporting OOM in jsiter (r=gal)
--HG--
extra : rebase_source : 6f486dad54e8b577a4baf3711dd785a394596bb6
2010-06-02 14:17:52 -07:00
Jason Orendorff
0898d769c7 Update jstests.list to get rid of some more orange: remove the "fails-if" tag from a test that no longer fails. My best guess is that the seemingly trivial simplification in bug 569114 fixed an actual browser-only correctness bug. Amazing. shame=andreas, rs=Waldo, no bug#. 2010-06-02 13:58:58 -07:00
Jeff Walden
e5eade11c9 Bug 563938 - Cache DST offsets to improve SunSpider score. r=sayrer 2010-05-26 17:49:04 -07:00
Jeff Walden
9dad862cef Bug 569666 - Define global.ctypes as non-enumerable, so it doesn't break uneval(this). r=jorendorff 2010-06-02 11:53:41 -07:00
Jason Orendorff
6ae9532281 Fix silly tests that were failing because we fixed bug 569306. shame=andreas, rs=Waldo, no bug#. 2010-06-02 12:57:26 -07:00
Jason Orendorff
6869b77cae Bug 559813 - Trace script setters. r=brendan. 2010-06-02 12:05:53 -07:00
Jason Orendorff
882ce0d27b Fix regression of js1_5/GC/regress-341877-01.js noted in bug 523452 comment 11. rs=dmandelin. 2010-06-02 11:56:53 -07:00
Jason Orendorff
b78259f52e Fix warning about printf format types.
--HG--
extra : rebase_source : 06b0e1f60ba86f36da99eb06513f83eba436b8f3
2010-06-02 10:22:03 -07:00
Luke Wagner
db6f35351f Bug 567530 - silence strict-aliasing warnings on threadsafe opt builds (r=igor) 2010-06-02 10:03:36 -07:00
Brendan Eich
85dcf30556 Followup fix and cleanup for 523452. 2010-06-02 07:18:25 -07:00
Andreas Gal
966cb32879 Don't re-run resolve hooks after a standard class was delete (569306, r=mrbkap). 2010-06-02 01:18:50 -07:00
Jason Orendorff
d0251b679e Bug 568070 - jsapi.cpp refactoring. Part 7, Compile, Execute, and Evaluate functions, etc. r=Waldo.
--HG--
extra : rebase_source : af19ff0811379622bd15c0abf4ec41c12a6c6543
2010-06-02 00:32:47 -07:00
Jason Orendorff
2de0da668b Bug 568070 - jsapi.cpp refactoring. Part 6, Get Set and Delete functions. r=Waldo.
--HG--
extra : rebase_source : 472d8e670ca30e05e9ee4ae5adead13b19b0ccf8
2010-06-02 00:32:09 -07:00
Jason Orendorff
985627641f Bug 568070 - jsapi.cpp refactoring. Part 5, AttrsGetterAndSetter functions. r=Waldo.
--HG--
extra : rebase_source : a473a81fab118ba6a331a0609642f2490a37d3a0
2010-06-02 00:31:29 -07:00
Jason Orendorff
36455669c8 Bug 568070 - jsapi.cpp refactoring. Part 4, eliminate redundancy in Define functions. r=Waldo.
--HG--
extra : rebase_source : 2fdce2843e83f73892a19387ae2e8c7280f63e1b
2010-06-02 00:30:36 -07:00
Jason Orendorff
7a82abbc1b Bug 568070 - jsapi.cpp refactoring. Part 3, eliminate redundancy in Lookup, Has, and AlreadyHas functions. r=Waldo.
--HG--
extra : rebase_source : 7ac0bcdd4cbfc43398afed590588945d9968936f
2010-06-02 00:29:27 -07:00
Jason Orendorff
b776dfabce Bug 568070 - jsapi.cpp refactoring. Part Q, CHECK_REQUEST in js_Atomize and js_AtomizeChars, as requested in reviews.
--HG--
extra : rebase_source : 33f35f7723315a96ccf15d72d23df00e5dd9a238
2010-06-02 00:23:43 -07:00
Jason Orendorff
c0a1052f82 Bug 568070 - jsapi.cpp refactoring. Part 2, whitespace changes. r=Waldo.
--HG--
extra : rebase_source : 8d3c5411ea4bb54c10c5fb00da08474390f1a7eb
2010-06-01 21:50:54 -07:00
Jason Orendorff
36e472fba8 Bug 568070 - jsapi.cpp refactoring. Part 1, rearrange functions. No behavior change. r=Waldo.
--HG--
extra : rebase_source : 88efb983301501cbb648611e4f8d6c87ebffa2a3
2010-06-01 21:39:48 -07:00
Jeff Walden
f1e28c8e25 Fix test expectations for new error messages, r=orange 2010-06-01 21:31:18 -07:00
Jason Orendorff
e7ae1fdb12 Merge. 2010-06-01 21:21:36 -07:00
Jason Orendorff
bf6f2c259c Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan. 2010-06-01 21:18:49 -07:00
Brendan Eich
dd3fb0ab0f Trace JSOP_DEL{PROP,ELEM} (523452, r=gal). 2010-06-01 19:42:37 -07:00
Brendan Eich
3f7c00b2c9 Can't rely on UINT16_MAX cross-platform (followup for 569391, bustage fix). 2010-06-01 17:21:01 -07:00
Andreas Gal
0119ec2a9a Properly handle errors during lookup when recording JSOP_IN (569384, r=luke). 2010-06-01 15:45:16 -07:00
Brendan Eich
9c5f58d3ca Call instances uniquely shaped at birth due to lack of runtime-shared empty scope (569391, r=jorendorff). 2010-06-01 15:01:11 -07:00
Rich Walsh
ea28a37159 Bug 568068 - fix jscntxt/jsnativestack build breaks on OS/2 (r=wuno) 2010-06-01 14:48:58 -07:00
David Mandelin
4057e31aea Bug 568991: allow shell jstests to run from 'src' directories, r=vlad 2010-05-28 16:51:06 -07:00
Andreas Gal
9ddcbe92a3 Don't use tinyids in jsregexp.cpp (569115, r=jorendorff, brendan). 2010-05-30 18:31:04 -07:00
Andreas Gal
f5c054ecec Nit patrol shot me down. Follow-up nits for bug 569114. 2010-05-30 17:27:56 -07:00
Andreas Gal
c84cee0514 Don't use tinyids in jsxml.cpp (569114, r=jorendorff). 2010-05-30 17:02:09 -07:00
Marco Perez
8b429d23a7 bug 569145 - fixing FreeBSD regression from the bug 237006. r=igor 2010-05-30 22:50:11 +02:00
Brendan Eich
66e2a9929e Nit patrol flies at dawn, spots minor spacing infractions. 2010-05-30 11:40:14 -07:00
Jason Orendorff
ef28c57f9e Fix js shell test runner to cope with assert-if. No bug, r=cdleary.
--HG--
extra : rebase_source : fc5685b3195dd9f4d34df5b38d61d70112f3ec17
2010-05-30 00:57:13 -07:00
Andreas Gal
336333df60 Follow-up for bug 568966. js_Call is never called with JSFRAME_CONSTRUCT. 2010-05-29 19:43:24 -07:00
Andreas Gal
3026562007 Improve error reporting for proxy handlers and __iterator__ (568966, r=brendan). 2010-05-29 19:04:01 -07:00
Andreas Gal
567a99fb7e Must resolve standard classes even when assigning (568826, r=jorendorff). 2010-05-29 18:59:50 -07:00
Igor Bukanov
368d84dcd5 bug 568285 - jstests.py: option to write list of failures to a file. r=dmandelin 2010-05-29 23:15:53 +02:00
Jacek Caban
1195ed3cc1 Fix NativeCompareAndSwap bustage on mingw (bug 568464, r=dvander). 2010-05-29 12:33:19 -07:00
Andreas Gal
f29c1a11df Properly propagate deep aborts from within js_FindIdentifierBase (568855, r=dvander). 2010-05-29 00:24:26 -07:00
Andreas Gal
8aefb376a8 The iterate() trap of proxy handlers must return an object (568867, r=brendan). 2010-05-28 15:02:33 -07:00
Igor Bukanov
8a9dacca13 Backed out changeset 1070cd7a9da0 2010-05-28 14:19:20 +02:00
Igor Bukanov
28c45dfff3 bug 516832 - temporaral landing to get tinderbox stats 2010-05-28 14:09:25 +02:00
Igor Bukanov
95e3f4ccd7 bug 568303 r=brendan 2010-05-28 10:03:06 +02:00
Igor Bukanov
e31161b87b bug 568485 - fixing my bad typos in other patches. r=brendan 2010-05-28 10:00:07 +02:00
Andreas Gal
8c3e167f37 Update our local copy of the V8 benchmarks to the latest test harness. 2010-05-27 17:15:56 -07:00
Jason Orendorff
4426bcc441 Bug 533592, part 2 - Get rid of BYPASS code in XPCNativeWrappers. r=mrbkap.
--HG--
extra : rebase_source : 69e23e74b696b58f2f0a8c89b1d120e2cbb35084
2010-05-27 12:34:28 -07:00
Jason Orendorff
d7cbea1f4d Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07:00
Jason Orendorff
020bbaf05d Bug 568379, part 2 - Remove support for "shallow" XPCNativeWrappers, thus eliminate FLAG_DEEP. r=mrbkap.
--HG--
extra : rebase_source : 324fea0a26640cdd2d2ac169d901f4619cb2b4c0
2010-05-27 12:32:26 -07:00
Jason Orendorff
b429d9ab76 Bug 568379, part 1 - Remove hasStringArgs weirdness from XPCNativeWrapper constructor. r=mrbkap.
--HG--
extra : rebase_source : 9db4cc0f4d436d015645d074d64137a1d88e5c66
2010-05-27 12:30:37 -07:00
Jason Orendorff
9cddfe0be7 Avoid warning in jsapi-tests/tests.h due to printf type mismatch. No bug, rs=Waldo.
--HG--
extra : rebase_source : 22429e5178fa794fc06da843ba8046a2678ca114
2010-05-27 11:18:06 -07:00
Brendan Eich
f3b00954e9 Followup for 568148 to cure orange from e4x/decompilation/regress-463360.js. 2010-05-27 14:33:57 -07:00
Jeff Walden
f21160d5f0 Fix bustage, add prmjtime.h to the list of headers... 2010-05-27 13:15:51 -07:00
Andreas Gal
8df6c7db72 Fix for bug 568413: I accidentally removed a required () pair when fixing formating nits. 2010-05-27 12:49:14 -07:00
Jeff Walden
16068a18f0 Bug 563938 - Refactor units-of-time used in computing DST offsets. r=sayrer
--HG--
extra : rebase_source : 38ffc11fbd00aaca53fb399e6ff2c1cec4cc5f3b
2010-05-26 17:00:28 -07:00
Jeff Walden
e98ca56524 Bug 563938 - Refactor DST offset computation to pave the way for caching the DST offset when possible. No functionality change. r=sayrer
--HG--
extra : rebase_source : ad70045b70cc23dd7578e594490a10b4fc6fc7ef
2010-05-26 17:00:28 -07:00
Andreas Gal
22db0647cc Implement iterate trap for proxy handlers (568413, r=brendan). 2010-05-27 12:03:25 -07:00
Andreas Gal
e85c97aafb Stringify property names when invoking scripted proxy handlers (568051, r=mrbkap). 2010-05-27 12:01:55 -07:00
Igor Bukanov
f362c01610 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:57:55 +02:00
Igor Bukanov
735d63b45a Backed out changeset c78751701c46 - wrong commit 2010-05-27 16:56:34 +02:00
Igor Bukanov
b4468fa229 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:51:44 +02:00
Igor Bukanov
823bff32f4 Backed out changeset 7ebdbaba843a - that was temporary commit 2010-05-26 14:04:15 +02:00
Igor Bukanov
ef5bf20abd bug 516832 - temporary landing to collect tinderbox logs 2010-05-26 13:40:49 +02:00
Igor Bukanov
69c8687fd7 bug 568073 r=brendan 2010-05-26 12:56:57 +02:00
Brendan Eich
5ecc39b6b9 Strengthen our onlyXML checking (568148, r=gal). 2010-05-25 20:49:14 -07:00
Gregor Wagner
da2ef31170 Bug 568045 HashTable::Range::front should return a non-const Entry. r=lw 2010-05-25 16:23:54 -07:00
Igor Bukanov
e496ace8f3 bug 566141 r=brendan 2010-05-25 12:54:55 +02:00
Blake Kaplan
f17d997577 Bug 566773 - Don't force indirect eval to have a callobj. r=brendan
--HG--
extra : rebase_source : 3b16f2a9fe4918abf9f5bee9d6ecd37a4d62c290
2010-05-24 15:53:11 -07:00
Andreas Gal
dcae10deae Make proxy API internal, allow JSObject::swap on functions (566818, r=brendan). 2010-05-24 14:33:03 -07:00
Andreas Gal
8e4c06cea9 Add a GC mark hook to C++ proxy handlers (567055, r=mrbkap). 2010-05-24 14:26:36 -07:00
Andreas Gal
edb127f3b4 If lookupProperty fails, recording is already aborted (567068, r=luke). 2010-05-24 14:20:19 -07:00
Andreas Gal
827b329995 Abort recording if js_FindIdentifierBase fails (567580, r=brendan). 2010-05-24 14:16:58 -07:00
Patrick Walton
7a314129ce Bug 546097 - Narcissus: replace the regex-based lexer with a handwritten one; remove GLOBAL. r=brendan
--HG--
extra : rebase_source : a0cfac8bbbd86302530b3cbe9e82b161a5db2ac4
2010-05-24 13:43:21 -07:00
Robert Sayre
5f6f628e47 Merge 2010-05-24 13:24:52 -07:00
Robert Sayre
cac17c1ecd Disable msvc warning C4800 2010-05-24 13:24:09 -07:00
Brendan Eich
5679f25545 Fix getter vs. method pointer issues (567066, r=jwalden). 2010-05-24 10:48:32 -07:00
Robert Sayre
def349ad75 Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07:00
Jory A. Pratt
c9e150d2ca Bug 555562 - remove xpctools as no maintainer in 3 years. r=shaver 2010-05-24 11:31:27 +02:00
David Anderson
e2e1e9a8cc Backed out changeset 0f0f444d57ad 2010-05-23 22:09:41 -07:00
David Anderson
fd993d7db3 Deoptimize uses inside polluted scopes (bug 561923 part 3, r=brendan). 2010-05-23 17:15:01 -07:00
David Anderson
b51e272cf2 Avoid resolving while looking up constants during parsing (bug 561923 part 2, r=brendan). 2010-05-23 17:14:59 -07:00
David Anderson
7d51777143 Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap). 2010-05-23 17:14:56 -07:00
David Anderson
e1e1715771 Reserve standard class properties in global objects (bug 561923 part 1, r=brendan). 2010-05-23 17:12:08 -07:00
Luke Wagner
b7325ce98e Bug 567627 - fix strict-aliasing violation in jsgc (r=igor) 2010-05-23 13:38:29 -07:00
Igor Bukanov
2dc14c17ba bug 558150 - js_GC outside a request must wait for other GC to finish. r=jorendorff 2010-05-22 21:49:58 +02:00
Jason Orendorff
a40a1841c1 Bug 530688 - Do not use std::string or iostreams in jsapi-tests. r=Waldo.
--HG--
extra : rebase_source : a87186b5db07a158add196a59937e65f3cbcc0ca
2010-05-22 06:09:17 -05:00
Igor Bukanov
b901f571e8 bug 566949 - always allow JS_malloc to be called outside a request or from a GC. r=jorendorff 2010-05-22 13:07:29 +02:00
Luke Wagner
b50352b41c Tighten checking with JSID, fix bug 2010-05-21 14:11:15 -07:00
Luke Wagner
b703c42217 Fix bug 2010-05-21 11:40:47 -07:00
Luke Wagner
d21e5529df Up js shell gc limit so that splay fits 2010-05-21 11:34:05 -07:00
Andreas Gal
fd6436223d Don't mark descriptor obj if it is NULL (567387, r=jorendorff). 2010-05-21 10:37:56 -07:00
Jason Orendorff
40d0fb0842 Bug 513065 - Part 3, Stay on trace when calculating scope in thisObject hook. r=mrbkap. 2010-05-21 07:27:00 -05:00
Andreas Gal
39f2723c14 Follow-up fix for bug 567059. 2010-05-21 00:19:09 -07:00
Andreas Gal
aa1254011a Abort tracing if we come across a non-native object (567059, r=dvander). 2010-05-20 21:01:27 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Martin Stránský
1507192afe Make ipc/ build with gcc 4.1.2. r=cjones 2010-05-24 09:36:49 +12:00
Luke Wagner
926bf1e82a Passing trace-tests 2010-05-20 18:39:06 -07:00
Luke Wagner
eeb3b22ccd Bug fixes 2010-05-20 16:44:08 -07:00
Nicholas Nethercote
6ded3c8f40 Fix a compiler warning on opt builds. No bug, r=gal via IRC. 2010-05-20 16:12:41 -07:00
Nicholas Nethercote
16a233b934 Bug 566759 - Remove LOpcode aliases once they are no longer used (TM-specific part). r=gal via IRC. 2010-05-20 16:04:17 -07:00
Nicholas Nethercote
12ed619c14 Update nanojit-import-rev stamp. 2010-05-20 15:58:16 -07:00
Luke Wagner
72913f6cf1 Bug fixes, cleanups 2010-05-20 10:05:04 -07:00
Luke Wagner
6836687a5e jsapi-tests pass 2010-05-19 18:40:27 -07:00
Edwin Smith
603d2206c9 whitespace hygiene
--HG--
extra : convert_revision : f96ca24c15235dba3282e3649356b6a7acf5d2e2
2010-05-19 20:54:10 -04:00
Edwin Smith
09708715d6 Bug 560570 - ARM arch detection for RVCT compiler (r=stejohns+)
--HG--
extra : convert_revision : c79dae5ba88018f3cfa06621064008a21e39e49f
2010-05-19 20:52:18 -04:00
Edwin Smith
c79040e8f9 Bug 560571 - Symbian RVCT 2.2 compiler requires explicit cast to (const void*) for &k (r=stejohns+)
--HG--
extra : convert_revision : 304ec7713fbecaf65b4c9f09b14f204b3416daf3
2010-05-19 20:47:56 -04:00
Luke Wagner
c6bf080b3e Fixed bugs; can compile imacros 2010-05-19 17:11:57 -07:00
mozilla@buildmonkey-left.mv.mozilla.com
88fadd2d53 Fix some things so this builds on 64-bit and OS X 2010-05-19 09:55:27 -07:00
Luke Wagner
881464a84d Do less copying for INC operations 2010-05-19 14:39:16 -07:00
Edwin Smith
edbad98461 Bug 566759 - Remove LOpcode aliases once they are no longer used (r=nnethercote+)
--HG--
extra : convert_revision : 6aa777cb07a63862372399ac78a6f39b573c6dc1
2010-05-19 09:34:07 -04:00
Luke Wagner
aac51d75b6 Turns out implicit conversion from JSString to Value is also dangerous (NULL). 2010-05-18 19:05:30 -07:00
Luke Wagner
3d3937c581 Quiet warnings, fix strict-aliasing bug 2010-05-18 18:29:26 -07:00
Luke Wagner
d3a3926b34 Fix bugs 2010-05-18 17:25:12 -07:00
Edwin Smith
c798b8b4d1 Minor PPC tweak from bug 560370, plus a few comments
--HG--
extra : convert_revision : ae4877e82cdda675f7fc8610f4cef987ea9a9c8b
2010-05-18 20:00:33 -04:00
Gregor Wagner
53e42ad125 Bug 566635 - TM: Change gcRootsHash and gcLocksHash to HashMap r=lw 2010-05-20 13:50:08 -07:00
Igor Bukanov
9d49b712de bug 566145 - reserving block and arguments shapes. r=jorendorff 2010-05-20 12:48:04 +02:00
Blake Kaplan
3ea4b3639e Fix bustage. 2010-05-19 19:19:31 -07:00
Blake Kaplan
9d09848caa Avoid calling XPCWrappedNative::GetWrappedNativeOfJSObject when we know we already have a wrapped native's JSObject. r=jst 2010-05-19 18:26:40 -07:00
Blake Kaplan
b2ebc063f7 Don't push call contexts when we don't have to. r=jst 2010-05-19 18:26:29 -07:00
Blake Kaplan
48aa419509 Avoid calling nsXPConnect::GetWrapperFor in the common case of wrapping a global object in its own scope. r=jst 2010-05-19 18:26:15 -07:00