Dan Witte
d4ac905845
Back out bug 520309 part 2. a=#developers for checkin on CLOSED TREE.
2010-08-24 07:59:27 -07:00
Dan Witte
2d6527e305
Merge e10s -> m-c. a=wecanhazbeta
2010-08-23 21:18:09 -07:00
Dan Witte
f2000be3eb
Merge.
2010-08-23 17:30:33 -07:00
Dan Witte
5f4dbe5953
Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+
2010-08-21 00:31:35 -07:00
Benedict Hsieh
c1283a6328
bug 520309, startupcache client mozJSComponentLoader, r=dwitte a=bsmedberg
2010-08-12 12:37:52 -07:00
Robert Sayre
1f8d21e1c1
Merge tracemonkey to mozilla-central.
2010-08-01 16:00:36 -07:00
Jacek Caban
e8f6daf69e
Bug 583584: Fakelibs breaks cross-compiles, even on this CLOSED TREE. r=khuey
2010-08-01 10:42:41 -07:00
Jeff Walden
f9d4e3da72
Bug 564621 - Add some documentation for JSONParserState enum values, so that future changes here don't have to lack docs or be the odd man out. r=sayrer
...
--HG--
extra : rebase_source : c2ce6322c17ec125f216dd0dc00dcec68585431f
2010-05-12 15:03:04 -07:00
Michael Kohler
dab190d2bc
Bug 506041 - Correct misspellings in source code (Patch 3)
...
r=timeless
--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
timeless@mozdev.org
2338f1f744
Bug 575024 JSObject::resizeDenseArrayElements comparison is always false due to limited range of data type
...
r=dvander
--HG--
extra : rebase_source : 2be13535bf494080eb098ab4c4f9008d7a6feb88
2010-06-28 13:22:52 +03:00
timeless@mozdev.org
3530aac334
Bug 555686 scope is never used in JS_NextProperty
...
r=jorendorff
--HG--
extra : rebase_source : 65aaf4e7c50880e467fec4397bf9a514eee5dd38
2010-05-25 04:11:48 +03:00
timeless@mozdev.org
5e3697c1db
Bug 564717 warning: functions defined but not used in xpcmodule.cpp
...
r=mrbkap
--HG--
extra : rebase_source : e8a15a17c5210b3ad17c6af79f1e2443f3eeb0b3
2010-05-25 17:34:13 +03:00
timeless@mozdev.org
13b3346876
Bug 564763 ReservedSlotIndexOK and js_GetReservedSlot-limit are unused in nondebug builds
...
r=jorendorff
--HG--
extra : rebase_source : 417ac35e2aefbfe029dae891d551c71ef456712e
2010-07-07 17:22:26 +03:00
timeless@mozdev.org
6ef8003e9c
Bug 552686 JS_GetFrameThis seems to require a JSContext these days when it calls some xpconnect wrapper that gets a thisObject
...
r=jorendorff
--HG--
extra : rebase_source : 7db05ad444219ffd5dbb64a86ac7470aa8095ace
2010-05-25 04:11:47 +03:00
Peter Van der Beken
54a3679793
Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
...
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Benjamin Smedberg
2afb186ba8
Bug 578809 - Jetpack .callMessage should be RPC, not sync, so that handles created during the reply are available correctly, r=bent
2010-07-23 17:11:33 -04:00
Benjamin Smedberg
43e0394bf5
Bug 578773 - Jetpack processes should send messages about uncaught exceptions to the parent, r=bent
2010-07-23 17:11:33 -04:00
Stefan Hundhammer
5dab5f8dd0
Bug 581318: Qt moc calls need DEFINES and ACDEFINES for conditional compilation. r=khuey
2010-07-23 10:56:19 -07:00
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Mounir Lamouri
e812cbd8fd
Bug 581021 - js_RestoreRegExpStatics has too many arguments. r=jorendorff a=blocking-2.0+
2010-07-22 16:55:11 +02:00
ffxbld
8a9a3a9ad4
Bug 583967. Beta3 version bump. r=nthomas
2010-08-04 11:38:06 -07:00
Doug Turner
864b48be6e
Bug 517655 - Support for libProxy - Part 3. More Build Changes. js system headers update r=dougt
...
--HG--
extra : rebase_source : 96b00eda4a079f041b86a6679dbdb8db6bb216f8
2010-08-03 13:22:41 -07:00
Taras Glek
9991834117
Bug 576399 - GCC 4.5 -Os bustage workaround r=khuey
2010-07-01 16:20:39 -07:00
Benjamin Smedberg
4d172dd53d
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
2f6bb59008
Fix packaging of test-only XPT files for crashreporter and httpserver.
...
--HG--
extra : rebase_source : 27abb29f16e071a7c08220d46f9cbef4ded08fc4
2010-06-30 12:42:24 -04:00
Benjamin Smedberg
6da9e8c26a
Require XPT files to be loaded explicitly: they are never auto-registered when found in a components/ directory.
2010-06-29 18:16:48 -04:00
Neil Rashbrook
84258324f3
Bug 572996 Compiler dependencies don't work for debug-only includes r=ted
2010-06-30 12:44:18 +01:00
Benjamin Smedberg
a4bcbea743
Add a classID check in generateNSGetFactory, from bug 568691 comment 62.
2010-06-27 21:05:47 -04:00
Benjamin Smedberg
63c0077443
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
225030afcc
Sync js/src/{config,rules}.mk
2010-06-25 11:11:56 -04:00
Benjamin Smedberg
abf280675d
Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function.
2010-06-25 10:43:25 -04:00
Ben Newman
91ca5c2718
Disable hanging jetpack XPCShell tests. r=sdwilsh
2010-06-25 11:42:34 -07:00
Benjamin Smedberg
762def30bb
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Ben Turner
a283994c5f
Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst.
2010-06-23 12:46:08 -07:00
Benjamin Smedberg
6344332d14
Revert accidental change to XPCOMUtils.jsm introduced in revision 731d52e5b732
2010-06-23 15:19:18 -04:00
Benjamin Smedberg
c072919b32
Remove hard tabs which I accidentally introduced into nsComponentManager.{h,cpp}.
2010-06-23 13:36:53 -04:00
Benjamin Smedberg
bea2c316a7
Sync js/src/rules.mk from bug 568691
2010-06-22 13:05:06 -04:00
Benjamin Smedberg
202aa47626
Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly.
2010-06-22 12:59:57 -04:00
Benjamin Smedberg
fcd5c36e9b
Bug 568691 - Fix XPCOMUtils.jsm to generate NSGetFactory, and fix nsSample.js to use XPCOMUtils
2010-06-21 14:29:32 -04:00
Benjamin Smedberg
ed3a49c9a2
Address review comments from bug 568691 comment 13/14/17:
...
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
45af085fff
Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
...
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
492155b10e
Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
...
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.
Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg
f13550a209
Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work.
2010-06-10 14:11:40 -04:00
Benjamin Smedberg
9045c05660
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Rail Aliev
5e9f91ea2b
bug 569426: Tracking bug for build and release of Firefox 3.7a5 - Version bump for default branch. r=bhearsum
2010-06-10 10:35:42 -04:00
Dão Gottwald
b314909c2e
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02: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
Peter Van der Beken
4366c67313
Fix for bug 563948 (Quickstub nsIDOMNSElement.*). r=bz.
2010-05-06 14:32:14 +02:00
Peter Van der Beken
921eb00ee4
Workaround for bug 564171 (Difference in behaviour between quickstubbed and non-quickstubbed readonly properties). r=jorendorff.
2010-05-12 15:04:18 +02:00
Johnny Stenback
59358a2ff2
Merging in changeset 4aebd52d74e8.
2010-06-30 17:06:01 -07:00
Doug Turner
ff668f8c76
Bug 575914 - Disabling cpow tests until they are not orange. r=jst
2010-06-30 16:07:36 -07:00
Chris Jones
3921e1219b
Bug 575918: Temporarily disable OOP xpcshell on OS X because it's completely broken. r=bsmedberg
2010-06-30 17:53:51 -05:00
Doug Turner
ba5d48b7ab
merge with mc
2010-06-30 10:50:45 -07:00
Doug Turner
cc747845de
Merge with mozilla-central
2010-06-28 21:10:55 -07:00
Doug Turner
901e02b2de
Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
...
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
b8ab8239cd
Auto-merge with m-c b51803f3fdef
2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705
Automerge w mozilla-central
2010-06-24 14:06:13 -07:00
Saint Wesonga
15c5e882f9
Bug 512447 - JSON.stringify does not correct handle replacer functions. r=sayrer
2010-06-24 13:32:07 -07:00
Jason Duell
d194b9d486
Merge from m-c.
...
Fair amount of merge conflicts.
Biggest item was changes to nsHttpChannel from web sockets changes.
Other likely suspects if things are borken:
nsFrameLoader.cpp:
- nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
nsnull (m-c) to local process call to new nsFrameMessageManager(),
callback arg? Smaug said null.
- only calling SetCallBackData for local case. also +r smaug.
nsPrefBranch.cpp had fairly extensive merge conflicts.
nsChromeRegistry had lots of changes.
Dougt did most of the non-necko changes (thanks).
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Josh Matthews
670215298c
Bug 564382 - Remove CPOWs from PContentProcess tree. r=olli
2010-06-17 14:10:14 -07:00
Doug Turner
ded51c1c5f
Merging with M-C.
...
Hand merged the following files:
U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h
--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Robert Sayre
27b081a100
Merge.
2010-06-06 14:56:31 -04:00
Robert Sayre
5ca2a43d0d
Merge tracemonkey to mozilla-central.
2010-06-06 14:55:52 -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
af2c89c538
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3j - use fast unwrapping for nsIDOMElement_. r=jst.
...
--HG--
extra : rebase_source : f4cbf4af1213028818e48cd8c3c4200dab2b6c5e
2010-05-31 22:49:44 +02:00
Peter Van der Beken
8d54bc7760
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
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
Doug Turner
003acc6d48
Merge with mc
2010-05-25 13:48:25 -07:00
Oleg Romashin
b36fb69349
Merge with latest mozilla central r 42802:ffbc3baf03ae
2010-05-25 15:19:33 -04:00
Olli Pettay
ed95f1a1e5
Use mozilla::void_t, so that CPOW compiles
2010-05-25 10:51:33 +03:00
Olli Pettay
58b4f71840
m-c to e10 merge
2010-05-24 17:45:59 +03: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
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
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
Robert Sayre
91c79aee06
Merge tracemonkey to mozilla-central.
2010-05-24 16:27:35 -07:00
timeless@mozdev.org
645d4df35e
Bug 565612 unreachable branch in js_InflateUTF8StringToBuffer. r=jorendorff
...
--HG--
extra : rebase_source : 64e41e13787b9a9c3cfb4faf987c6f6902293407
2010-05-23 15:40:59 -07:00
timeless@mozdev.org
5640cc8e6a
Bug 565595 glob is used uninitialized in XPCJSContextStack::GetSafeJSContext when JS_NewContext fails. r=jorendorff
...
--HG--
extra : rebase_source : 352876a6e35a7c811a0218f6a238fd602447e235
2010-05-23 15:38:35 -07:00
timeless@mozdev.org
b5a03652d7
Bug 565593 crash [@ js_DestroyContext] if JS_NewContext fails in CancelExecution. r=jorendorff
...
--HG--
extra : rebase_source : a3d5e11c53a042e786560b90c2039f9183329a22
2010-05-23 15:37:31 -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
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
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
Nicholas Nethercote
a27d4428f7
Bug 565251 - TM: simplify TraceRecorder::guardClass(). r=dvander.
2010-05-19 18:09:54 -07:00
Sean Stangl
e3e75e0bc6
Fix ReprMeter build and x64 bugs (bug 567015, r=dvander).
2010-05-19 16:35:30 -07:00
Brendan Eich
9de413892e
Fix hard-case destructurinv vs. for(var ...=... in ...) bug (558633, r=mrbkap).
2010-05-19 16:25:56 -07:00
Luke Wagner
a033c82002
Bug 566831 - add missing 'return' to FrameRegsIter (r=dvander)
2010-05-19 11:21:26 -07:00
Andreas Gal
0042312b1f
Don't leak native getters/setters into property descriptor objects (566914, r=brendan).
2010-05-19 14:43:17 -07:00
Julian Seward
a8447f425f
Bug 557776 - js_InitTitle: initialize title->lock properly. r=jorendorff.
2010-05-19 15:36:56 -05:00
Andreas Gal
59fd9c917f
Slowify dense arrays when used as 2nd argument of eval (566916, r=jwalden).
2010-05-19 12:19:44 -07:00
Jason Orendorff
721947de5b
Bug 566549 - Crash [@ js_AllocSlot] or "Assertion failure: obj->map->ops->defineProperty == js_DefineProperty" with evalcx. r=brendan.
2010-05-19 13:23:53 -05:00
Andreas Gal
acd79cbc3d
Move the scripted proxies test into js1_8_5/extensions (bug 546590).
2010-05-19 02:08:53 -07:00
Igor Bukanov
442b99542f
bug 237006 - automatic detection of the native thread stack base. The patch is based on the initial patches for bug 516832 by gal and gregor. r=gregor
2010-05-19 10:29:05 +02:00
Andreas Gal
4023a5b4e1
Check for invalid eval scope argument (566000, r=brendan).
2010-05-19 01:24:57 -07:00
Brendan Eich
be1aa946e1
Fix vp off-by-2 bug (566815, r=gal).
2010-05-19 00:59:49 -07:00
Andreas Gal
4bcbe87597
Scripted proxy traps don't guarantee that numeric ids are JSVAL_INT (566806, r=brendan).
2010-05-19 00:21:04 -07:00
Andreas Gal
e9349c81ba
Too much recursion crash with proxies (566790, r=brendan).
2010-05-19 00:13:02 -07:00
Andreas Gal
fc090da906
Properly mark undefined call and construct hooks of function proxies (bug 566781, r=shaver).
2010-05-18 20:20:50 -07:00
Andreas Gal
5b8624d46f
Add proxies test directory to Makefile.in (follow-up fix for bug 546590).
2010-05-18 20:00:18 -07:00
Andreas Gal
efd9bd790e
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
2010-05-18 19:21:43 -07:00
David Anderson
92852e7346
Don't execute trees if the inline call depth could exceed interpreter limits (bug 566639, r=luke).
2010-05-18 15:29:10 -07:00
Jason Orendorff
cd83f6032b
Bug 566665 - jstests.py -s should print command lines rather than lists of strings. r=dmandelin.
2010-05-18 17:04:27 -05:00
Dave Herman
8f88912ddf
bug 566695, r=jorendorff: js_DumpPC for easy printing current code context in gdb
...
--HG--
extra : rebase_source : a7e7662fb2271f408ecf5c3f26c6e639243484fc
2010-05-18 16:34:25 -05:00
Igor Bukanov
492d01b062
bug 564414 - defining XP_MACOSX on MACOSX. r=ted
2010-05-18 23:48:01 +02:00
Jeff Walden
0bd2ff1b53
Null-check the parent before attempting to outerize. rs=brendan
2010-05-18 14:13:22 -07:00
Luke Wagner
8c66dc0bc9
Bug 566556 - Check for nslots == 0 in decompiler (r=waldo)
2010-05-18 10:11:49 -07:00
Igor Bukanov
c512831379
bug 566136 r=brendan
2010-05-18 16:51:11 +02:00
Andreas Gal
379f08c160
Bulk clear GC bitmaps when GC starts instead of after the GC ends (565229, r=gregor).
2010-05-18 03:01:33 -07:00
David Anderson
e46e9a1c25
Fix recursing with inlining (bug 565373, r=luke).
2010-05-17 21:30:59 -07:00
Robert Sayre
13c247559e
Merge mozilla-central to tracemonkey
2010-05-17 13:55:37 -04:00
Igor Bukanov
d2691ed07b
bug 563326 - followup to fix OOM reporting
2010-05-16 11:23:28 +02:00
Igor Bukanov
c19c9e55c8
Backed out changeset 5748e8ff4666 - I landed the wrong patch
2010-05-16 11:21:08 +02:00
Igor Bukanov
06f3d228f8
bug 563326 - followup to fix OOM reporting
2010-05-16 11:19:38 +02:00
Rasmus Jensen
6ebcc68ad5
Followup for bug 335051, E4X literals should be acceptable values for sharp variables. r=me
2010-05-15 10:28:54 -07:00
Rasmus Jensen
333acce4c4
E4X literals should be acceptable values for sharp variables. r=jwalden
2010-05-14 21:52:03 -07:00
Chris Jones
9327ed8dcc
Merged m-c
2010-05-13 18:04:53 -05:00
Blake Kaplan
8ad3135e90
Fix bug 572130. r=jst
2010-06-23 17:09:00 -05:00
Ben Newman
9b5dc10c32
Bug 565078 - Move js/src/ipc to js/ipc. r=bsmedberg
...
--HG--
rename : js/src/ipc/CPOWTypes.h => js/ipc/CPOWTypes.h
rename : js/src/ipc/ContextWrapperChild.h => js/ipc/ContextWrapperChild.h
rename : js/src/ipc/ContextWrapperParent.h => js/ipc/ContextWrapperParent.h
rename : js/src/ipc/Makefile.in => js/ipc/Makefile.in
rename : js/src/ipc/ObjectWrapperChild.cpp => js/ipc/ObjectWrapperChild.cpp
rename : js/src/ipc/ObjectWrapperChild.h => js/ipc/ObjectWrapperChild.h
rename : js/src/ipc/ObjectWrapperParent.cpp => js/ipc/ObjectWrapperParent.cpp
rename : js/src/ipc/ObjectWrapperParent.h => js/ipc/ObjectWrapperParent.h
rename : js/src/ipc/PContextWrapper.ipdl => js/ipc/PContextWrapper.ipdl
rename : js/src/ipc/PObjectWrapper.ipdl => js/ipc/PObjectWrapper.ipdl
rename : js/src/ipc/ipdl.mk => js/ipc/ipdl.mk
rename : js/src/ipc/jar.mn => js/ipc/jar.mn
rename : js/src/ipc/tests/Makefile.in => js/ipc/tests/Makefile.in
rename : js/src/ipc/tests/adhoc/child.html => js/ipc/tests/adhoc/child.html
rename : js/src/ipc/tests/adhoc/test.xul => js/ipc/tests/adhoc/test.xul
rename : js/src/ipc/tests/unit/cpow_child.js => js/ipc/tests/unit/cpow_child.js
rename : js/src/ipc/tests/unit/test_cpow.js => js/ipc/tests/unit/test_cpow.js
2010-05-11 10:44:42 -07:00
Doug Turner
fe405e740c
merge with m-c. resolved conflicts in:
...
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Peter Van der Beken
7f4e72d2de
Back out fixes for bug 560462 to fix orange.
...
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Chris Jones
509f3d2bfc
Backed out changeset eef17c173aaa
2010-05-13 17:24:30 -05:00
Peter Van der Beken
00ea1d430a
Try to fix orange from e2c5f6be2148
...
--HG--
extra : rebase_source : 148d9a1eef794af433373002effd47c12cce6e1c
2010-05-11 18:27:44 +02:00
Marco Bonardo
5a227798cf
followup to Bug 553070. Fix test_xpcomutils.js permaorange.
2010-05-22 14:55:34 +02:00
Marco Bonardo
d3cd5e9f26
Forgot to enable the test for Bug 553070
2010-05-22 11:56:43 +02:00
Marco Bonardo
dbe1232637
Bug 553070 - Allow XPCOMUtils to do category registration for specific apps. r=sayrer
2010-05-22 10:41:00 +02:00
Brad Lassey
f1bb0d955e
bug 563751 - add configure option to js to enable building for thumb2 instruction set r=ted
2010-05-04 18:38:03 -04:00
Brad Lassey
a15e734cc6
bug 559263 - implement jemalloc for android r=vlad
2010-05-25 11:28:14 -04:00
Doug Turner
8f97a20153
Merge with m-c. no hand edits
2010-04-29 21:04:50 -07:00
Mike Hommey
03a22b658c
Bug 561969 - Recurse into js/src/ctypes/libffi on make distclean [r=dwitte]
...
--HG--
extra : rebase_source : 2c5f569fb9e75998a8137652ec053c036b9d6465
2010-04-29 07:18:29 +00:00
Josh Matthews
d6697b8a65
Bug 550860 - Profile directory for xpcshell based tests needs to be in a predefined, stable, location for at least some tests. r=ted
2010-04-28 03:28:56 +10:00
Andreas Gal
9770b09436
Bug 571698 - TM: turn off int/double speculation when we record many peer trees
2010-06-24 15:18:07 -07:00
Vladimir Vukicevic
560b5dc8cd
Bug 564319 - Allow building ctypes on Android, r=ted
2010-05-20 18:19:01 -07:00
Jeff Walden
a8ac2fc31a
Bug 565604 - Typed-array properties don't work when accessed from an object whose prototype is a typed array. r=vlad
...
--HG--
extra : rebase_source : 6ac630f7a9d2cb04a9a996c2a675be41130ea2b1
2010-05-19 14:25:20 -07:00
Ehsan Akhgari
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Mitchell Field
a333ef25e4
Bug 516758 - Remove --disable-long-long-warning. r=ted
...
--HG--
extra : rebase_source : 33ac339a48174b0c84a6bf193b6fc2aabb42e6b6
2010-05-17 10:58:00 -04:00
Brad Lassey
1fa8baed11
bug 559263 - make jemalloc work with android, follow up patch r=ted
...
(transplanted from 098cf0d0c599fdcfedbc6ee5aadf01259e9dcd09)
--HG--
extra : transplant_source : %09%8C%F0%D0%C5%99%FD%CF%ED%BCn%E5%AA%DF%01%25%9E%9D%CD%09
2010-06-05 13:15:50 -04:00
Masatoshi Kimura
a50b072e40
Bug 567497 - "Files executed via download manager cause Win7 compatibility mode to permanently apply to firefox.exe and not downloaded file" [r=ted]
...
(transplanted from 63b89b3114614929b80a358163a2d1ae9feea91b)
--HG--
extra : transplant_source : c%B8%9B1%14aI%29%B8%0A5%81c%A2%D1%AE%9F%EE%A9%1B
2010-05-24 09:55:00 -04:00
Chris Jones
84a3655756
Bug 551071: Suppress valgrind-reported "mismatched free()" (false alarm) of chromium objects by using mozalloc there (complements STL wrappers). Add a gross hack to prevent mozalloc macros from conflicting with methods in jscntxt.h. r=bent r=bsmedberg dependent-r=brendan
2010-06-04 18:16:34 -05:00
Peter Van der Beken
f9b24fc187
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst.
2010-04-19 17:41:39 +02:00
Peter Van der Beken
4f514217e6
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add support for non-templated custom quickstubs for an interface. r=jst.
2010-05-06 14:16:32 +02:00
Olli Pettay
078f01ee1d
Bug 549682 - Port the message-manager API to mozilla-central, r=jst
2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c
Backout Bug 549682
2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd
Bug 549682 - Port the message-manager API to mozilla-central, r=jst
...
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Jason Orendorff
cbde17d3b8
Bug 564344 - Crash or "Assertion failure: slot < (this)->scope()->freeslot, at ../jsscope.h:563" @ JSObject::getSlot(unsigned int) when redefining property. r=brendan.
...
--HG--
extra : transplant_source : %9A%DA%EE%06%F2V%B6%C6%03x%26%985%BA%CF%D0%BE%A88Q
2010-05-10 18:43:34 -05:00
Boris Zbarsky
9f46f37b84
Backed out changeset 90d627f2471e (bug 564979) because it broke mochitests.
2010-05-17 14:59:49 -04:00
Boris Zbarsky
f830440dab
Bug 564979. Get rid of nsINode::GetSibling and just use GetNext/PreviousSibling instead. r=peterv, sr=sicking
2010-05-17 14:18:25 -04:00
Peter Van der Beken
4fe2094857
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add support for non-templated custom quickstubs for an interface. r=jst.
2010-05-06 14:16:32 +02:00
Peter Van der Beken
80ceab0c8a
Fix for bug 564114 (Crash [@ nsINode::CompareDocumentPosition] passing null). r=bz.
2010-05-06 21:26:35 +02:00
Phil Ringnalda
e0e4b433f1
Bug 561354 - Disable regress-422348.js on all 64-bit OSes, like everyone including me thought I was going to do in the last patch
2010-06-19 18:59:20 -07:00
Phil Ringnalda
b0f61913ff
Bug 561354 - Disable some jsreftests that we know fail on Linux (and Mac) 64-bit on all other sorts of 64-bit too, r=bc
2010-06-15 21:53:44 -07:00
Benoit Jacob
6c594ab3c3
b=571029; readPixels API change, support both old and new signatures, also fix 572797 (allow non-fitting rectangles), and check that sizes are nonnegative; r=vladimir
2010-06-19 10:46:12 -04:00
Blake Kaplan
1a4baae7ca
Bug 572149 - Deal with an abort when about to *start* executing an imacro. r=gal
2010-06-16 20:29:52 -07:00
Justin Wood
1659d0b064
Bug 565191: Add --with-debug-label to js. r=ted
...
--HG--
extra : rebase_source : 7924c1d60929cd8a163052323927e7ca70de21d3
2010-06-17 18:43:13 -07:00
Kyle Huey
72a3bb4d3c
Bug 561674: Finish removing DEBUG_<username> from the tree. r=ted
...
--HG--
extra : rebase_source : e1d21af437660367681dbe631e1b8f6852c68f16
2010-06-17 17:34:23 -07:00
Ehsan Akhgari
e6dd111825
Bug 572445 - Bug 552121 broke compilation with --enable-functiontimer turned on; r=vlad
2010-06-16 13:01:17 -04:00
Chris Jones
bb21ef7d89
Followup to bug 541131: update |include protocol "PFoo.ipdl"| usages in e10s.
2010-04-27 02:12:38 -05:00
Chris Jones
d53b8a18d0
Merged m-c
2010-04-27 01:53:06 -05:00
David Anderson
cfe017e639
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:44:45 -07:00
Doug Turner
ed6494b616
merge with m-c.
2010-04-26 23:17:51 -07:00
Dan Witte
fd02fcaa4f
Bug 561619 - JS CTypes has a build dependency bug. r=sayrer
2010-04-26 13:26:53 -07:00
Peter Van der Beken
2ea151221c
Fix for bug 558979 ("ASSERTION: What kind of object is this" with appendChild, setting __proto__). r=mrbkap.
...
--HG--
extra : rebase_source : 8d120423afd4c296878dea5da95d5623abb1bf5e
2010-04-15 10:28:54 +02:00
Ben Turner
0edf1180b5
Bug 559476 - Do a fast copy of dense primitive arrays when making a structured clone. r=mrbkap+jst.
2010-04-28 18:32:13 -07:00
Jason Orendorff
26c35bfc1f
Disable the remaining jsreftests involving workers when running tests in the browser. See bug 559954, bug 562333.
2010-04-28 13:11:47 -05:00
Oleg Romashin
87c511839e
Merged with mozilla-central
2010-04-22 20:22:26 -04:00
Marco Bonardo
8222b230c0
Bug 550823 did not sync js/src/config
2010-04-22 16:11:24 +02:00
Julian Seward
4fd59b2da7
Bug 557586 - XPCPerThreadData::~XPCPerThreadData race leading to possible crash r=timeless
2010-04-22 14:58:41 +02:00
Doug Turner
6c196f14e2
Automerge with mc. no manual changes
2010-04-21 03:31:13 -07:00
Chris Jones
cedd844205
Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg
2010-04-20 15:12:02 -05:00
Ben Newman
4dddc1fb4e
Bug 559962 - Refactor XPCWrappedNative::CallMethod. r=mrbkap
2010-04-21 11:39:13 -07:00
Robert Sayre
ccea2938e0
Merge tracemonkey to mozilla-central.
2010-04-21 08:34:13 -04:00
David Anderson
f4f019b83e
Fixed tracing some arguments usage on trace (bug 558618, r=gal).
2010-04-21 01:10:23 -07:00
David Anderson
e86821540c
Modifying upvars on trace (bug 557946, r=gal).
2010-04-20 22:42:00 -07:00
Luke Wagner
ed92fc7417
Remove ridiculous dead code in JSOP_POS (that I seem to have added with bug 552574)
2010-04-20 20:48:26 -07:00
Dan Witte
329cff4a11
Bug 558949 - Make ctypes functions FunctionType.ptr's. r=benjamn
2010-04-20 17:37:35 -07:00
Nicholas Nethercote
0a1bd85dc4
Update nanojit-import-rev stamp.
2010-04-20 16:11:58 -07:00
Edwin Smith
560294a5e2
Bug 559969 - Rename LOpcode enums in Assembler.cpp/h (r=nnethercote+)
...
--HG--
extra : convert_revision : ccc892912055b7da35ff7a8bafa7c3cd0bc060d5
2010-04-19 20:42:41 -04:00
Edwin Smith
a0649c37c8
Remove unnecessary clearReg() calls from asm_restore(). (bug 555255 r=nnethercote+)
...
This patch does two things, neither of which should affect generated code.
1. In case LIR_alloc in gen(), replace inlined code with a call to evict(),
since evict() does exactly what the inlined code does.
2. In backends, remove ins->clearReg() or deprecated_markAsClear() calls from
asm_restore(), since evict() takes care of the same thing as soon as
asm_restore() returns.
--HG--
extra : convert_revision : e89860f89d85e6d0a4ef538c5f19f0ae55e360da
2010-04-19 20:28:22 -04:00
Edwin Smith
4f9e499d66
Removes NJ_PROFILE and related code, since it's all dead. (bug 560300 r=nnethercote+)
...
Host VM's should remove #define NJ_PROFILE and NJ_PROFILE_DISABLED
--HG--
extra : convert_revision : 02bc396c1339e7ed0ac17f77b074d5edcb1517f7
2010-04-19 20:22:56 -04:00
Edwin Smith
c87d59e4d3
Move canRemat() from Assembler.cpp to each backend. (bug 555255 r=nnethercote+)
...
--HG--
extra : convert_revision : c12082c4c489498061d8b505f7dae1bf626d849f
2010-04-19 20:16:09 -04:00
Ben Newman
cbe6db7f2c
Bug 560412 - Publicly expose the values of LazilyConstructed<T> objects. r=lw
2010-04-20 14:05:39 -07:00
Jeff Walden
e31b34b946
Er, back out everything, guess my understanding of orange was...lacking
2010-04-20 13:48:46 -07:00
Jeff Walden
1250c87f26
Backed out changeset 7bb4a2e5d0cf, looks to be orange everywhere... :-\
2010-04-20 10:04:16 -07:00
Mike Hommey
11c80af780
Fix system-header desync from bug 558789
2010-04-20 11:23:17 +02:00
Mike Hommey
b1bc99f4bd
Bug 555910 - Increase stability and performance on mips by not using -Wa,-xgot [r=benjamin]
...
--HG--
extra : rebase_source : ccc020327a845bdbabb1a23138751d879d5c6e55
2010-04-19 10:41:13 +02:00
Mike Hommey
e38d0a6088
Bug 555901 - Support for GNU/Hurd [r=benjamin]
...
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Chris Jones
09869cfb77
Merge mozilla-central
2010-04-16 01:34:35 -05:00
Robert Sayre
21d5aa345b
Merge tracemonkey to mozilla-central.
2010-04-15 12:05:18 -04:00
Nicholas Nethercote
4139494dcc
Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject (take 2). r=brendan.
2010-04-14 18:57:30 -07:00
Nicholas Nethercote
00c793c05f
Backed out changeset 681b0067e61b due to massive breakage
2010-04-14 17:09:17 -07:00
Nicholas Nethercote
e240c1f235
Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject. r=brendan.
2010-04-14 16:18:03 -07:00
Jason Orendorff
c58c59528b
Bug 559438 - Decompiler bug with JSOP_CONCATN. r=shaver.
2010-04-14 17:26:44 -05:00
Jason Orendorff
67f4c567ed
Missing test file for 47949ff2d058.
2010-04-14 15:52:24 -05:00
Jason Orendorff
af84824b06
Bug 559006 - Wrong behavior with JSClass::convert hook and JIT. r=mrbkap.
2010-04-14 15:07:01 -05:00
Dan Witte
d932f1875d
Bug 556329 - Allow ctypes to load exported data symbols. r=jorendorff
2010-04-14 10:36:48 -07:00
Walter Meinl
1d3efeae28
Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 3: Mozilla bits. r=dwitte
2010-04-14 10:36:48 -07:00
Dan Witte
271ddaf124
Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 2: update libffi.patch.
2010-04-14 10:36:48 -07:00
Walter Meinl
34c05f566e
Bug 538002 - Get libffi 3.0.9 working on OS/2. Part 1: libffi bits. r=dwitte
2010-04-14 10:36:48 -07:00
Dan Witte
4e6cc3082a
Bug 556902 - Fix ctypes warnings. Part 2: libffi. r=benjamn
2010-04-14 10:36:48 -07:00
Dan Witte
a199de8c64
Fix allocator mismatch. No bug, r=jorendorff
2010-04-14 10:36:47 -07:00
Robert Sayre
93ca8a6021
Merge mozilla-central to tracemonkey.
2010-04-14 08:17:38 -04:00
Jason Orendorff
190248f706
Merge backout.
2010-04-14 07:00:55 -05:00
Jason Orendorff
33e5d7d502
Backed out changeset ff77002e8a30 (bug 558720).
2010-04-14 07:00:36 -05:00
Gregor Wagner
fb425ba8b2
Bug 541140 - TM: don't return GCChunks immediately
2010-04-13 20:14:10 -07:00
Nicholas Nethercote
b90709d529
Bug 558714 - js_ScriptClass doesn't need a reserved slot. r=brendan.
2010-04-13 19:38:49 -07:00
Brendan Eich
937d447d0e
Fix non-escaping closure optimization to cope with 'with' and eval (558720, r=jorendorff).
2010-04-13 19:05:26 -07:00
Robert Sayre
8b637950c5
Merge
2010-04-13 18:16:05 -04:00
Robert Sayre
ec12d7736d
Backed out changeset c9faf5a2bc75
2010-04-13 18:15:20 -04:00
Jeff Walden
1867f9020c
Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff
2010-04-13 13:34:31 -07:00
Jeff Walden
fdc7ad5061
Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke
2010-04-17 03:19:33 -07:00
jwalden+bmo@mit.edu
aafa5b90cf
Only use setter's parent if a setter was supplied (bug 560277, r=dmandelin).
2010-04-20 00:49:40 -07:00
Luke Wagner
662af296c1
Use uint64 instead of JSUint64 to fix changeset 5b1c7bc8783e (rs=brendan)
2010-04-19 18:19:27 -07:00
Luke Wagner
a2d77734c8
Fix Windows bustage from changeset 5b1c7bc8783e
2010-04-19 16:21:12 -07:00
Luke Wagner
b5cd1b96c8
Bug 559256 - optimize slot grow/shrink (r=gal)
...
--HG--
extra : rebase_source : d979d305f730ee2fca3cf5fd0b5eeed028da1b66
2010-04-19 14:42:04 -07:00
Luke Wagner
e292b1f5dc
Bug 558410 - silence strict aliasing warnings (r=jorendorff)
...
--HG--
extra : rebase_source : c6cad8a5461e685f31f5959aa69635be57c807d4
2010-04-19 13:08:19 -07:00
Luke Wagner
d53a36c520
Fix changeset 1f9e21e2fd2b bustage on 64-bit
2010-04-19 10:30:17 -07:00
Luke Wagner
08f75291c2
Bug 560098 - fix hole-to-undefined conversion wrt TT_VOID (r=dvander)
2010-04-19 09:53:09 -07:00
timeless@mozdev.org
d555f3f806
Bug 560139 - jsdStackFrame::Eval leaks estate when failing to use ContextStack. r=jorendorff.
...
--HG--
extra : rebase_source : 611b291f96b21d33ba8f1ab3d56401c7fff7900d
2010-04-19 09:22:00 -05:00
Jason Orendorff
150781994d
Bug 557841 - TM: "Assertion failure: BINDNAME in global code resolved to non-global object, at ../jstracer.cpp". r=dmandelin.
...
--HG--
extra : rebase_source : ebfbfc0bb947c1c68b86ec4861c07a94aa6361d7
2010-04-19 09:21:10 -05:00
Robert Sayre
6f648e7ca8
Merge mozilla-central to tracemonkey.
2010-04-19 09:28:26 -04:00
Nicholas Nethercote
326c61a6cb
Update nanojit-import-rev stamp.
2010-04-18 19:33:09 -07:00
Nicholas Nethercote
f9f5ae98e3
Remove some pointless aliases. No bug, rs=gal.
...
--HG--
extra : convert_revision : bdef2f8f4b6bfc0a84de2140beec0ff6f3048f1e
2010-04-18 19:31:20 -07:00
Nicholas Nethercote
b47a58be72
Update nanojit-import-rev stamp.
2010-04-18 16:31:16 -07:00
Nicholas Nethercote
a9ce7676df
Fix compiler warning. r=me.
...
--HG--
extra : convert_revision : 4baf0bdb53dfdc39a1a6b1cf9ee78c0c42be8a6f
2010-04-18 16:15:25 -07:00
Edwin Smith
fa948f7ddd
Bug 559968 - Rename LOpcode enums in LIR.cpp. r=nnethercote.
...
--HG--
extra : convert_revision : 34789fd8cb4bd5f3d3eed6b6a44ae1a158620f8d
2010-04-18 16:05:53 -07:00
Edwin Smith
b0c60c31a3
Rename LIR opcodes in LIR.h (bug 557887, r=nnethercote+)
...
Mechanically renamed using rename_LIR.pl, backed out the alias patch hunks,
and updated the pointer-sized aliases to use the new opcodes instead of
PTR_SIZE macros using old opcodes.
--HG--
extra : convert_revision : 944433df375988c65313759440ed1de757ab4ea8
2010-04-16 19:20:24 -04:00
Mike Moening
061831a072
Bug 559067 - Silence MSVC warnings in js/src. r=jorendorff
2010-04-16 16:00:51 -05:00
Gregor Wagner
e0651262d2
Bug 559113 - Fix dangling FILE pointer in GCMETER code. r=jorendorff.
2010-04-16 15:54:56 -05:00
Jason Orendorff
f0cedb7287
Bug 527805 - Placeholder comment as requested in review. r=brendan, see comment 6 of the bug.
2010-04-16 15:38:57 -05:00
Jason Orendorff
4f17207cd6
Bug 527805 - Remove JSCLASS_SHARE_ALL_PROPERTIES. r=brendan.
2010-04-16 15:33:19 -05:00
Mike Moening
a82a061ff5
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 1. r=dvander.
2010-04-16 15:03:53 -04:00
Igor Bukanov
42b72b7d65
bug 557140 - avoid abort() on OOM with ill-lopping traced code. r=jorendorff
2010-04-16 14:31:17 +02:00
Nicholas Nethercote
3b7a62d9f5
Bug 558814 - nanojit: handle const conditions for LIR_jt/LIR_jf (TM-specific part). r=dvander.
2010-04-15 17:12:28 -07:00
Nicholas Nethercote
2a483c38cf
Update nanojit-import-rev stamp.
2010-04-15 17:01:03 -07:00
Nicholas Nethercote
6503b1d42e
Bug 558814 - nanojit: handle const conditions for LIR_jt/LIR_jf. r=edwsmith.
...
--HG--
extra : convert_revision : b57f94e988db5cdd0278bd3b1eca1a664bfcf937
2010-04-15 16:48:07 -07:00
Edwin Smith
b73e463983
Rename LIR_stw->stl2w, stb->stl2b, add aliases (bug 555633, r=nnethercote+)
...
--HG--
extra : convert_revision : 2eae88cd4859b3f82d003f1cfd42153c45a14bdf
2010-04-15 09:15:53 -04:00
Jim Blandy
6cc88760d9
Bug 558394: Define HAVE_LOCALECONV on Windows. r=jorendorff
2010-04-15 11:43:53 -07:00
Dan Witte
59ccca6ed9
Bug 557852 - Fix libffi config.cache location. r=bsmedberg
2010-04-15 11:30:28 -07:00
Chris Leary
3c67b0e19f
Bug 558846 - Update parsemark to use js::Parser directly. r=jorendorff.
2010-04-15 10:53:27 -05:00
Jason Orendorff
1692ec63b8
Make the regression test for bug 559438 less confusing. r=peterv.
2010-04-15 08:33:21 -05:00
Nicholas Nethercote
56d4d928f3
Update nanojit-import-rev stamp.
2010-04-14 23:09:53 -07:00
Edwin Smith
327efa9892
Only perform the disp32->disp8 addressing mode optimization on valid instructions (bug 543440 r=dvander+)
...
RIP-relative addressing uses mod 00 "disp32" encoding, but mod_disp32() assumes
all instructions passed in can be optimized to disp8 encoding if the actual
displacement is 8-bit. This is invalid for mode 00 modes, including RIP addressing.
mod_disp32() can still do the right thing in the other arm of its branch; this
patch removes the assert and tightens the check for the disp8 case.
--HG--
extra : convert_revision : b534b9289ca8a111f16fbf0b0711b5277be440f4
2010-04-14 16:22:14 -04:00
Edwin Smith
f2aa7bdbe7
Lower ARM MIPS NJ_MAX_STACK_ENTRY to 1024 as a workaround for asm_spill() limitations (bug 556175)
...
Fixme's added, explaining why.
--HG--
extra : convert_revision : 7d102db403b76739c69fbf1e5b1e35bdbeb4b3c6
2010-04-14 09:15:56 -04:00
Edwin Smith
b87fa948ab
Use AvmAssertFail instead of NanoAssertFail to implement NanoAssert (Bug 473188 r=gal+)
...
--HG--
extra : convert_revision : 7c682d3836f7587225a2f8dce73039d10a972318
2010-04-13 15:41:15 -04:00
Edwin Smith
6e97b7399c
Add support for LIR_stb on PPC (bug 558597 r=leon.sha pending)
...
Pushing this in advance of review; It appears to run fine in the tamarin-redux
acceptance suite, and i tested it also by stopping in asm_store32() with dbx,
and disassembling the generated STB instruction. Looked fine to the naked eye.
--HG--
extra : convert_revision : 1e26f7116dc4435461b56900454b02fa821a9e54
2010-04-13 14:39:49 -04:00
Edwin Smith
c527a87132
Allow i386 JCC() instruction to emit patchable jumps (bug 557705 r=me, nnethercote=pending)
...
TR needs to support patching, the assert is too restrictive.
Support target == 0 with an explicit check instead of letting
it just work by accident.
--HG--
extra : convert_revision : 5f12e1da6b7f3b76116ccf2ffd878969e103f557
2010-04-13 11:42:42 -04:00
Edwin Smith
577472fd60
Raise ARM and MIPS NJ_MAX_STACK_ENTRY to 4096 (bug 556175 r=Jacob.Bramley+)
...
--HG--
extra : convert_revision : 7a068ed450bb6ba47d8a5ab2586487a1b37ba8db
2010-04-13 11:14:49 -04:00
Gregor Wagner
e3ae3c2ec6
Bug 558833 - Fix GCTIMER for SweepDoubles. r=jorendorff.
...
--HG--
extra : rebase_source : 7492dd5a7bbed917ad4177685631ea1163193579
2010-04-13 08:58:40 -05:00
Ben Turner
227582d7d6
Bug 559442 - 'Fix ctypes closures to work on a non-GC thread'. r=dwitte.
2010-04-14 17:21:06 -07:00
Luke Wagner
9910b54c38
Check for JS_THIS_OBJECT failure in obj_isPrototypeOf (r=Waldo)
...
--HG--
extra : rebase_source : e22f9eb8bdf47b2f3cf2c5fc3d6ed46e01c191a2
2010-04-12 20:05:03 -07:00
Mike Moenig
7cb366214a
[JAEGER] Allow custom memory allocator use in spidermonkey (bug 549532, r=dvander).
2010-04-12 18:51:25 -07:00
Edwin Smith
176d926d8c
Implement LIR_stb on PPC32/64 (bug 558597 r=rreitmai+)
...
Patch also fixes an invalid assert that required load/store
displacements to be multiples of 4 on PPC.
--HG--
extra : convert_revision : e2a7f626b35179db953469ea94cdb39d16b10f7c
2010-04-12 21:27:19 -04:00
Luke Wagner
e0baa92658
Bug 558950 - Object.watch should always return undefined (r=Waldo)
2010-04-12 17:47:35 -07:00
Igor Bukanov
7004c9a4b7
bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor
2010-04-13 00:59:19 +04:00
Igor Bukanov
c8a65ef8d4
backout merge
2010-04-12 23:43:43 +04:00
Igor Bukanov
bdc96d2b1a
Backed out changeset 47532d9153cb - xpcshell failures
2010-04-12 23:42:45 +04:00
Rick Reitmaier
4634603bd4
Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote,edwsmith)
...
Issues with prior patch not compiling with tamarin due to missing vtable,
so make sure printf isn't available unless verbose is enabled.
--HG--
extra : convert_revision : 147e02ce8790c9e09f4c91b29b1bcc5d16862ee1
2010-04-12 11:51:00 -07:00
Jeff Walden
448a825d23
Bug 558249 - Followup fixes to bug 550402 to record setting getter-only properties better. r=jorendorff
...
--HG--
extra : rebase_source : 0cfef9aca97c243b1d45e5b6e4d68181cd3cea5c
2010-04-12 11:11:33 -07:00
Igor Bukanov
91e9546ca9
bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor
2010-04-12 21:15:30 +04:00
Jason Orendorff
8c46df6c46
Bug 557652 - Eliminate redundant guard that incProp/getProp operand is not the global object. r=brendan.
...
--HG--
extra : rebase_source : 8da6192aedb78f6096d83a161698b27e43d30c30
2010-04-12 08:27:16 -05:00
Robert Sayre
eea611fd7f
Fix merge bustage.
2010-04-12 10:08:55 -04:00
Robert Sayre
0bc0ee1ad3
Merge mozilla-central to tracemonkey.
2010-04-12 09:45:24 -04:00
Nicholas Nethercote
58fd901fa9
Bug 556165 - dead code in array_shift(). r=jwalden.
2010-04-11 22:38:55 -07:00
Andreas Gal
4f28c42447
Remove lingering defaultValue calls with hint JSTYPE_OBJECT or JSTYPE_FUNCTION (554550, r=brendan).
2010-04-11 20:55:22 -07:00
Andreas Gal
9e30b5188d
Fix an incorrect comment (r=me).
2010-04-11 20:03:04 -07:00
Nicholas Nethercote
483987f688
merge
2010-04-11 16:45:50 -07:00
Nicholas Nethercote
6bcbe2ea63
Bug 557713 - encapsulate JSSLOT_ARGS_* within JSObject. r=brendan.
2010-04-11 16:45:20 -07:00
Nicholas Nethercote
2d6ed5c45e
Bug 558530 - JM: Crash [@ js_CallGCMarker] with gc. rs=me.
2010-04-11 16:28:04 -07:00
Brendan Eich
1adb0c8099
Keep jsprvtd.h usable from C (558437 followup, r=REDRUM).
2010-04-11 10:40:36 -07:00
Brendan Eich
d5d7609fb6
Cope with stillborn Iterators (558619, r=dvander).
2010-04-10 23:47:43 -07:00
Dave Herman
ed6c552bb7
Bug 558437 - rename JSCompiler to js::Parser (r=brendan).
2010-04-10 21:15:35 -07:00
Brendan Eich
1a7721a4d3
Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander).
2010-04-10 20:53:11 -07:00
Andreas Gal
a887d81302
Inline the object allocation path (558003, r=sayrer).
2010-04-10 16:16:35 -07:00
Andreas Gal
f39c969eaa
Remove gcIteratorTable (557914, r=brendan).
2010-04-10 16:08:14 -07:00
Siddharth Agarwal
3335c5f88d
Bug 558887 - VC10: nsinstall.exe doesn't get a manifest. Copy the logic over from $(PROGRAM) to $(HOST_PROGRAM). r=bsmedberg
2010-04-13 14:18:19 +05:30
Jesse Ruderman
f1675a824a
This test doesn't need to open a new window. (May 'fix' orange bug 558581.)
2010-04-12 23:48:06 -07:00
Nicholas Nethercote
3a4a3d6046
Bug 557991 - nanojit: remove dead code from CodeAlloc. r=edwsmith.
...
--HG--
extra : convert_revision : 335ca0fff2a7ac451d0fa1c11594f6dbacada648
2010-04-08 18:33:21 -07:00
Edwin Smith
e802c1ac07
Suppress unused arg warnings for bug 557843 (r=me.)
...
Took the opportunity to add a few asserts to ensure the implit RHS
register for x86 shift instructions is always ECX.
--HG--
extra : convert_revision : 6baccc0354a87ece92ccff6ff138986bf4d19a2c
2010-04-08 12:58:49 -04:00
Rick Reitmaier
8e2e572dea
Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote)
...
if LogControl.printf is made a virtual method then consumers of nanojit can
more easily control how the output is managed.
--HG--
extra : convert_revision : 7fa9ad2e2d57661e4290df0b3902fd809f19d768
2010-04-07 09:54:30 -07:00
Robert O'Callahan
02c1f154fc
Backing out fix for bug 560358 to fix regressions and test failures (see bug 561700) a=philor
2010-04-26 19:12:13 +12:00
Robert O'Callahan
fdc17c7a0b
Backed out changeset 35c25547a135
2010-04-26 19:10:42 +12:00
Andreas Gal
d7cc7de1f9
Don't save static RegExp state across lambda replace calls (560358, r=brendan).
2010-04-21 22:39:05 -07:00
Nicholas Nethercote
9fdb34cc4b
Bug 560160 - nanojit: rename LOpcode-related names (TM-specific part). r=gal.
2010-04-21 21:42:19 -07:00
Nicholas Nethercote
844edf5051
Update nanojit-import-rev stamp.
2010-04-21 21:34:39 -07:00
Nicholas Nethercote
0ca74ddded
Bug 560160 - nanojit: rename LOpcode-related names. r=edwsmith.
...
--HG--
extra : convert_revision : 234af92683dad306d03911975b0e9afc57936cf5
2010-04-21 19:34:46 -07:00
Nicholas Nethercote
b81fd327dc
Update nanojit-import-rev stamp.
2010-04-21 18:29:59 -07:00
Nicholas Nethercote
42b15a4cbf
Avoid compiler warnings. r=me.
...
--HG--
extra : convert_revision : a33a817354bebed12877a0e6ab4c42729ec3c8c7
2010-04-21 18:28:35 -07:00
Nicholas Nethercote
df3508698d
Update nanojit-import-rev stamp.
2010-04-21 18:27:26 -07:00
Nicholas Nethercote
6f79c542f7
Fix lirasm test bustage for bugs 555633, bug 557877. r=me.
...
--HG--
extra : convert_revision : e32efa20605d847ee01fe0ec1f70bdbb101ae446
2010-04-21 18:21:06 -07:00
Edwin Smith
c25f6733ba
Rename LIR opcodes once more, using new C convention (bugs 555633, bug 557877 r=nnethercote+)
...
This patch un-does the intel names that have been used so far within
nanojit, updates the aliases in LIR.h, and fixes the names used in
lirasm tests.
Host VM's will need to run rename_LIR.pl from bug 504506 if they have
already begun using the intel names; aliases are not provided for them in LIR.h.
--HG--
extra : convert_revision : 2787af46329c72796954ddb68f53326f0de661e4
2010-04-21 21:13:17 -04:00
Edwin Smith
4754b03126
Fix vprof bustage (bug 560683 r=edwsmith)
...
--HG--
extra : convert_revision : ea5ee8ca471bfc5b183a42d6b60e778067697c6e
2010-04-21 11:41:05 -04:00
Chris Dearman
48ef0e6d48
Bug 558813 - [MIPS] running tamarin as3/Vector/ acceptance testcases produces an assert (r=edwsmith)
...
--HG--
extra : convert_revision : 25449d23ba02a99a502c06ffc0565f87376a3e7e
2010-04-21 09:16:18 -04:00
Chris Dearman
e3c19557be
Bug 551165 - Unable to compile MIPS nanojit backend (r=edwsmith+)
...
--HG--
extra : convert_revision : 7d9635ba36b214f707cf426b7b414cde99738048
2010-04-21 09:14:14 -04:00
Nicholas Nethercote
dba392140f
Bug 559719 - nanojit: tweak LIns::lastWord. r=edwsmith.
...
--HG--
extra : convert_revision : 3f81d8a5f0515f891eac0c8821370d4309787483
2010-04-20 17:51:50 -07:00
Jeff Walden
854a499a28
Followup orange fix, had these fixed in one tree but not the one from which I pushed the changes... r=waylon
2010-04-21 17:34:55 -07:00
David Anderson
a2978a2dfe
Merge backout.
2010-04-21 16:30:39 -07:00
David Anderson
e87d0a0586
Backed out changeset 4a28bd424400 (tinderbox red).
2010-04-21 16:30:06 -07:00
Mike Moenig
c846c95336
Support custom allocators (bug 549532 relanding, r=dvander).
2010-04-21 13:59:33 -07:00
David Anderson
6998008b3d
Rename test case for correct bug number (no bug, r=me).
...
--HG--
rename : js/src/trace-test/tests/basic/bug557481.js => js/src/trace-test/tests/basic/bug557841.js
2010-04-21 12:08:37 -07:00
David Mandelin
e0c8df3e9e
Bug 558531: fix typo in JS_ResolveStandardClass, r=waldo
2010-04-21 11:37:18 -07:00
Jeff Walden
1cc3139d32
Bug 558541 - Simplify some code in js_SetPropertyHelper to make it more understandable. r=jorendorff
...
--HG--
extra : rebase_source : 145820b9d09adf634220db05cbfabc698c1fcb16
2010-04-13 13:34:31 -07:00
Jeff Walden
4b9b1d8e68
Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke
...
--HG--
extra : rebase_source : b3c47f5fdd0fcb52f68876e9a4fab16143c16901
2010-04-17 03:19:33 -07:00
timeless@mozdev.org
b6d8489306
Bug 560126 - funobj is uselessly set in WrapFunction, r=mrbkap
...
--HG--
extra : rebase_source : a0277ef8df513601f0523974511e88beb7930bf1
2010-04-19 00:26:00 -07:00
Robert Sayre
c55787e463
Merge tracemonkey to mozilla-central. a=1hr
2010-04-25 08:59:57 -04:00
Andreas Gal
92692442a2
optimize JSON stringify. bug 561592. r=dvander
2010-04-25 08:51:05 -04:00
Uli Link
c658bf1ad6
Bug 501881 Implement 64-bit-safe AIX version of NativeCompareAndSwap r=wtc,jimb a=meter
2010-04-25 12:09:38 +01:00
Igor Bukanov
45a0a3043e
bug 560471 - followup to fix restoration of weak roots
2010-04-24 20:35:50 +02:00
Robert Sayre
27452b9484
Bug 560650 - TM: json code should use JS_Enumerate. r=gal
2010-04-24 14:18:10 -04:00
Robert Sayre
0f0d2ffdf7
Merge mozilla-central to tracemonkey.
2010-04-24 12:56:26 -04:00
Robert Sayre
28b49c1237
Someone should teach me to write JavaScript. Really fix busted test from Bug 558830 - Trace script getters.
2010-04-24 12:09:16 -04:00
Robert Sayre
784972fd0a
Fix busted test from Bug 558830 - Trace script getters.
2010-04-24 11:55:10 -04:00
Andreas Gal
3b9cb33abc
Merge.
2010-04-23 20:49:28 -07:00
Andreas Gal
df7122d975
backing out clean up bug 560167 due to massive conflicts with the iterator patch
2010-04-23 20:49:06 -07:00
Igor Bukanov
d14ffdc7bb
bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff
2010-04-24 00:15:42 +02:00
Jason Orendorff
d51bc30112
Disable jsreftest js1_5_8/extensions/worker-fib.js which randomly hangs in the browser. r=sayrer.
2010-04-23 13:30:20 -05:00
Jason Orendorff
374c216eaf
Merge.
2010-04-23 13:20:23 -05:00
Chris Leary
a45026d2f5
Bug 558971 - Parser arena allocation overhead is too high. r=sayrer/shaver
2010-04-23 08:40:57 -04:00
Robert Sayre
9d1f00ac50
Merge
2010-04-23 08:31:07 -04:00
Robert Sayre
3b5eb1cf6b
Backed out changeset 1af19eedbde2 -- Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-23 08:30:35 -04:00
Igor Bukanov
8a04b0f372
bug 559141 - replacing GC chunk doubly linked list with js::vector. r=gal
2010-04-23 08:58:44 +02:00
Brian Crowder
cdec52dab6
Bug 560769 - fixing badness accessing /proc/self/auxv under qemu, r=vlad, a=dholbert
2010-04-23 12:58:38 -07:00
Brendan Eich
86d3fb47ad
Fix sharpSlots vs. with grudge-match (561011, r=mrbkap).
2010-04-22 19:03:45 -07:00
Brendan Eich
298a4cad15
Tweak to align comment.
2010-04-22 17:45:49 -07:00
Nicholas Nethercote
ae33f2eadd
merge
2010-04-22 16:38:46 -07:00
Nicholas Nethercote
a46ca032d4
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject. r=brendan.
2010-04-22 16:37:41 -07:00
David Mandelin
966e6ad195
Bug 554224: Normalize paths so regress-50447-1 works on Windows, r=waldo
...
--HG--
extra : rebase_source : d4a5fe9e6f01cb48c3c89bc1ab8f692d44e18eb2
2010-04-22 16:14:57 -07:00
Jeff Walden
83733065a4
Oops, previous changeset 350ed77bf399 to fix bug 463360 was a patch by Rasmus Jensen.
2010-04-22 15:59:09 -07:00
Jeff Walden
099b68ff0e
Bug 463360 - Uneval then eval E4X with { gives error. r=jwalden
2010-04-22 15:15:55 -07:00
Jason Orendorff
6b63be3117
Bug 558830 - Trace script getters. r=brendan.
...
--HG--
extra : rebase_source : 240b5a7248165aefdc9527abc94902afe4b510e0
2010-04-22 17:10:38 -05:00
Jason Orendorff
a0222dfbf2
Bug 561031 - Treat JSOP_FILTER as a jump. r=brendan.
...
--HG--
extra : rebase_source : 9b8430b57cbe41407709dc6ffa244a81a112878d
2010-04-22 14:53:26 -05:00
David Anderson
ab155f0037
Renamed InterpState to TracerState (bug 560988, r=luke).
2010-04-22 11:54:11 -07:00
Jason Orendorff
bb10846365
Merge.
2010-04-22 09:22:20 -05:00
Igor Bukanov
e2ca45751b
bug 507904 - removal of bogus assert in the watchpoint implementation. r=brendan
2010-04-22 15:23:57 +02:00
Jason Orendorff
b09c08d4fc
Bug 553671 part 12 - Handle GC_KEEP_ATOMS more directly. r=brendan.
...
--HG--
extra : rebase_source : 8540b1e79bf1c187e59cadd7cced1b2e16b8d31d
2010-04-22 07:38:05 -05:00
Jason Orendorff
9f2ca7c221
Bug 553671 part 11 - Refactor GCTIMER to disrupt the flow of js_GC less. r=luke.
...
--HG--
extra : rebase_source : 2e407cc3bd6798e15c42b25f744fd1d0b6146046
2010-04-22 07:35:21 -05:00
Jason Orendorff
e3724fb9c0
Bug 553671 part 10 - Get rid of "goto restart_at_beginning;". r=luke.
...
--HG--
extra : rebase_source : 9d0128640af7d366133d59fed9c21160078ba5ca
2010-04-22 07:34:28 -05:00
Jason Orendorff
ac7bf3b598
Bug 553671 part 9 - Extract ProcessAllSetSlotRequests from js_GC. r=Waldo.
...
--HG--
extra : rebase_source : 920c2465f4a498d679b89811b0969e4cd6674580
2010-04-22 07:32:13 -05:00
Jason Orendorff
e6c90916d4
Bug 553671 part 8 - Reimplement promotion of GC_SET_SLOT_REQUEST to GC_LOCK_HELD and get rid of "goto done_running;". r=brendan.
...
--HG--
extra : rebase_source : ce19741b5ea204b6f11e55e66a47363e9577caf3
2010-04-22 07:31:05 -05:00
Jason Orendorff
9dbcfca307
Bug 553671 part 7 - Extract BeginGCSession and EndGCSession from js_GC. r=brendan.
...
--HG--
extra : rebase_source : dbb134d66d403bf5665b94a5ab03ff86d681fb73
2010-04-22 07:31:00 -05:00
Boris Zbarsky
2beee9dbfb
Bug 557605. Quickstub some XHR things. r=peterv
2010-04-23 13:37:02 -04:00
Robert O'Callahan
75dc672dff
Backed out changeset 7432d20f5b86
2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0
Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst
2010-04-23 14:43:23 +12:00
Wesley W. Garland
d7f9e41759
Bug 560504 - Tweak friend class declaration in jsparse.h to work around compiler bug in Mac OS X Leopard's default compiler. r=jorendorff.
...
--HG--
extra : rebase_source : 164c7d281ec50463f36878e5fe29b30e2ac9e896
2010-04-21 10:54:25 -05:00
Jeff Walden
28d55d50d4
Bug 560566 - "Assertion failure: getter" redefining property that's not the most recent property in an object whose scope is not in dictionary mode, when the original property was a half-accessor with an explicitly undefined absent half, and the new property is also an accessor and does not modify the explicitly undefined half of the original half-accessor. r=dmandelin
2010-04-20 17:52:43 -07:00
Olli Pettay
e160f61e8a
Bug 557757, e10s is burning
2010-04-07 12:26:36 +03:00
Oleg Romashin
8de514e284
Merged with mozilla-central
2010-04-07 06:59:04 -04:00
Ben Newman
86093aaf1c
Bug 554942 - [E10s] Sort out what object TabParent::GetGlobalJSObject should return and how. r=smaug
2010-03-30 21:41:44 -07:00
Ben Newman
2f88529adf
Bug 554829 - Null out mozilla::jsipc::ObjectWrapperParent::mObj in ActorDestroy and CPOW_Finalize. r=smaug
2010-03-30 21:40:58 -07:00
Olli Pettay
b4a11d8557
Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman
2010-03-29 23:29:45 +03:00
Olli Pettay
de7b07408d
backout Bug 554941 again
2010-03-28 20:07:16 +03:00
Olli Pettay
9a1e450904
Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman
2010-03-28 19:02:05 +03:00
Olli Pettay
d0ab5348f1
Backout Bug 554941
2010-03-28 00:58:49 +02:00
Olli Pettay
7dbad85a52
Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman
2010-03-27 18:54:57 +02:00
Doug Turner
c15f159231
merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp.
2010-03-26 14:22:48 -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
Michael Wu
08910614d8
Make test_bogus_files.js pass after bug 552121 c666507bf280
2010-06-15 14:09:59 -07:00
Michael Wu
17f4cad812
Bug 552121 - Load js modules and components from the omnijar [7/7], r=bsmedberg
2010-06-15 12:38:46 -07:00
Blake Kaplan
3894ad4702
Bug 565351 - Disallow passing E4X values through SJOWs. r=jst
...
--HG--
extra : rebase_source : 4fa7a248aed479530b76c043b6ea322300740610
2010-06-14 14:30:58 -07:00
Blake Kaplan
323d7745be
Bug 564330 - Throw an exception for real when an E4X object is passed to a variant through a quickstub. r=peterv
...
--HG--
extra : rebase_source : f3ac8865985737756006b6843a5bb455656c07ea
2010-05-13 14:35:01 -07:00
Peter Van der Beken
44957eec6d
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 4 - need different XPCNativeScriptableShareds for CI with different interface bitmaps. r=jst.
2010-06-10 12:22:15 +02:00
Peter Van der Beken
093288d17e
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3b - use fast unwrapping for nsIDOMNodeList_GetLength. r=jst.
2010-05-31 18:39:36 +02:00
Harry Li
de7e090e6f
Bug 571751 - android build broken in jscntxt.cpp, r=gal
...
--HG--
extra : rebase_source : 91a9bf3acf3b21741ed74e7f044d95d3e38d1cfd
2010-06-14 13:33:30 -07:00
Kyle Huey
27bc0ae3e6
Backing out Bug 531886 to fix l10n builds.
2010-06-14 11:16:43 -07:00
Kyle Huey
1fd06013ed
Backed out changeset f7323647892a
2010-06-14 11:14:36 -07:00
Benedict Hsieh
e801a49643
Bug 531886 - [regression] *.mfasl fastload caches not invalidated after build / changing XUL/JS code. r=bsmedberg
2010-06-11 12:02:13 -07:00
Jesse Ruderman
e2812717d4
Disable some misplaced perf tests because they are randomly orange.
2010-06-10 20:33:32 -07:00
Blake Kaplan
d85ecf0625
Fix bug 567069. r=jorendorff/luke
2010-06-10 10:48:59 -07:00
Blake Kaplan
24c04cbd78
Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky
2010-03-22 15:46:37 -07:00
Michael Kohler
9397418412
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Mike Hommey
dce0218e52
Bug 555920 - Move js_obj_define{G,S}etter declarations in jsobj.h and make resolving_MatchEntry static, as it's not defined in any header [r=jwalden]
2010-05-13 09:45:33 +02:00
Mike Hommey
3d0e73c0f1
Bug 555915 - Avoid visibility issues when building xpcshell with libreadline [r=jwalden]
2010-05-13 09:06:13 +02:00
Daniel Holbert
e9dcbfb120
Bug 557566, part 1: Add Makefile-variable FAIL_ON_WARNINGS (and debug-only version FAIL_ON_WARNINGS_DEBUG). r=ted
2010-05-06 11:55:18 -07:00
Serge Gautherie
0d07262f2c
Bug 559498 - configure.in: s/--enable-long-long-warning/--disable-long-long-warning/; (Av1) Just do it, Re-indent++ this block.
...
r=ted.mielczarek.
2010-05-06 18:35:11 +02:00
Robert Sayre
0ebb9c1370
Merge tracemonkey to mozilla-central.
2010-05-06 08:50:41 -04:00
Mike Hommey
ce41784187
Bug 542460 - Remove executable permission on source files [r=ted.mielczarek]
2010-05-06 09:32:50 +02:00
Taras Glek
16c05a23d9
Bug 418866 - Set the proper gcc flags for pgo on Linux [r=ted.mielczarek]
2010-05-06 09:26:05 +02:00
Ginn Chen
9df652824c
Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek
2010-05-06 13:49:27 +08:00
Blake Kaplan
4801a2f799
Bug 560351 - Don't forget to actually throw the exception. r=peterv
...
--HG--
extra : rebase_source : 92f95ae32314cd74975dc2a932f67e617b4a7772
2010-05-05 20:44:30 -07:00
Blake Kaplan
a0ccea7552
Bug 558540 - about:sessionrestore asserts because of the wrong wrapper types. r=jst
...
--HG--
extra : rebase_source : dcf0256b25620953fd3bfefacc56814bbb2d519c
2010-05-05 17:28:58 -07:00
L. David Baron
62aefa3109
Back out temporary debugging code for bug 538462 (changesets 1e383909069b and f5c479a8f631).
2010-05-05 18:20:43 -07:00
L. David Baron
06913598cc
Move temporary debugging code for bug 538462 to where it's more likely to work when we leak the world.
2010-05-05 12:39:44 -07:00
Blake Kaplan
5acba45793
Fix bug 563243. r=jorendorff
...
--HG--
extra : rebase_source : 4d0b7a62b0b1c458e2bb7f109e98da604ecba03a
2010-05-03 15:23:01 -07:00
Nicholas Nethercote
c346baf81a
Bug 562857 - TM: use LIR_d2i instead of js_DoubleToInt32() when possible. r=gal.
2010-05-05 16:50:50 -07:00
Dan Witte
c9d150350d
Fix crash.
2010-05-05 15:57:34 -07:00
Chris Leary
cc14df4238
Bug 563870: Fix dtrace linker error. (r=dvander)
2010-05-05 15:32:47 -07:00
Chris Leary
50beb5729a
Bug 551763: Fix deletion of arguments ident. (r=Waldo)
2010-05-05 15:20:12 -07:00
Chris Leary
a95aefcc00
Bug 556657: Fix test description. (r=Waldo)
2010-05-05 14:04:16 -07:00
Dan Witte
41ff4ffb81
Address review comment from bug 551982. r=benjamn
2010-05-05 12:01:28 -07:00
David Mandelin
ab14aefcb3
Bug 563842: Make PRMJ_Now always high-resolution in Windows shell builds, r=brendan
2010-05-04 18:06:30 -07:00
Luke Wagner
500101d1a4
Bug 563845 - skip jsval-to-jsid conversion when jsval is a jsid (r=igor)
2010-05-04 18:24:13 -07:00
Nicholas Nethercote
f824f9ebe3
Bug 563575 - encapsulate jsobj.cpp dslots accesses. r=brendan.
2010-05-04 20:28:38 -07:00
Jeff Walden
be6a021e8a
Slightly better single-thread fix to parent() in jsshell. r=foopy
2010-05-04 19:50:53 -07:00
Chris Leary
b3500c2d9e
Fix shell build break on non-threadsafe. (r=me)
2010-05-04 19:34:21 -07:00
Jeff Walden
2a594e3393
Fix bustage from not renaming a variable appropriately in a copy-paste. r=red
2010-05-04 18:27:50 -07:00
Jeff Walden
3fa134bbc4
Outerize the results of nsIDOMWindowUtils.getParent and the jsshell's parent() methods. r=orange
...
--HG--
extra : rebase_source : 848ad247e5094b6eb8edce6198bfb1d368c31bc3
2010-05-04 18:02:00 -07:00
Nicholas Nethercote
45f5c025d0
Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan.
2010-05-04 17:29:42 -07:00
Nicholas Nethercote
96dfc02296
Bug 563590 - TM: rename opcodes in jsregexp.cpp, jsrecursion.cpp. r=dvander.
2010-05-04 16:26:18 -07:00
Jeff Walden
2eb97e810d
Bug 552560 - Test fixups/removals since parent() exists only in the shell, not the browser. r=mrbkap
2010-05-04 15:59:20 -07:00
Jason Orendorff
62bf5ca9d8
Bug 563221 - "Assertion failure: ss->top >= nuses," or "Assertion failure: top != 0," with decompiler, if-else chain, and GOTOX. r=brendan.
...
--HG--
extra : rebase_source : b085564d7569fceb144193da4b93054b6ddbdadc
2010-05-04 16:38:47 -05:00
Peter Van der Beken
a64d376e9c
Part 13 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - stop using tearoffs from quickstubs for nsIDOM3Node, nsIDOM3Text, nsIDOMNodeSelector and nsIDOMNSElement. r=jst.
...
--HG--
extra : rebase_source : fbc8a48c0efb5d6700ec981f7d4da3434f306e9d
2010-04-19 17:41:38 +02:00
Peter Van der Beken
02d491203e
Part 12 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - switch default 'canFail' value for custom QS from False to True and allow missing 'code'. r=jst.
...
--HG--
extra : rebase_source : d5d5cd5c863856176b77a82309bb9a029d84b224
2010-04-19 17:41:38 +02:00
Jeff Walden
00f6066393
Bug 552560 - Remove support for __parent__. r=mrbkap
2010-04-11 13:51:00 -07:00
Jeff Walden
aea2277c5b
Fix typo in patch for bug 562193, r=firebot
2010-04-28 15:54:28 -07:00
Jeff Walden
35681447d7
Bug 560566 - Add this particular failure mode to the Object.defineProperty megatests. r=jorendorff
2010-04-22 18:53:54 -07:00
Luke Wagner
4daf5e05b2
Bug 563374 - clear exceptions thrown during js_TraceOpcode (r=igor)
...
--HG--
extra : rebase_source : 24db0cc50d368dc56aa4a44971f56ea0521b6fa9
2010-05-04 10:12:50 -07:00
David Anderson
d1db88e05e
Pretty-up some tcflag use in the parser and emitter (bug 563568, r=cdleary).
2010-05-03 20:53:55 -07:00
Dan Witte
e7cac15e98
Bug 551982 - Generate t.name and t.fields lazily. Part 4: hashify StructType fields. r=benjamn
2010-05-03 16:49:53 -07:00
Dan Witte
7124fa12fa
Bug 551982 - Generate t.name and t.fields lazily. Part 3: lazy ffi_type. r=benjamn
2010-05-03 16:26:50 -07:00
Dan Witte
7e227a70cd
Bug 551982 - Generate t.name and t.fields lazily. Part 2: lazy fields. r=benjamn
2010-05-03 16:26:34 -07:00
Dan Witte
30c5f4ac45
Bug 551982 - Generate t.name and t.fields lazily. Part 1: lazy name. r=benjamn
2010-05-03 16:21:33 -07:00
Dan Witte
70dd2657d6
Bug 560002 - Opaque struct and definition support in ctypes. Part 2: Remove opaque pointers. r=benjamn
2010-05-03 16:20:43 -07:00
Dan Witte
91a57c32a3
Bug 560002 - Opaque struct and definition support in ctypes. Part 1: Opaque structs. r=benjamn
2010-05-03 16:20:05 -07:00
Jason Orendorff
3a2ba42072
Bug 492915 - Trace incelem/decelem/eleminc/elemdec for objects other than arrays. r=brendan.
...
--HG--
extra : rebase_source : 33ab817997096bd4b00c8a36bb0444dcacc58a27
2010-05-03 16:48:06 -05:00
Nicholas Nethercote
67b2684e4d
Bug 562837 - TM: avoid reboxing when copying a double from one array to another. r=brendan.
2010-05-03 15:51:57 -07:00
Jesse Ruderman
21d9a292ac
Bug 563077 - fix handling of tests marked as 'random' so crashes are reported. r=dmandelin
2010-05-03 15:25:57 -07:00
Robert Sayre
1e491a700b
Merge.
2010-05-03 12:32:11 -04:00
Robert Sayre
df21a4aa06
Update dense array cloning with new factoring of getDenseArrayCapacity
2010-05-03 11:19:45 -04:00
Robert Sayre
2a89b5be4f
Merge mozilla-central to tracemonkey.
2010-05-03 11:03:37 -04:00
Nicholas Nethercote
1cd832e8d3
Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan.
2010-05-02 21:42:09 -07:00
Chris Leary
8ad3f63e27
Bug 563259: Fix shark/dtrace enabled combo. (r=me)
2010-05-02 17:14:44 -07:00
Luke Wagner
501ef0e6be
Bug 563167 - propagate error out of Parse (r=cdleary)
2010-05-02 10:24:17 -07:00
Luke Wagner
d57afd3b99
Missed an init() in c6857d0b1e9f
2010-05-01 13:32:10 -07:00
Luke Wagner
e4ed25e94a
Bug 563123 - use js::HashMap for JSCodeGenerator::constList (r=igor)
2010-05-01 12:53:14 -07:00
Luke Wagner
006a3618d0
Bug 563120 - test for failure earlier in js_TestXMLEquality (r=waldo)
2010-05-01 12:43:43 -07:00
Luke Wagner
309fb820c6
Bug 558270 - unroll Duff proper (r=waldo)
2010-04-30 18:48:55 -07:00
Robert Sayre
2420e05a4d
Merge mozilla-central to tracemonkey
2010-04-28 11:11:48 -04:00
Igor Bukanov
fd7877710b
bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan
2010-04-28 14:34:02 +02:00
Ginn Chen
1ffaf7e1a0
Bug 562001 nanojit failed to compile on Solaris x86_64 r=gal
2010-04-28 17:36:04 +08:00
Gary Kwong
92900e0049
Bug 369696 - fix bug number in tests, r=bclary.
2010-04-28 00:00:08 -07:00
Brendan Eich
58024b9de2
Resolve sharpSlots vs. var-in-with grudge match (561011, r=mrbkap).
2010-04-27 21:35:28 -07:00
Brendan Eich
da0855921b
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets, but note second offset is optional (0 if absent; 562028, r=mrbkap).
2010-04-27 21:00:38 -07:00
Brendan Eich
8f2ea46da7
Back out my last commit due to orange.
2010-04-27 20:22:57 -07:00
Nicholas Nethercote
70488c788b
Update nanojit-import-rev stamp.
2010-04-27 19:46:18 -07:00
Nicholas Nethercote
3b86611069
Bug 560712 - nanojit: give immediates names when printing LIR. r=edwsmith.
...
--HG--
extra : convert_revision : 53522168256873ff92a5cf1668d3ef8e65a87f38
2010-04-27 18:40:51 -07:00
Edwin Smith
842b6c912b
Rename LIR opcodes in Nativei386.cpp (bug 559977 r=nnethercote+)
...
--HG--
extra : convert_revision : 62e0adc4d69e1d2246ee9336afd555ee3f6766a0
2010-04-27 20:05:58 -04:00
Brendan Eich
cac58870b8
Use same source note offset bias/origin for both of SRC_IF_ELSE's offsets (562028, r=mrbkap).
2010-04-27 19:41:20 -07:00
David Anderson
764d88c18d
Fixed clamping bug in typed arrays (bug 561813, r=vlad).
2010-04-27 19:14:08 -07:00
Nicholas Nethercote
9281bf99d1
Update nanojit-import-rev stamp.
2010-04-27 16:33:36 -07:00
Nicholas Nethercote
42510923d1
Fix ARM bustage caused by bug 555255. r=me.
...
--HG--
extra : convert_revision : fd2a6c5b65a0f4fd4e09fa0366a626e97850f39b
2010-04-27 15:41:17 -07:00
Nicholas Nethercote
03c04769c0
Bug 518267 - nanojit: some instructions not printed with TMFLAGS=assembly. r=edwsmith.
...
--HG--
extra : convert_revision : 118664704b902286b9b21a35e3a998685980066a
2010-04-27 15:31:31 -07:00
Edwin Smith
3394d89548
Rematerialize add(r,imm) operations on x64 and i386 (bug 555255 r=nnethercote+)
...
This patch detects when LEA can be used to rematerialize an add operation
instead of spilling it. Sub and lsh could be supported too, if it would
help (see notes in canRematLEA()).
--HG--
extra : convert_revision : e5db9525afbc8bd03444c66d8ded420f4696dce8
2010-04-27 10:00:27 -04:00
Edwin Smith
583621bba8
Rematerialize ALU+IMM operations on ARM (bug 555255 r=jbramley+)
...
The ARM backend already supported single-instruction folding of immediates into
add/sub/and/or/xor instructions. This patch enables the same instructions to
be rematerialized without spilling them.
--HG--
extra : convert_revision : c5fca9078e37d7d79f66cf6023fcbf707d11d57b
2010-04-27 09:38:27 -04:00
Jason Orendorff
5f8646753d
Follow-up to rev bed748189cd0 to fix a compiler warning. r=njn via IRC.
2010-04-27 17:43:20 -05:00
timeless
e191f26d48
Bug 560138 - mismatch use of new[] with delete in CData::Create. r=dwitte
2010-04-27 14:59:53 -07:00
Mike Moening
6531928c72
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-27 14:17:11 -07:00
Jason Orendorff
4dd095ebe7
Fix build breakage in non-threadsafe JS shell. rs=brendan on IRC.
...
--HG--
extra : rebase_source : e4320a71553033d06f5e8ffa62a9798db9bef3e1
2010-04-27 14:40:28 -05:00
Jason Orendorff
79a69bd910
Bug 561444 - "Assertion failure: title->ownercx == cx || title->ownercx->thread == cx->thread, at ../jslock.cpp:1414" with multiple threads. r=igor.
...
--HG--
extra : rebase_source : 6749f4b86999cffc1abdcad79ef45f764ba165c2
2010-04-27 12:29:45 -05:00
timeless@mozdev.org
7a6e1325ab
Bug 560557 - js_SetReservedSlot should assert that the specified slot index is in range. r=jorendorff.
...
--HG--
extra : rebase_source : b13f176270bd3419c253b8745c00a9251f36ab76
2010-04-23 21:32:51 -05:00
Jason Orendorff
d7438ec267
In a trace-test, do not try to print jitstats. no_r=me.
...
--HG--
extra : rebase_source : 6447c98085459bd7fc6b215279a9d5e1870d46ba
2010-04-26 16:28:41 -05:00
timeless@mozdev.org
ca917d7197
Bug 560815 - PRIVATE_TO_JSVAL(NULL) yields warning: NULL used in arithmetic with gcc 4.2.1. r=jorendorff.
...
--HG--
extra : rebase_source : bbbf5e801b7ae5bc0c7c30864e487a03ddcf72fc
2010-04-23 20:17:36 -05:00
Igor Bukanov
63f9c2e3d5
bug 553033 - replacing the background free list with a vector. r=jwalden
2010-04-27 15:46:24 +02:00
Jacob Bramley
1b4d13bc74
Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad]
2010-04-27 08:31:36 +01:00
Jason Orendorff
fe3e820003
Fixed assert-botch with tracer and XML objects (bug 560101, r=waldo).
2010-04-26 22:35:49 -07:00
Nicholas Nethercote
ea19cd5226
Update nanojit-import-rev stamp.
2010-04-26 22:08:05 -07:00
Nicholas Nethercote
756a66a5ce
Follow-up to bug 561182: move CseFilter methods together. r=rreitmai.
...
--HG--
extra : convert_revision : 8632b24edcba6eb08afe5002611fbea782d1f435
2010-04-26 21:59:48 -07:00
Nicholas Nethercote
05c2de7b5b
Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
...
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Edwin Smith
069062a9f7
Fixed whitespace drift.
...
--HG--
extra : convert_revision : e2770eef5208a99078207d999ba2d84346651db8
2010-04-26 10:53:32 -04:00
Rick Reitmaier
f4ea1cc587
fix PPC debug-only build breakage
...
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d61f88a164
Bug 560370 - PPC cmov handling logic incorrect (r+edwsmith)
...
On PPC the cmov logic is generating incorrect code due to
instruction and register lifetimes are not being correctly
handled.
This patch mirrors the code used on the x86 which was fixed
a while back to address this issue. See bug 535705
--HG--
extra : convert_revision : 8047bc5db3b14ddc3588378c7f4c6fef76de7d98
2010-04-23 09:24:00 -07:00
Edwin Smith
e927108ae7
Bug 560578 - canRemat() and asm_restore() should agree (r=nnethercote+)
...
Added comments clarifying the contract between canRemat() and asm_restore(),
and fixed the ARM, MIPS, PPC, and Sparc backends so canRemat() doesn't
return true for instructions that asm_restore() doesn't handle.
--HG--
extra : convert_revision : f4d4243db4cf3b8d7149012d5503c5441058f58e
2010-04-23 10:26:12 -04:00
Edwin Smith
3633f63957
Revert rename bustage in NativePPC.cpp (bug 560160 r=me)
...
--HG--
extra : convert_revision : cc043e6b70383762025e239896cbd70d5ece8697
2010-04-22 13:04:24 -04:00
David Anderson
dac6f52234
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:29:49 -07:00
Andreas Gal
3579b2b1fb
Merge.
2010-04-26 19:07:10 -07:00
Andreas Gal
492ea75049
Backed out changeset 35c25547a135 (bug 560358).
2010-04-26 19:06:51 -07:00
Nicholas Nethercote
1e5fc26c40
Bug 560774 - encapsulate array-related dslots accesses. r=brendan.
2010-04-26 18:33:36 -07:00
Dan Witte
fdcf03a939
Backing out due to bustage.
2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-26 14:15:18 -07:00
Jesse Ruderman
b4e32e7695
Bug 561672 - JS_Assert should fflush(stderr). r=shaver
2010-04-26 13:50:56 -07:00
Dan Witte
774f39c786
Bug 561619 - JS CTypes has a build dependency bug. r=sayrer
2010-04-26 13:26:53 -07:00
Luke Wagner
ef023c4ec7
Bug 560798 - propagate errors from deep-aborted natives (r=gal)
2010-04-26 09:30:06 -07:00
Boris Zbarsky
bf168b819d
Bug 556830 followup to fix debug bustage
2010-04-26 11:15:33 -04:00
Boris Zbarsky
f66b8a1342
Bug 556830 part 2. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff
2010-04-26 10:06:30 -04:00
Boris Zbarsky
d319faf7ba
Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff
2010-04-26 10:06:25 -04:00
Ginn Chen
691ed684d6
Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb
2010-04-26 14:17:29 +08:00
Peter Van der Beken
3fcb7546e7
Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
...
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
L. David Baron
cd80341304
Annotate jsreftest manifests with assertion counts. (Bug 472557)
2010-05-04 21:28:18 -07:00
Jason Orendorff
afeaf2a57a
Bug 563735 - Assertion failure: JS_IS_SCOPE_LOCKED(cx, scope) on crashtest machine. r=dvander.
2010-05-04 14:57:27 -05:00