Hannes Verschore
50d627fe25
Bug 958158 - IonMonkey: Optimize do {} while(false), r=djvj
2014-01-30 14:59:24 +01:00
Andrea Marchesini
7184ae68ee
Bug 964293 - Implement Cu.cloneInto() method, r=bholley
2014-01-30 04:45:48 -08:00
Andy Wingo
0a1dff8e91
Bug 965243 - Remove dead constructor of ScopeIter r=jorendorff
...
--HG--
extra : amend_source : e11741d6b1e4baeaa08df1e041df303055d68634
2014-01-30 11:07:57 +01:00
Boris Zbarsky
e8d170691e
Bug 965144. Make the Window-specific bits of XrayWrapper work with WebIDL windows. r=bholley
2014-01-29 22:34:25 -08:00
Boris Zbarsky
e5abd9db16
Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley
2014-01-29 22:33:03 -08:00
Jeff Walden
ee9851c473
Bustage fix, bug 947014 followup. r=bustage in a CLOSED TREE
2014-01-29 17:57:36 -08:00
Eric Faust
378de04593
Bug 947014 - Allow callers of Wrapper::New to specify a prototype. (r=bholley)
2014-01-29 17:20:16 -08:00
Eric Faust
2ae17ed581
Bug 924720 - Part 8: Remove BaseProxyHandler::isOuterWindow(). (r=bholley)
2014-01-29 17:20:16 -08:00
Eric Faust
c41d46714f
Bug 924720 - Part 7: Move and rename OuterWindowProxyObject::class_. (r=bholley)
2014-01-29 17:20:16 -08:00
Eric Faust
a91f79ccaf
Bug 924720 - Part 6: Allow callers of Wrapper::New to specify a Proxy JSClass. (r=bholley)
2014-01-29 17:20:16 -08:00
Eric Faust
d24a35e290
Bug 924720 - Part 5: Allow callers of NewProxyObject() to specify a Proxy JSClass. (r=jwalden)
2014-01-29 17:20:16 -08:00
Eric Faust
6220679371
Bug 924720 - Part 4: Create new macros for easy Proxy JSClass creation. (r=jwalden)
2014-01-29 17:20:16 -08:00
Eric Faust
3bacb68ed4
Bug 924720 - Part 3: Allow future Proxy JSClasses to safely have extra reserved slots. (r=billm)
2014-01-29 17:20:16 -08:00
Eric Faust
fdd24700fe
Bug 924720 - Part 2: Make OuterWindowProxy use the proxy HasInstance and Convert stubs. (r=bholley)
2014-01-29 17:20:15 -08:00
Eric Faust
f142659bfe
Bug 924720 - Part 1: Implement IsProxy() using new JSClass flag. (r=jwalden)
2014-01-29 17:20:15 -08:00
Eric Faust
131ceafd59
Bug 924720 - Part 0: Free up spare JSClass flags. (r=jwalden)
2014-01-29 17:20:15 -08:00
Jeff Walden
6cfc1364d7
Bug 963641 - Make TI work correctly with respect to JSOP_MUTATEPROTO. r=jandem
...
--HG--
extra : rebase_source : bdd48aeae22ea418569910d470c329a8fc1fa2bf
2014-01-28 10:38:44 -08:00
Jeff Walden
d70f17aca1
Bug 963641 - Add a test for __proto__ in destructuring patterns as a shorthand. r=jorendorff
...
--HG--
extra : rebase_source : 9d9e5ede1195b7e879a8ca539c9af432c5f2b5d9
2014-01-28 10:38:29 -08:00
Jeff Walden
f327d79b9b
Bug 963641 - Remove PNK_MUTATEPROTO, and just make JSOP_MUTATEPROTO be generated for the PNK_INITPROP+__proto__ combination. r=jorendorff
...
--HG--
extra : rebase_source : 8317d2a90d55a57fb654f72a57ca40575613072c
2014-01-24 19:54:53 -08:00
Jeff Walden
b0c9ce62b4
Bug 963641 - Tests for __proto__ in object literals with jsreflect and asm.js module export objects. r=jorendorff
...
--HG--
extra : rebase_source : cc570fcbc018618079843df2d07f87bbf30f18a7
2014-01-27 21:39:58 -08:00
Jeff Walden
bcd0dcde6a
Bug 963641 - Miscellaneous cleanups not implicated in actual bugs. r=jorendorff
...
--HG--
extra : rebase_source : a7969e756bc5456b6524fab8f602f61a7ed83a13
2014-01-27 16:33:03 -08:00
Terrence Cole
7bf2e1c451
Bug 962256 - Remove extraneous roots from some hot paths in Baseline; r=jonco
2014-01-27 16:51:57 -08:00
Terrence Cole
2e7acf2929
Bug 963738 - Fix some false positives in the Array analysis; r=jonco
2014-01-28 12:05:35 -08:00
Bobby Holley
a204c95cc9
Bug 965082 - Tests. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
731ce0363f
Bug 965082 - Only run the {get,set}PrototypeOf override for non-SecurityWrappers. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
2a555922c2
Bug 965082 - Unify duplicate bits of state of proxies. r=mrbkap,r=gabor
...
Conceptually, these all boil down to "is this a security wrapper?"
2014-01-29 13:07:13 -08:00
Benjamin Bouvier
6fbbdcc7b9
Bug 952306: Allow global const literals as variable initializers; r=luke
2014-01-29 14:27:01 +01:00
Benjamin Bouvier
cc29413fe5
Bug 952306: Refactor Variable into Variable, ConstantImport and ConstantLiteral in Odin; r=luke
2014-01-29 14:27:00 +01:00
Sankha Narayan Guria
4a58e226e9
Bug 848512 - JSOP_DIV: int32 stub handles lhs == 0 case. r=jandem
2014-01-29 15:28:13 +05:30
Douglas Crosher
2178295f6d
Bug 959597 - Odinmonkey (ARM): fix a commit conflict with bug 964005. r=jandem
2014-01-29 11:39:56 +11:00
Jan de Mooij
f289f537ef
Bug 959597 part 3 - Add ARM simulator for JIT code. r=nbp
2014-01-29 13:34:14 +01:00
Benjamin Bouvier
cac8501966
Bug 942550: Take care of all particular cases in ecmaPow instead of js_math_pow; r=jandem
2014-01-29 12:12:03 +01:00
Ed Morley
92aa154f50
Merge mozilla-central and inbound
2014-01-29 10:39:41 +00:00
Ed Morley
54d76ad687
Merge latest green b2g-inbound changeset and mozilla-central
2014-01-29 10:33:43 +00:00
Jon Coppeard
d77eb96fa7
Bug 959787 - Handlify some JS friend APIs r=sfink
2014-01-29 10:01:33 +00:00
Jon Coppeard
e5c29b7f9d
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Jon Coppeard
f83ce11fd2
Bug 961877 - Calculate size of inline elements of typed array using slot count not array size r=terrence
2014-01-29 09:58:16 +00:00
Wes Kocher
cf19b21c97
Backed out 2 changesets (bug 952873) for build bustage on a CLOSED TREE
...
Backed out changeset 92dfed2592ae (bug 952873)
Backed out changeset 1ae58fcd61a9 (bug 952873)
2014-01-28 17:34:42 -08:00
Boris Zbarsky
8baa2ee19b
Bug 952873 part 2. Expose JSAPI for doing for-of iteration. r=jorendorff
2014-01-28 16:16:03 -08:00
Boris Zbarsky
8e2e630681
Bug 952873 part 1. Rename the cx member of ForOfIterator to cx_ instead. r=jorendorff
2014-01-28 16:14:47 -08:00
Douglas Crosher
318f92a65e
Bug 964797 - Odin ARM: Correct the VCVT instructions encoding of the fraction bits. r=mjrosenb
2014-01-29 02:35:38 +11:00
Nikhil Marathe
6a771ba40f
Bug 957926 - Add JS::CreateTypeError. r=jorendorff
...
--HG--
extra : rebase_source : d621273cbff342f10864c2843a53eb55421fe582
2014-01-28 09:19:48 -08:00
Henry Chang
c0e64a6d2c
Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang
2014-01-27 15:48:10 +08:00
Jon Coppeard
e509557b22
Bug 956324 - Remove all breakpoints from a debugger when the last debuggee is removed r=billm
2014-01-11 13:52:35 +00:00
Boris Zbarsky
e41fdd7947
Followup bustage fix for bug 952873 to fix CLOSED TREE
2014-01-28 17:54:31 -08:00
Boris Zbarsky
529b765791
Bug 952873 part 2. Expose JSAPI for doing for-of iteration. r=jorendorff
2014-01-28 16:16:03 -08:00
Boris Zbarsky
d96a02391e
Bug 952873 part 1. Rename the cx member of ForOfIterator to cx_ instead. r=jorendorff
2014-01-28 16:14:47 -08:00
Douglas Crosher
e9caae16f8
Bug 964005 - Odinmonkey (ARM): Include d15 in the callee saved registers. r=mjrosenb
2014-01-26 19:42:53 +11:00
Jan de Mooij
d78ff7f593
Bug 959597 part 2 - Use JS_CODEGEN_* instead of JS_CPU_* for JIT backend code. r=nbp
2014-01-28 15:33:56 +01:00
Jan de Mooij
f2e8aa5690
Bug 959597 part 1 - ARM simulator build changes. r=glandium
2014-01-28 15:33:53 +01:00
Haitao Feng
c1d127772e
Bug 947711 - Introduce MIRType_Float32x4, MIRType_Int32x4 and MIRType_Doublex2. r=nbp
2014-01-28 09:12:20 -05:00
Emanuel Hoogeveen
a1352a9298
Bug 841646 - Part 4: Allow parallel compilation while the SPS Profiler is active. r=jandem
2014-01-28 08:56:51 -05:00
Emanuel Hoogeveen
599ba813a7
Bug 841646 - Part 3: Move SPSProfiler::slowAssertionsEnabled checks to JitCompileOptions and remove SPSInstrumentation::slowAssertions. r=jandem
2014-01-28 08:56:27 -05:00
Emanuel Hoogeveen
0344873330
Bug 841646 - Part 2: Add locks around |strings| table access to avoid races. r=jandem
2014-01-28 08:56:05 -05:00
Emanuel Hoogeveen
a66085a6f3
Bug 841646 - Part 1: Refactor allocProfileString to not require a JSContext and remove JSContext * parameters from functions that no longer require them as a result. r=jandem
2014-01-28 08:55:40 -05:00
Jon Coppeard
c9edbd1aee
Bug 964214 - Don't recompact store buffer if there are no new entries r=terrence
2014-01-28 10:37:14 +00:00
Jon Coppeard
85d06f4fde
Bug 964214 - Don't wait for background sweep to finish for minor GC r=terrence
2014-01-28 10:36:56 +00:00
Jon Coppeard
a45a3a0093
Bug 961741 - Allow shape's parent to be null in postbarrier callback r=terrence
2014-01-28 10:35:53 +00:00
Jon Coppeard
785b878733
Bug 959787 - Fix OOM crash added by previous patch r=terrence
2014-01-28 10:35:07 +00:00
Chris Peterson
0300d9a153
Bug 964016 - Part 5: Remove unused JS_BEGIN_EXTERN_C and JS_END_EXTERN_C macros. r=luke
2014-01-24 20:08:28 -08:00
Chris Peterson
6fcb2b7947
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Chris Peterson
86f9e9dcbf
Bug 964016 - Part 3: Replace JS_NEVER_INLINE with MOZ_NEVER_INLINE. r=luke
2014-01-24 20:21:24 -08:00
Chris Peterson
c8d24a2942
Bug 964016 - Part 2: Replace JS_UNLIKELY with MOZ_UNLIKELY. r=luke
2014-01-24 19:57:58 -08:00
Chris Peterson
be3dc958b8
Bug 964016 - Part 1: Replace JS_LIKELY with MOZ_LIKELY. r=luke
2014-01-25 22:04:37 -08:00
Nicholas Nethercote
5b2053ce6a
Bug 963528 - Don't allocate zero-sized script data. r=luke.
...
--HG--
extra : rebase_source : 16beebadc53671e68b73d920ad96c366f48206d3
2014-01-27 18:31:34 -08:00
Shu-yu Guo
b9f3f1e038
Bug 959163 - Fix debug asserts in PropertyTree::lookupChild. (r=jorendorff)
2014-01-27 11:33:05 -08:00
Andrew McCreight
a62f062437
Bug 963665 - Make nsIXPConnect noscript. r=bholley
2014-01-27 07:16:38 -08:00
Peiyong Lin
cc3a4c0c6b
Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug
2014-01-27 08:25:19 -05:00
Andrew McCreight
930625ba83
Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras
2014-01-26 07:57:00 -08:00
Zack Weinberg
77460d628b
Bug 933885 part 1: make xpcshell dump() and print() handle non-ASCII characters correctly. r=bz
2014-01-25 23:27:11 -05:00
Jon Coppeard
1d35df7d74
Bug 961795 - Track malloc allocations for TypedArray objects in the nursery r=terrence
2014-01-25 09:32:45 +00:00
Jon Coppeard
4a76452c21
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Jon Coppeard
cb8c659700
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Jon Coppeard
511a96a9b0
Bug 962576 - Improve profiling of minor GCs r=terrence
2014-01-25 09:26:43 +00:00
Boris Zbarsky
be84d2e4ec
Bug 962605 part 2. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Bobby Holley
8356b2d621
Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
...
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
094cd93292
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Bobby Holley
fac9fbd739
Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap
2014-01-24 16:08:25 -08:00
Bobby Holley
844ed9971d
Bug 957688 - Remove checkObjectAccess security callback. r=mrbkap
...
There's no need for the JS shell stuff either, since vm/Runtime.cpp already
sets up NullSecurityCallbacks by default.
2014-01-24 16:08:25 -08:00
Bobby Holley
abb3c5c1c7
Bug 957688 - Remove side-effect-y call to js::CheckAccess, and remove js::CheckAccess itself. r=mrbkap
...
Thankfully, this case was only taking the JSACC_PROTO, which is significantly
simpler than the alternative.
2014-01-24 16:08:25 -08:00
Bobby Holley
3bf47f1f26
Bug 957688 - Remove side-effect-free calls to js::CheckAccess. r=mrbkap
...
js::CheckAccess has all sorts of crazy side-effects on its parameters. Luckily,
they mostly happen on dead values.
We have to alter a jit-test that previously threw, and doesn't anymore. I have
confirmed that the reason for throwing was not the security check itself, but
rather the lookupGeneric call that happens inside js::CheckAccess, which ends
up throwing 'undefined is not a function'. It seems like this is just an issue
of calling lookupGeneric when we shouldn't, and that the correct behavior here
is not to throw.
2014-01-24 16:08:24 -08:00
Bobby Holley
55f81ee5dc
Bug 957688 - Remove JS_CheckAccess. r=mrbkap
...
But how will we call from Gecko into the JS engine to query CAPS via a callback?
2014-01-24 16:08:24 -08:00
Bobby Holley
85f4a840ef
Bug 957688 - Make ComputeStackString pass a principal and remove checkAccess call. r=mrbkap
...
Now that we have the principal-based filtering for stack walking, we can do this.
This isn't technically equivalent to the old behavior, since a stack that goes:
A -> B -> A
would previous have only seen the second set of |A| frames, whereas now we'd
see both sets. But this seems strictly better (also, it doesn't happen on the
web).
As noted, I've filed a bug for making this context- and saveFrameChain-agnostic.
2014-01-24 16:08:24 -08:00
Terrence Cole
2ff953ff6d
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
efb40c153d
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Terrence Cole
218d891337
Bug 963232 - Add extensive documentation to js/GCAPI.h; r=billm
2014-01-23 11:47:11 -08:00
Jeff Walden
a6df7a3e57
Bug 963434 - Remove jsopcode.tbl and jsoplengen.cpp in favor of a higher-order macro, and make JSOP_*_LENGTH into C++ constant variables. This will make the build process simpler, and it likely eliminates a needs-CLOBBER situation encountered while landing bug 948583. Particular thanks to r=jorendorff for the fast review here (given any change at all to jsopcode.tbl would bitrot this), DONTBUILD because already landed with wrong bug number
2014-01-24 13:21:09 -08:00
Jeff Walden
c23ca4b51a
Backed out changeset fe06fb5e10a7, wrong bug number.
...
--HG--
extra : rebase_source : fad89601b11e3a6cf19114b2152fa3c62d05cce4
2014-01-24 15:00:52 -08:00
Andrew McCreight
723163634b
Bug 963652 - Handlify JS_ForwardGetPropertyTo. r=terrence
2014-01-24 15:01:47 -08:00
Jeff Walden
6bee3b5ae5
Bug 963634 - Remove jsopcode.tbl and jsoplengen.cpp in favor of a higher-order macro, and make JSOP_*_LENGTH into C++ constant variables. This will make the build process simpler, and it likely eliminates a needs-CLOBBER situation encountered while landing bug 948583. Particular thanks to r=jorendorff for the fast review here (given any change at all to jsopcode.tbl would bitrot this)
...
--HG--
extra : rebase_source : 4f5956dd196ff894766210cc4c9629054fc2914d
2014-01-24 13:21:09 -08:00
Till Schneidereit
5c54dda276
Bug 963077 - Bustage followup on a CLOSED TREE. r=jandem
2014-01-24 20:18:52 +01:00
Till Schneidereit
94afc0a7be
Bug 963077 - ensure function is non-lazy before getting its arguments in js_fun_apply. r=jandem
...
--HG--
extra : rebase_source : cb81f240eb139ed5d719901265eaf6d51fd0e0e1
2014-01-24 17:05:25 +01:00
Jon Coppeard
b944c22698
Bug 959787 - Handlify JS_Lookup* APIs r=sfink r=bz
2014-01-24 14:03:56 +00:00
Marcin Juszkiewicz
4af0572d7e
Bug 963026 - AArch64 support for Javascript Engine. r=djvj
2014-01-24 08:46:58 -05:00
Nicholas Nethercote
b772cdc96b
Bug 961883 (part 3) - Measure and report the Nursery. r=terrence.
...
--HG--
extra : rebase_source : 6f12d47ca8cedc96b0dd0477ca4f71de08e47181
2014-01-21 17:17:08 -08:00
Nicholas Nethercote
26d6f457c4
Bug 961883 (part 2) - Measure and report the StoreBuffer. r=terrence.
...
--HG--
extra : rebase_source : f298f0373b7fee99eee7a62060f882d628f97eb2
2014-01-21 17:17:02 -08:00
Nicholas Nethercote
84e05af59c
Bug 961883 (part 1) - Measure and report the SourceDataCache. r=benjamin.
...
--HG--
extra : rebase_source : b599e19fb681e972b1f6e184c44f5a726a61009f
2014-01-20 19:52:57 -08:00
Nicholas Nethercote
0ec65cabbf
Bug 961883 (part 0) - Some tiny HashTable comment tweaks. r=luke.
...
--HG--
extra : rebase_source : 749b61ec992335aa5e2be63340e88b04ff236967
2014-01-20 19:52:52 -08:00
Jeff Walden
0b49543b89
Bug 948227 - Add code to warn when the __proto__ setter is called that it's very slow and shouldn't be used. (Don't use it yet, tho, because it requires the second part of bug 948583 to land first. Once that lands, fully enabling this just requires some uncommenting.) r=efaust
...
--HG--
extra : rebase_source : 87d320edcc99b6ef7df98c2470c78d4085aa4f99
2013-12-11 16:04:07 -08:00
Jeff Walden
d8f54e43e4
Fix the Windows non-threadsafe build by exposing/using a thread-aware symbol only in threadsafe builds. No bug, r=terrence
...
--HG--
extra : rebase_source : 5f950f54bad34f2fd93da575aff332f155a684aa
2014-01-23 16:09:07 -08:00
Jeff Walden
c675e795a8
Bug 948583 - Implement __proto__ in object literals using a new JSOp. The JSOp still uses setprop-like behavior to mutate the [[Prototype]]; we'll change that in a subsequent patch, coming probably in the next couple weeks (definitely before uplift). r=jorendorff, r=efaust
...
--HG--
extra : rebase_source : d779071661bbb1375b8eff60afa7cdf36d2c3005
2013-12-11 16:03:57 -08:00
Marcin Juszkiewicz
bfe83acdd5
Bug 963032 - AArch64 support for Build Config. r=mshal
2014-01-23 16:34:32 -05:00
Bert Belder
4732be968b
Bug 956899 - js: Use mozilla::ThreadLocal instead of NSPR for IonContext's thread-local variable. r=jwalden
...
* * *
[mq]: moar
--HG--
extra : rebase_source : dfc785cf9eac717624116484f07065e870a22801
2014-01-22 12:42:56 -05:00
Jeff Walden
d6d9389f6d
Replace a few manual JSPropertySpec[] terminators with JS_PS_END. No bug, r=trivial
...
--HG--
extra : rebase_source : 4552e44f655f18963260d5b0b235e15df4721ff0
2014-01-09 15:54:54 -06:00
Jan de Mooij
d668fa6e99
Bug 962653 - Use mozilla::Atomic for MIRGenerator::cancelBuild_. r=nbp
...
--HG--
extra : rebase_source : ebcbf9b1a6d21e516ab18d58f203270ce25a63bc
2014-01-23 20:50:56 +01:00
Ryan VanderMeulen
b6ff44e241
Backed out changeset 26984019ff59 (bug 962605) for suspicion of causing OSX 10.8 debug mochitest-other crashes.
...
CLOSED TREE
2014-01-23 12:45:43 -05:00
Nicolas B. Pierron
0c0329d784
Bug 920322 - XDR/Clone singletons. r=bhackett,jandem
2014-01-23 06:43:28 -08:00
Boris Zbarsky
0933665788
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Jon Coppeard
5202f0ac58
Bug 962576 - Fix warning in minor GC profiling code which is not built by default r=me DONTBUILD
2014-01-23 12:25:25 +00:00
Jon Coppeard
939479c30b
Bug 962576 - Add option to time minor collections and dump the results r=terrence
2014-01-23 09:53:42 +00:00
Jon Coppeard
2ad9e5f891
Bug 961077 - Take marking function as template parameter in PersistentRootedMarker r=sfink
2014-01-23 09:53:42 +00:00
Jon Coppeard
4f7b826d7e
Bug 885954 - Delete implicit move constructors for Heap*Ptr objects r=terrence
2014-01-23 09:53:42 +00:00
Jim Blandy
075e271ed0
Bug 958646: Implement Debugger.Script.prototype.global accessor. r=sfink
2014-01-22 16:55:12 -08:00
Jim Blandy
6677bbefbc
Bug 942251: Rename Debugger.Script.prototype.elementProperty to elementAttributeName, and all related. r=sfink
...
--HG--
rename : js/src/jit-test/tests/debug/Source-elementProperty.js => js/src/jit-test/tests/debug/Source-elementAttributeName.js
2014-01-22 16:41:16 -08:00
Jim Blandy
84f1ffacbe
Bug 944121: Add options argument to the JS shell's offThreadCompileScript function. For off-thread compilation, put off initializing some slots of ScriptSourceObject until after the compartment merge. r=bhackett
...
--HG--
rename : js/src/jit-test/tests/basic/offThreadCompileScript.js => js/src/jit-test/tests/basic/offThreadCompileScript-01.js
2014-01-22 16:41:16 -08:00
Jim Blandy
34f1d33ff0
Bug 944121: Abstract JS shell's compilation options parsing out into its own function. r=bhackett
2014-01-22 16:41:16 -08:00
Jim Blandy
942bee8c31
Bug 952885: When doing cross-global compilations in the shell, properly wrap CompileOptions members for the new global. r=njn
2014-01-22 16:41:15 -08:00
Jim Blandy
bd53b5edbf
Bug 944121: Make js::ParseTask use PersistentRooted instead of AddObjectRoot / JS_RemoveObjectRoot. r=bhackett
2014-01-22 16:41:15 -08:00
Wes Kocher
3700a4c367
Backed out changeset c75f13d4f160 (bug 962605)
2014-01-22 16:16:07 -08:00
Steve Fink
fc2e7ab7b8
Bug 960342 - Convert StackShape from AutoRooter to RootedGeneric, r=terrence
2014-01-22 11:52:44 -08:00
Steve Fink
dbc9960afd
Bug 960342 - Convert StackBaseShape from AutoRooter to RootedGeneric, r=terrence
2014-01-22 11:52:44 -08:00
Steve Fink
830890169b
Bug 960342 - Add a RootedGeneric general class, r=terrence
2014-01-22 11:52:44 -08:00
Steve Fink
96352cfca4
Bug 959806 - Make the analysis explain why it believes a type to be a gc type, r=terrence
2014-01-14 13:20:32 -08:00
Boris Zbarsky
daf3325ff7
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Jim Blandy
3a75aac6e3
Bug 962441: Add regression test for Debugger.prototype.findScripts finding incompletely initialized JSScripts. r=shu
2014-01-22 10:54:28 -08:00
Nathan Froyd
106205d347
Bug 962080 - fix maybe-uninitialized variable warning in IonBuilder.cpp; r=jandem
2014-01-21 09:36:03 -05:00
Luke Wagner
075aa7c887
Bug 916564 - Expand source notes to hold 31-bit offsets (r=jorendorff)
...
--HG--
extra : rebase_source : bf350f233c514d6a97273d2ee23ce68476ae3b79
2014-01-17 17:40:41 -06:00
Luke Wagner
a13acc1bc9
Bug 916564 - Move countFinalSourceNotes to a better place (r=jorendorff)
...
--HG--
extra : rebase_source : c0b10f87f1e10499586fed2e4fa570edfcaaf510
2014-01-17 17:39:02 -06:00
Tom Schuster
57f15ea1e2
Bug 958119 - Some cleanup for XPConnect. r=gabor
2014-01-22 18:50:32 +01:00
Birunthan Mohanathas
323fbc9525
Bug 798033 - Remove 'using namespace' from CompileInfo-inl.h. r=evilpies
2014-01-22 12:24:08 -05:00
Andy Wingo
bf1bd9f167
Bug 962484 - Fix script XDR bug after bug 916612 r=luke
2014-01-22 16:58:44 +01:00
Romain Perier
b9e5bea365
Bug 956051 - Inline str_replace with string, string as arguments. r=nbp, r=jandem
2014-01-22 10:43:32 -05:00
Sylvestre Ledru
05007ea4c4
Bug 781552 - Turn on -Werror=int-to-pointer-cast globally. r=ted
2014-01-22 10:41:34 -05:00
Carsten "Tomcat" Book
9a02f4280b
Merge mozilla-central to mozilla-inbound
2014-01-22 14:37:23 +01:00
Carsten "Tomcat" Book
95ba54861b
merge b2g-inbound to mozilla-central
2014-01-22 13:59:54 +01:00
Gina Yeh
a3eb2efd58
Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug
2014-01-22 14:26:29 +08:00
Nathan Froyd
bc0d8111f4
Bug 962241 - don't spam error messages about ContractIDToCID failing; r=bholley
2014-01-21 16:14:22 -05:00
Jon Coppeard
739fa2381c
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Jon Coppeard
636ac5c203
Bug 959787 - Handlify JS_Delete* APIs r=sfink
2014-01-22 11:28:06 +00:00
Jon Coppeard
c6790d8bcb
Bug 961077 - Make PersistentRooted use private inheritance when deriving from LinkedListElement r=sfink
2014-01-22 11:28:06 +00:00
Jon Coppeard
a4b59f36d6
Bug 961110 - Make internal StoreBuffer classes more public (but still not exposed) r=terrence
2014-01-22 11:28:06 +00:00
Jan de Mooij
931a0fd6de
Bug 929221 - Correctly handle OOM in EnsureTrackPropertyTypes. r=bhackett
2014-01-22 12:26:25 +01:00
Jan de Mooij
22e30b5804
Bug 962095 - Make sure BailoutStack is 8-byte aligned on ARM. r=nbp
2014-01-22 12:26:21 +01:00
Jan de Mooij
4b2465dd6d
Bug 962090 - Fix ARM VMFunction wrappers to only test the low byte for bools. r=nbp
2014-01-22 12:26:18 +01:00
Marco Bonardo
6a8c716e4d
Bug 960458 - cl.py doesn't properly parse showIncludes prefix on some localized versions. r=glandium
2014-01-22 09:22:30 +01:00
Luke Wagner
1fd07c86e1
Bug 961969 - Include nfixed in StackShape's key (r=billm)
2014-01-21 14:03:31 -06:00
Shu-yu Guo
7ea5c3c8a6
Bug 958980 - Stop Debugger from exposing partially initialized JSScripts. (r=jorendorff)
2014-01-21 10:59:05 -08:00
Donovan Preston
33bb76a5a8
Bug 958108 - Remove delayload from some DLLs on windows because it was causing webapps to hang at startup. r=glandium
2014-01-21 13:53:48 -05:00
Andy Wingo
a2751433de
Bug 960040 - Part 5: Fix style error (unreviewed cleanup). CLOSED TREE
2014-01-21 18:30:36 +01:00
Andy Wingo
ad8ee061c5
Bug 960040 - Part 4: Refactor state management of analysis. r=jandem
2014-01-21 14:21:26 +01:00
Andy Wingo
eadd14d32d
Bug 960040 - Part 3: Refactor OOM handling. r=jandem
2014-01-21 14:21:07 +01:00
Andy Wingo
54f9053623
Bug 960040 - Part 2: Hide more of ScriptAnalysis implementation. r=jandem
2014-01-21 14:09:34 +01:00
Andy Wingo
15adc93989
Bug 960040 - Part 1: Prune unused interfaces and code from ScriptAnalysis. r=jandem
2014-01-21 11:47:08 +01:00
Jan Beich
c06ad17e6e
Bug 959477 - Fix typo in OS_TARGET when cross-compiling GNU/kFreeBSD. r=glandium
2014-01-21 11:40:21 -05:00
Jan Beich
20365c091b
Bug 959477 - Assign correct OS_ARCH and OS_TARGET when cross-compiling on BSDs. r=glandium
2014-01-21 11:40:20 -05:00
Luke Wagner
90c4cc3118
Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
...
--HG--
extra : rebase_source : aa831d41e1b04062e208d5c36697da1f5e1c7d07
2014-01-20 18:00:18 -06:00
Andrew McCreight
f4d046aa36
Bug 960775 - Retire JS_WARN_UNUSED_RESULT in favor of MOZ_WARN_UNUSED_RESULT. r=waldo
2014-01-21 17:56:16 -08:00
Andrew McCreight
e09600e29f
Bug 961551, part 9 - Split scope of |wrapper|, plus other cleanup. r=bholley
2014-01-21 17:56:16 -08:00
Andrew McCreight
f9e241decc
Bug 961551, part 8 - Use the code at the end of XPCWJS::GetNewOrUsed to build a new root wrapper. r=bholley
...
The code at the end of nsXPCWrappedJS::GetNewOrUsed will now correctly
construct a root wrapper when |root == nullptr|, so we can consolidate
the two places that construct |wrapper|.
2014-01-21 17:56:16 -08:00
Andrew McCreight
3ca1e1b491
Bug 961551, part 7 - Smart pointerize rootClasp. r=bholley
...
Also, move the declaration of |clasp| down to where it is used.
2014-01-21 17:56:16 -08:00
Andrew McCreight
56a8074ebd
Bug 961551, part 6 - Smart pointerize wrapper. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
e21cccb62b
Bug 961551, part 5 - Smart pointerize root. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
dce295db38
Bug 961551, part 4 - Remove release_root from XPCWJS::GetNewOrUsed. r=bholley
...
GetNewOrUsed now always releases |root| when |root| is non-null, so
release_root can be eliminated.
2014-01-21 17:56:15 -08:00
Andrew McCreight
e217280391
Bug 961551, part 3 - Hold a strong ref to the root that is the result of Find in XPCWJS::GNOU. r=bholley
...
This is trickier than it looks, because this change causes additional
refcount traffic on |root| in the case where FindOrFindInherited
succeeds. This is potentially bad because if a WJS has a refcount of 1,
and no weak references to it, then if it goes to a refcount of 2 then
back to 1 it will be deleted. A WJS can get in this state if it
is a root with a refcount of 2, and has a weak reference, then
its refcount drops to 1, then later the weak reference goes away.
However, in this case, there can be no other WJS in the chain,
or the refcount would be greater than 1, so FindOrFindInherited
must end up returning |root|, so |wrapper == root|, and the
assignment to |wrapper| will make root go to a refcount of 3,
so the release of |root| on exit will only cause the refcount to
go to 2, so |root| won't be deleted.
2014-01-21 17:56:15 -08:00
Andrew McCreight
8bb0cff1fc
Bug 961551, part 2 - Move addref out of XPCWrappedJS ctor. r=bholley
...
This paves the way for smart pointerization.
2014-01-21 17:56:15 -08:00
Andrew McCreight
7219645381
Bug 961551, part 1 - Add root wrappers to the map in XPCWrappedJS ctor. r=bholley
2014-01-21 17:56:15 -08:00
Wes Kocher
683a2b06e2
Backed out 2 changesets (bug 948583) on a CLOSED TREE
...
Backed out changeset 3807c2bc06a2 (bug 948583)
Backed out changeset 64d44d0d790c
2014-01-21 16:53:05 -08:00
Wes Kocher
6706276dce
Backed out 1 changesets (bug 948583) for potential PGO bustage on a CLOSED TREE
...
Backed out changeset 49700610a9b7 (bug 948583)
2014-01-21 16:52:55 -08:00
Jeff Walden
40c3f74739
Followup fix to bug 948583, r=typo. :-(
...
--HG--
extra : rebase_source : f5279bb1df08ab03496e5b87765ca850b573a287
2014-01-21 18:19:46 -05:00
Jeff Walden
fe83d10b89
Bug 948583 - Implement __proto__ in object literals using a new JSOp. The JSOp still uses setprop-like behavior to mutate the [[Prototype]]; we'll change that in a subsequent patch, coming probably in the next couple weeks. r=jorendorff, r=efaust
2013-12-11 16:03:57 -08:00
Jeff Walden
91f2bd361f
Replace a few manual JSPropertySpec[] terminators with JS_PS_END. No bug, r=trivial
2014-01-09 15:54:54 -06:00
Luke Wagner
3a24b74ad5
Bug 961969 - Assert that all shapes in a lineage have the same numFixedSlots (r=billm)
...
--HG--
extra : rebase_source : 044a5e199bca060f6f854a8f01b9d48970c0e3db
2014-01-21 16:25:37 -06:00
Bobby Holley
cd58405598
Bug 958324 - Remove SOW-transplant-related fixup. r=peterv
...
This became obsolete with bug 922009.
2014-01-21 08:26:41 -08:00
Bobby Holley
1fc0abe0bc
Bug 958324 - Remove same-compartment security wrappers for WNs. r=peterv,r=mrbkap
...
We've fixed Components, and SOWs are new-binding only. Youpie!
2014-01-21 08:26:40 -08:00
Bobby Holley
b9bffb1af9
Bug 961054 - Don't invoke SetLastResult until the completion of an XPCWN method call. r=mrbkap
2014-01-21 08:25:29 -08:00
Nathan Froyd
5857f3e5b9
Bug 961761 - move to static_assert for JSJitInfo; r=efaust
2014-01-20 11:07:28 -05:00
Jon Coppeard
64053bce53
Bug 961095 - Improve generic callbacks with better typing, and by only adding storebuffer entries when the key is in the nursery r=terrence
2014-01-21 10:44:39 +00:00
Jon Coppeard
456f7be7d1
Bug 957088 - Use && rather than and in #if directives r=terrence
2014-01-21 10:44:38 +00:00
Carsten "Tomcat" Book
6681ed859c
Backed out changeset 17220466f40b (bug 960458) for bustages on windows on a CLOSED TREE
2014-01-21 11:35:27 +01:00
Marco Bonardo
09975f277d
Bug 960458 - cl.py doesn't properly parse showIncludes prefix on some localized versions. r=glandium
2014-01-21 10:54:17 +01:00
Nathan Froyd
91f7b2222d
Backout dc82a01d0cfe (bug 961318) for various JavaScript test failures on this CLOSED TREE
2014-01-20 20:09:59 -05:00
Luke Wagner
d5fde93cb3
Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
...
--HG--
extra : rebase_source : bd4e6b296e7a02dbe2370a515174dcd1a6a57ffa
2014-01-20 18:00:18 -06:00
Andrea Marchesini
06f3df72fa
Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE
2014-01-20 18:47:35 +01:00
Andrea Marchesini
db2fa96fac
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-20 17:51:41 +01:00
Benjamin Bouvier
09ffc292e7
Bug 958381: Make comparisons with float32 aware of the need of a coercion; r=sstangl
...
--HG--
extra : rebase_source : ea5c1398759e872b4b003347932259e17cb746f6
extra : amend_source : d322b83230eef8330023afbfe8b5c400dc57ec65
2014-01-13 19:21:39 +01:00
Dan Minor
067ec263fa
Bug 959156 - Jit-test basic\bug839215.js OOMs on Windows test machines; r=terrence
2014-01-20 11:16:04 -05:00
Jan de Mooij
ae199cb959
Bug 921571 - Fix SetElementIC dense element stub to work with double arrays. r=shu
2014-01-20 11:10:15 +01:00
Ms2ger
437f4d6ea7
Merge latest PGO-green changeset from inbound to central.
2014-01-20 09:30:38 +01:00
Ms2ger
24d947ef8f
Bug 956553 - Remove js::IdToJsval in favour of js::IdToValue; r=luke
2014-01-20 08:58:27 +01:00
Ms2ger
9988c0aff8
Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo
2014-01-20 08:58:26 +01:00
Ms2ger
65bd3f60cd
Bug 953425 - Part b: Move DOMFileMetadataParameters to WebIDL; r=janv
2014-01-20 08:58:24 +01:00
Mike Hommey
83c116b78a
Bug 958404 - Recurse icu from top-level when building js. r=gps
2014-01-20 09:13:06 +09:00
Mike Hommey
231e76edbd
Bug 958404 - Recurse ffi from top-level when building js. r=gps
2014-01-20 09:11:55 +09:00
Mike Hommey
5cb8d003cb
Bug 958404 - Recurse mfbt from top-level when building js standalone. r=gps
2014-01-20 09:11:45 +09:00
Douglas Crosher
774e60a155
Bug 952810 - Ionmonkey ARM: Fix a corner case, out of bounds array reference, in isNextBranch. r=mjrosenb
2013-12-22 22:28:50 +11:00
Jan de Mooij
4d16d40ede
Bug 959161 - Also use eager allocation for Array(x) inlined in Ion. r=luke
2014-01-18 14:11:11 +01:00
Jan de Mooij
30a6653283
Bug 952944 - Refactor JSOP_ARRAYPUSH. r=jorendorff
2014-01-18 13:55:56 +01:00
Jan de Mooij
532c7a7ee8
Bug 953337 - Set ImplicitlyUsed flag for inlined callees. r=nbp
2014-01-18 13:44:04 +01:00
Luke Wagner
7afb79bd7c
Bug 960367 - OdinMonkey: compress source stored in in cache file (r=sstangl)
...
--HG--
extra : rebase_source : 0b4036078a28630f04ddb2e232f587d6268b8209
2014-01-17 17:34:33 -06:00
Terrence Cole
c919e2577e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 5; r=jonco
...
--HG--
extra : rebase_source : 13c96b6118408cfb001a3191871cbf7ce4d8a2c3
2014-01-17 10:09:38 -08:00