Shu-yu Guo
2b93bd42c6
Fix opcode metadata counting for property and element ops, bug 717988. r=bhackett
2012-01-13 17:47:59 -08:00
Brian Hackett
ab5e7ca098
Mark types for second value pushed by JSOP_CALLXMLNAME, bug 717252. r=dvander
2012-01-13 17:45:11 -08:00
Brian Hackett
a1b0adbd07
Merge.
2012-01-13 17:40:14 -08:00
Chris Leary
a10c63191a
Back out b36175bbda47.
...
--HG--
extra : rebase_source : 927a14ed70c37c654b53145a71d2f88be139a9b9
2012-01-13 17:35:10 -08:00
Brian Hackett
03bf17a000
Don't clobber compared FP registers when syncing before a double comparison, bug 716119. r=dvander
2012-01-13 13:18:51 -08:00
Chris Leary
b13eb597ff
Bug 717762: Proliferate js_memcpy and PodCopy. (r=luke)
2012-01-12 18:40:08 -08:00
Chao-ying Fu
668eaaca12
Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
...
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Rafael Ávila de Espíndola
3839ce2bf9
Bug 717908 - disable unreliable test. r=igor.
...
Since we use a conservative gc, this test can fail depending on the memory
layout.
--HG--
extra : rebase_source : dc0f35343a4aa2b911cb582c093a17a50289d299
2012-01-13 11:11:03 -05:00
Nathan Froyd
9818b17aa9
Bug 717501 - reduce space required by unicode tables; r=evilpie
2012-01-12 00:10:26 -05:00
Landry Breuil
0505de35cd
Bug 717733 - Fix int64 types usage in js/xpconnect, build failure on OpenBSD
...
js/xpconnect/src/XPCJSRuntime.cpp:1881:
error: invalid conversion from 'PRInt64*' to 'int64_t*'
2012-01-12 16:56:02 -05:00
Luke Wagner
375c248cc7
Bug 715561 - Don't forget to bump JSXDR_BYTECODE_VERSION! (r=jorendorff)
2012-01-12 13:41:49 -08:00
Luke Wagner
3df1272f22
Bug 715561 - Fix js_XDRStaticBlockObject to handle empty destructuring let (r=jorendorff)
2012-01-09 10:50:17 -08:00
Luke Wagner
3949e34caf
Bug 715561 - Tidy up js_XDRStaticBlockObject (r=jorendorff)
...
--HG--
extra : rebase_source : a0cdaca76ee0a475bb7592090b1e9993e662fecb
2012-01-09 10:23:38 -08:00
Brian Hackett
6cb3572422
Fix AssertValidPropertyCacheHit when called from JIT stubs, bug 717251. r=dvander
2012-01-12 08:41:09 -08:00
Brian Hackett
6bb17889c1
Avoid skipping sync code in GETPROP PIC on non-length accesses which can invoke a getter, bug 717184. r=dvander
2012-01-11 17:42:58 -08:00
Brian Hackett
9670d7193c
Account for all special CALLPROP behavior in inline cache stub, bug 717208. r=dvander
2012-01-11 17:31:41 -08:00
Luke Wagner
d1cf4b7019
Bug 714547 - SecurityWrapper should not interfere with same-document.domain access (r=mrbkap)
...
--HG--
extra : rebase_source : ffc6e1920dccdd194269fa7056113944863e0419
2012-01-09 15:32:53 -08:00
Ms2ger
5959700598
Bug 716357 - Fix license header in FilteringWrapper.cpp; r=gerv DONTBUILD
2012-01-11 17:12:21 +01:00
Brian Hackett
607fc29bf0
Fix non-threadsafe builds, no bug. r=jorendorff
2012-01-11 07:45:55 -08:00
David Rajchenbach Teller
29092f0e25
Bug 707096 - Add a public API for TypedArray / ArrayBuffer. r=dmandelin
2012-01-10 08:56:47 +01:00
Ms2ger
096afeb104
Merge m-c to m-i.
2012-01-11 12:15:35 +01:00
Ms2ger
15265252aa
Bug 332648 - Part h: Move AutoEnumStateArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
90d6724cfa
Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
5cbc546a54
Bug 332648 - Part f: Move AutoIdRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
776fd33214
Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
44ec0553bc
Bug 332648 - Part d: Move AutoStringRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
2365b12e07
Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
52641a24c5
Bug 332648 - Part b: Move AutoValueRooter to jsapi.h; r=evilpie
...
This patch also moves the MarkRuntime function into the JS namespace.
2012-01-11 09:23:08 +01:00
Ms2ger
60a7130336
Bug 332648 - Part a: Move AutoGCRooter to jsapi.h; r=evilpie
...
This also moves AutoCheckRequestDepth into jsapi.h and moves some assertions
from CHECK_REQUEST to the AutoCheckRequestDepth constructor.
2012-01-11 09:23:08 +01:00
Ms2ger
ddea4e045a
Bug 714264 - Part c: Move IterateData / CollectCompartmentStatsForRuntime / GetExplicitNonHeapForRuntime to js/MemoryMetrics.h; r=njn
...
This patch also removes those APIs exposed in js/MemoryMetrics.h that aren't
used anymore.
2012-01-11 09:23:08 +01:00
Ms2ger
b2f1e7be59
Bug 714264 - Part b: Move CompartmentStats to MemoryMetrics.h; r=njn
...
The name member is implemented as a void*, because it needs to remain an
nsCString, and as such the logic to get the name also remains in XPConnect.
2012-01-11 09:23:08 +01:00
Ms2ger
1ce4dd0b6c
Bug 714458 - Part c: Don't include jscntxt.h in xpcprivate.h; r=bholley
...
This removes the inclusion from xpcprivate.h, and adds the include to XPConnect
files that still need it, along with notes to clarify what these files need
from the include. These notes will be removed while fixing bug 677079.
2012-01-11 09:23:08 +01:00
Ms2ger
c855d0a116
Bug 714458 - Part b: Provide the thread-related APIs xpcprivate.h needs; r=igor
...
This introduces a JS_GetCurrentThread to go with the existing
JS_GetContextThread, as well as a js::GetContextThread to get at the actual
JSThread object, and inlines the only use of JS_THREAD_ID.
2012-01-11 09:23:07 +01:00
Ms2ger
ee40dcfcda
Bug 714458 - Part a: Introduce JSAPI for JSContext's second private pointer; r=Waldo
...
JSContext currently has 2 private pointers, but the JSAPI only provides access
to one of them.
2012-01-11 09:23:07 +01:00
Ms2ger
7cf1cd311b
Bug 715634 - Cleanup XPCJSContextStack; r=bholley
2012-01-11 09:23:07 +01:00
Ms2ger
9a3ffd90e9
Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo
2012-01-11 09:23:05 +01:00
Andrew McCreight
7931e8c5a7
Bug 708322 - never traverse non-gray JS Objects. r=billm
2012-01-09 12:02:25 -08:00
Kartikaya Gupta
6442f52733
Bug 715791 - Preserve line numbers when preprocessing java files as well as js files. r=ted
2012-01-05 23:32:05 -05:00
Rafael Ávila de Espíndola
157d7987b6
Bug 715528 - Drop old bits about cross compiling from ppc to x86 and default OS X for ppc. r=ted.
2012-01-10 08:29:13 -05:00
Mike Hommey
e53de290fb
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
...
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Jeff Walden
fe5b6d5df9
Fix the test for bug 715682 to use the right file name and bug number, and give it a more accurate description. r=trivial
2012-01-10 00:11:15 -06:00
Jeff Walden
0a0270cc17
Bug 715821 - Add tests for reimplementation of Object.prototype.__define[GS]etter__ in terms of Object.defineProperty. r=tests
...
--HG--
extra : rebase_source : fe221868b0aa281da44383fda7a4ef4c69156554
2012-01-09 23:12:47 -06:00
Michael Kohler
8e7d457186
Bug 711818 - MOZILLA_GUARD_OBJECT_NOTIFIER* should use a MOZ_ prefix to follow MFBT style
2012-01-10 00:29:30 -05:00
Terrence Cole
d99f31fcbe
Bug 716176 - Trigger write barriers when copying BaseShapes; r=billm
...
Since getterObj and setterObj are hidden beneath unions, we need to manually
trigger their barriers.
--HG--
extra : rebase_source : c4936795ff5afbb23b77f680a4e607a6f1b722bd
2012-01-09 16:08:24 -08:00
Daniel Holbert
a07b27d42d
Bug 716702: Fix C++-style comment in header 'jsopcode.h' that gets included in C code. r=bhackett
2012-01-09 15:45:54 -08:00
Landry Breuil
f058e16a46
Bug 714312 - Use <machine/endian.h> to get endianess on BSD systems, fixing the BSD build. r=ted
...
--HG--
extra : rebase_source : 8b418bdb2d713093d138ffed20bf1630c05f396b
2012-01-09 17:32:00 -06:00
Jeff Walden
fde536732b
Bug 715821 - Make Object.prototype.__defineGetter__ and Object.prototype.__defineSetter__ perform their work by forwarding to Object.defineProperty. This eliminates two calls to CheckRedeclaration, which is impeding property-storage-splitting work. r=bhackett
...
--HG--
extra : rebase_source : 4516291a3e4809999aef2c0a3748785a3aa139ce
2012-01-06 00:13:20 -06:00
Ben Turner
288be4f200
Bug 674726 - WebTelephony. r=philikon+mounir, sr=sicking. Not part of the default build.
...
--HG--
extra : transplant_source : %1A%23%10d%88%B3%DA%87%C9%DD0%E6P%1Ct%AD%7D%80%B6%B4
2012-01-09 14:28:47 -08:00
Daniel Holbert
7787c56627
Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola
2012-01-09 14:17:00 -08:00
Luke Wagner
daf1801ebe
Bug 716068 - de-OptimizeSpanDeps (r=waldo)
...
--HG--
extra : rebase_source : 4dd2b3c08f792ceb86c3824b953e88a08f3968cc
2012-01-09 11:05:06 -08:00