Bobby Holley
ad7ec801bd
Bug 836301 - Stop enter()ing with CALL for nativeCall. r=mrbkap
...
This is kind of nonsensical, because CALL means "the wrapped object is being
called", whereas nativeCall means "the wrapped object is being unwrapped to
have a JSNative invoked on it", which are two very different things.
We _could_ add a NATIVECALL enter() trap, but our current policy enforcement
around nativeCall involves overriding the trap itself, so we wouldn't use it
for anything. So let's just get rid of it.
2013-02-22 08:14:33 -08:00
Bobby Holley
bc476a22e1
Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap
2013-02-22 08:14:33 -08:00
Bobby Holley
31e8680c22
Bug 836301 - Stop using JSRESOLVE_ASSIGNING to determine GET vs SET. r=mrbkap
...
This is just a heuristic, anyway, and some of the usage is downright broken.
There are two cases here:
1 - Deciding what to do for get{Own,}PropertyDescriptor. In these cases, we can
just enter with GET and rely on the filtering machinery to filter out dangerous
setters for security wrappers.
2 - Custom Xray props. None of these make sense in a |set| context. In fact,
they generally have null setters anyway, so we can just assume GET.
The policy-entering code in XrayWrapper is super haphazard. We'll get rid of it
entirely later in these patches.
2013-02-22 08:14:32 -08:00
Bobby Holley
93807eff69
Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
...
Luke explained to me that it should never get there.
2013-02-22 08:14:32 -08:00
Bobby Holley
722e4eafbb
Bug 843231 - Compute whether to use an XBL scope exactly once. r=bz
2013-02-22 07:56:03 -08:00
Bobby Holley
dbc130d113
Bug 843231 - Remove SetGlobal. r=bz
...
This stuff has all been simplified significantly with CPG, and this is no longer
necessary. We always have a global when we construct a scope, and it never
changes.
2013-02-22 07:56:03 -08:00
Bobby Holley
0352ac2f47
Bug 843231 - Move the nulling out of mPrototypeNoHelper from SetGlobal to RemoveWrappedNativeProtos. r=bz
...
The only call-site for both of these is JSD->nsXPConnect::InitClasses, so this
is equivalent. All this will go away soon anyhow when JSD goes away.
2013-02-22 07:56:02 -08:00
Jon Coppeard
ec46a9f3a3
Bug 843626 GC: Rooting analysis failures in parallel array jittests r=terrence
...
--HG--
extra : rebase_source : a671dd445040312bdd464555f18844c993357129
2013-02-21 15:50:50 +00:00
Till Schneidereit
46048fb061
Bug 842192 - Self-host Array.map. r=jorendorff
2013-02-19 21:36:37 +01:00
Peter Van der Beken
953cadf9c4
Fix for bug 825628 (Implement NamedConstructor) - use NamedConstructor for Image() and Option(). r=bz.
...
--HG--
extra : rebase_source : f48e0ded2374d84b89d585309309b1a42a95d868
2013-01-22 11:53:13 +01:00
Peter Van der Beken
c485f6afee
Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
...
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Chuck Lee
e329997fd6
Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence
2013-02-21 17:48:17 +08:00
Chuck Lee
198c348330
Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence
2013-02-22 10:58:52 +08:00
Jonathan Kew
5219b8ae03
backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn
2013-02-22 09:36:41 +00:00
Bill McCloskey
bbc0638161
Bug 816033 - Disable ecma_5/extensions/JSON-string-replacer-overflow.js on Windows debug builds
2013-02-21 21:54:35 -08:00
Nicholas Nethercote
7bcdd779d0
Bug 842419 (part 8) - Reduce the arity of SRC_CATCH from 1 to 0. r=jorendorff.
...
--HG--
extra : rebase_source : 25b167dbbe39c673b9b7b66ef09b2d33e923c2a7
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
5fc341c874
Bug 842419 (part 7) - Split SRC_SWITCH in two. r=jorendorff.
...
--HG--
extra : rebase_source : c91557416354c9d8003ce9f1b481c09d7eca867b
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
cae8df76c2
Bug 842419 (part 6) - Reduce the arity of three loop-related srcnotes, and remove another. r=jorendorff.
...
--HG--
extra : rebase_source : 1bd7092dd1bd116752c2817844e7351448b91d4d
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
15fd3e3d12
Bug 842419 (part 5) - Reduce the arity of SRC_IF_ELSE from 2 to 1. r=jorendorff.
...
--HG--
extra : rebase_source : f892b0ca7e18f48332156f6c541a3bc6696b7332
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
04adad35a5
Bug 842419 (part 4) - Clean up srcnote constants and js_SrcNoteSpec. r=jorendorff.
...
--HG--
extra : rebase_source : 2340657e4bdd1a0c47151ffdc0b6ad55f6b99792
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bbaa114131
Bug 842419 (part 3) - Remove dead JOF_* constants, and kill off JSOP_BACKPATCH_POP. r=jorendorff.
...
--HG--
extra : rebase_source : 5b478653eee7113cf8a5c7574febbaabf63a7d70
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
dc67ecb627
Bug 842419 (part 2) - Remove unnecessary SRC_CONTINUE notes, and kill off PNX_ENDCOMMA. r=jorendorff.
...
--HG--
extra : rebase_source : bd8c6665824d428aa7a01ff2d77ae872abaac282
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
60cfd7d91a
Bug 842419 (part 1) - Remove unnecessary JSOp arg from EmitBackPatchOp(). r=jorendorff.
...
--HG--
extra : rebase_source : 1066edf46cc5c34cd79a9b021b0e5cd36dfd2403
2013-02-20 17:42:21 -08:00
Bill McCloskey
c330d96d13
Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley)
2013-02-21 18:23:47 -08:00
Phil Ringnalda
f4baf01ffc
Back out b831500ca4be (bug 837714) for bustage
...
CLOSED TREE
2013-02-21 14:26:04 -08:00
Nicolas B. Pierron
43bfa7c9eb
Bug 796114 - Inline with type-checked arguments. r=h4writer
2013-02-21 14:04:49 -08:00
David Anderson
9ac1a2b54c
Prevent GC from occuring during IC linking (bug 837714, r=bhackett).
2013-02-21 13:52:09 -08:00
Bobby Holley
dd7512ef63
Bug 842940 - Remove another instance of cx->isExceptionPending(). r=jorendorff
2013-02-21 13:32:14 -08:00
Bobby Holley
f1af2a1a1a
Bug 842940 - Don't squelch exceptions in Proxy::get. r=jorendorff
2013-02-21 13:32:13 -08:00
Nicholas D. Matsakis
bedf9bc6a2
Bug 842723 - Remove incorrect inlines.h include r=dvander
2013-02-19 09:18:43 -05:00
Hannes Verschore
a599450082
No bug: IonMonkey: Improve debugging spew, r=evilpie
2013-02-21 16:09:39 +01:00
Hannes Verschore
7d603bce3b
Bug 843038: IonMonkey: Correct the definition of when an instruction is part of the loop, r=jandem
2013-02-21 15:56:49 +01:00
Hannes Verschore
8ae37d343f
Bug 843518: IonMonkey: Run alias analysis when UCE removes dependency of an instruction, r=nmatsakis
2013-02-21 15:56:43 +01:00
Brian Hackett
b2370052db
Bug 842424 - Remove assertion.
2013-02-21 07:02:41 -07:00
Brian Hackett
39be382442
Bug 743394 - Ion compile JSOP_EVAL, r=jandem.
2013-02-21 06:56:54 -07:00
Brian Hackett
f2ca6604a4
Bug 842425 - Watch for arrays that need elements converted to doubles when pushing elements, r=jandem.
2013-02-21 06:54:16 -07:00
Brian Hackett
22b027840c
Bug 842424 - Add missing newKind, r=terrence.
2013-02-21 06:46:46 -07:00
Brian Hackett
d2234e4a36
Bug 842305 - Don't try to cleanup values in global frames.
2013-02-21 06:02:45 -07:00
Brian Hackett
e2794b4ee2
Bug 842305 - Watch for null payloads flowing into Ion, r=jandem.
2013-02-21 05:38:44 -07:00
Brian Hackett
08c8c1fa4d
Bug 841367 - Check for suppressed GC before verifying barriers, fix OOM crash, r=billm.
2013-02-21 05:26:57 -07:00
Chuck Lee
ad8cb3fb02
Bug 828782 - 0002. Add new readString function for ctypes to use new inflate function. r=terrence
2013-02-20 11:20:56 +08:00
Chuck Lee
b5c62bbe77
Bug 828782 - 0001. Add inflate function for replacing invalid byte while decoding UTF-8 character. r=terrence
2013-02-20 11:20:54 +08:00
Benjamin Peterson
26c929722f
Bug 842884 - Don't do array assignment optimizations when spread is involved. r=jorendorff
...
--HG--
extra : rebase_source : 70554fd3db325b39319199afbb6101bb6701846d
2013-02-20 14:48:59 -05:00
Nicholas D. Matsakis
55eba7043d
Bug 842729 - Repair merge failures from bug 807853 in TypeOracle and MCallOptimize r=bhackett
2013-02-19 08:30:25 -05:00
Nicholas D. Matsakis
54a0e8fefd
Bug 842745 - Modify timer in JS shell function to take an arbitrary JS function. r=dvander
2013-02-19 09:23:31 -05:00
Eddy Bruel
9d304409ab
Bug 568953 - Parser support for module declarations; r=jorendorff
2013-02-20 20:49:41 +01:00
Eddy Bruel
79f329cefb
Bug 568953 - Refactor FunctionNode; r=jorendorff
2013-02-20 20:15:15 +01:00
Ryan VanderMeulen
4fe28c9eb1
Merge m-c to inbound.
2013-02-20 12:52:59 -05:00
Gregory Szorc
6c3fa08eab
Backout 4682ed369545 (bug 841713) for reftest make target bustage
...
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Benjamin Smedberg
4f2e9aac20
Bug 791244 - Make the hangprocessor pref dependent on RELEASE_BUILD since deploying multidump hasn't happened yet, r=heycam
...
--HG--
extra : rebase_source : 145a4fd0f9cecc8835c56389c2403f8c15c97489
2013-02-20 10:52:16 -05:00