Commit Graph

36612 Commits

Author SHA1 Message Date
Luke Wagner
52334af117 Bug 1091916 - simplify the interrupt/jitStackLimit situation (r=bhackett) 2014-10-30 17:35:35 -05:00
Steve Fink
ad212a2094 Bug 1074961 - Part 12: Simplify the locking in releaseArena; r=sfink
--HG--
extra : amend_source : 45ad5e52ee44ca41216ee15f9c6142c37a5cd106
2014-11-10 14:55:29 -08:00
Wes Kocher
f3e280bba4 Backed out changeset 6a96e15c810c (bug 1093307) for ggc bustage on a CLOSED TREE 2014-11-10 14:40:59 -08:00
Wes Kocher
8f5483146c Backed out changeset fdcf11277625 (bug 1074961) for ggc bustage on a CLOSED TREE 2014-11-10 14:37:25 -08:00
Terrence Cole
1340af8090 Bug 1074961 - Part 12: Simplify the locking in releaseArena; r=sfink
--HG--
extra : rebase_source : 3b1f8e728a31948a1bcb04aa3a46a5ea2b216aa4
2014-11-06 14:03:09 -08:00
Terrence Cole
6f5d4a82de Bug 1093307 - Part 2: Make OOM flushing paths more straightforward; r=jonco
--HG--
extra : rebase_source : 4634215f64ea96c2057f4ff609119b2a6cad008f
2014-11-06 14:03:05 -08:00
Nathan Froyd
d27be95ebc Bug 1095633 - part 2 - remove HAVE_CPP_TROUBLE_COMPARING_TO_ZERO bits from the build system; r=mshal 2014-11-07 14:08:13 -05:00
Nicolas B. Pierron
6a9d0a08b3 Bug 1095284 - Fix test case, check that ParallelJS is enabled. r=shu 2014-11-10 14:04:00 +01:00
Emanuel Hoogeveen
7f9f5f7dab Bug 1084651 - Part 6: Rename SliceBudget::reset to the less misleading makeUnlimited. r=billm 2014-11-04 07:35:00 +01:00
Emanuel Hoogeveen
95949b525e Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=billm 2014-11-04 08:17:00 +01:00
Emanuel Hoogeveen
de36acb97c Bug 1084651 - Part 4a: Adjust some tests to preserve previous behavior. r=billm 2014-10-21 11:50:00 +02:00
Emanuel Hoogeveen
4dfc42b7c5 Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=billm 2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
6941fb3fd3 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=billm r=mccr8 2014-10-22 14:13:00 +02:00
Emanuel Hoogeveen
9231874cdc Bug 1084651 - Part 1: Thread SliceBudget through several functions to choose the budget type at the source. r=billm 2014-11-07 13:05:00 +01:00
Steve Singer
61bc51b889 Bug 1096052 - Add unboxNonDouble to the None MacroAssembler. r=bhackett 2014-11-09 18:08:00 +01:00
Nick Fitzgerald
d44fae4043 Bug 1083456 - Part 1: Add JS_TraceIncomingCCWs. r=terrence 2014-11-07 11:56:00 +01:00
Jason Orendorff
e1fae76663 Bug 1090537, part 12 - Change SetNonexistentProperty to use only receiver, not obj. No change in behavior. r=efaust.
(The behavior doesn't change because Unqualified is only passed from two call sites, and in both places, the same object is passed for both receiver and obj.)

--HG--
extra : rebase_source : 9e71c3aca2d35829c9be8386e4855ad050e12a13
extra : amend_source : 3f95d45b5d630f4a2d45869c84520b28dc936792
2014-10-25 11:24:55 -05:00
Jason Orendorff
fbc4057168 Bug 1090537, part 11 - Delete a special case for arrays in SetNonexistentProperty that is (a) unreachable; (b) redundant with a check in DefinePropertyOrElement. r=efaust.
The code being deleted would be ineffective even if we did have Reflect.set, but Reflect.set does enable a very near miss (where receiver, not obj, is an array), so we leave a sleeper test for that case.

--HG--
extra : rebase_source : ea38558aaa9e52ebb999cf1eea53abfde5608161
2014-10-28 12:49:17 -05:00
Jason Orendorff
f678c3bb6c Bug 1090537, part 10 - Factor out SetNonexistentProperty. No change in behavior. r=efaust.
--HG--
extra : rebase_source : f9bbad80dcb455bfccb5ad9cead6dcb7b53d71d3
2014-11-07 13:02:49 -06:00
Jason Orendorff
eee003c854 Bug 1090537, part 9 - Just move SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 8accf39f3c7e3d9d4121244213173aa5581f57d3
2014-11-07 13:00:50 -06:00
Jason Orendorff
71f2ace8eb Bug 1090537, part 8 - In SetPropertyHelper, if defining a new data property, define it on receiver, not obj. r=efaust.
Most of the diff is just renaming an argument. The only new code is necessary because unlike obj, receiver can be non-native.

--HG--
extra : rebase_source : 115769a212724dddec315663a7a7e71a9abaa992
2014-10-18 16:49:50 -05:00
Jason Orendorff
5ab816f69d Bug 1090537, part 7 - Eliminate useless attrs argument to SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 4eb90cb86d576f9014265b9b00808a099f589915
2014-10-18 16:43:25 -05:00
Jason Orendorff
76d852286b Bug 1090537, part 6 - Factor out a big chunk of SetPropertyHelper into a separate function template, SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 5bd292385b3d2a04f28311305a1cb99b27494193
2014-10-18 16:30:32 -05:00
Jason Orendorff
c42c34a04e Bug 1090537, part 5 - Remove legacy special case in baseops::SetPropertyHelper that cloned the getter and setter of JSPROP_SHADOWABLE properties when shadowed on another native object. r=Waldo.
--HG--
extra : rebase_source : c1478c335a9f5a1484b87ce9c566f1f8c4d9f20d
2014-10-15 14:05:29 -05:00
Jason Orendorff
554e5e3e19 Bug 1090537, part 4 - Take NativeSet private. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 1c802d28c3f828412624cdcc689fa4a76ee3e59c
2014-10-15 12:08:37 -05:00
Jason Orendorff
b7988df161 Bug 1090537, part 3 - Pass receiver argument through from JSObject::setGeneric and setElement to Proxy::set. r=efaust.
ES6 specifies [[Set]] as an operation taking both a "this" object and a "receiver" parameter. Both JSObject::setGeneric and Proxy::set support the receiver parameter, but ObjectOps::setGeneric does not; in this patch, we add a little workaround for that. The test shows how this is observable using only standard builtins.

The changes in JSObject::setElement are untestable since currently all call sites pass the same value for obj as for receiver.

(This was reviewed as "part 2" but it was necessary to switch parts 2 and 3 and add part 2b.)

--HG--
extra : rebase_source : 617decfa9be34b01a0f923a9717ad2544d913af9
2014-10-15 22:54:57 -05:00
Jason Orendorff
66460e97d2 Bug 1090537, part 2b - In Proxy::set, do not assume that proxy == receiver or that both have the same handler. r=efaust, r=bholley.
--HG--
extra : rebase_source : 0aa0e3e37a2a95f3cfa0399e4380de73a95ab48a
2014-10-28 20:58:36 -05:00
Jason Orendorff
940ab6cec8 Bug 1090537, part 2a - In BaseProxyHandler::set(), do not assume that proxy == receiver or that both have the same handler. r=efaust.
(This was reviewed as "part 3" but it was necessary to switch parts 2 and 3 and add part 2b.)

--HG--
extra : rebase_source : 7ae9ba80620475ff3e001e7b1e041c98194152a6
extra : source : dd32aa64b825cff02ce72df7533cbcc57f782f8f
2014-10-16 08:06:13 -05:00
Jason Orendorff
3e771fa684 Bug 1090537, part 1 - Remove an old hack where Proxy::hasOwn permitted SET access. r=bholley.
The comments being deleted here are incorrect; Proxy::set no longer calls handler->hasOwn().

--HG--
extra : rebase_source : 328433d668e99e99373d77bb1956291fb788fac9
2014-10-17 07:33:57 -05:00
Luke Wagner
780a49b605 Bug 1094570 - OdinMonkey: tidy up TryEnablingIon (r=hannes) 2014-11-05 17:30:30 -06:00
Tom Schuster
107172fa13 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Tom Schuster
93dc15aa0c Bug 993026 - Change resolve hook in browser/XPC. r=bholley 2014-11-08 01:07:12 +01:00
Tom Schuster
e34d3251d3 Bug 993026 - Simplify JS resolve hook. r=jorendorff 2014-11-08 01:07:12 +01:00
Tom Schuster
9d229e017e Bug 993026 - Change XPIDLScriptable NewResolve to simpler Resolve. r=bholley 2014-11-08 01:07:12 +01:00
Tom Schuster
6e143a6b0c Bug 1091900 - Move ForOfIterator to its own file. r=jandem
--HG--
rename : js/src/jsiter.cpp => js/src/vm/ForOfIterator.cpp
2014-11-08 01:07:12 +01:00
Tom Schuster
2a73ddb7b1 Bug 1091900 - Remove iteratorObject hook. r=jorendorff
* * *
Bug 1091900 - Fix build on CLOSED TREE
2014-11-05 20:36:49 +01:00
Tom Schuster
1df697b523 Bug 1094189 - Remove shell resolver function. r=jorendorff 2014-11-05 20:36:48 +01:00
ziyunfei
c6824ff05e Bug 1079120 - Make ToNumber(string) support binary and octal literals. r=till 2014-10-07 02:25:00 -04:00
Boris Zbarsky
391d322f40 Bug 1095308. Remove some compileAndGo checks from frontend::CompileScript. r=luke 2014-11-07 14:10:39 -05:00
Ryan VanderMeulen
46a45c9ea7 Merge m-c to mozilla-inbound. a=merge 2014-11-07 13:44:04 -05:00
Jim Blandy
dc603a0a97 Bug 1060093: Report cloned scripts to Debugger. r=billm 2014-11-07 10:29:21 -08:00
Ryan VanderMeulen
beecc739b3 Merge inbound to m-c. a=merge 2014-11-07 13:24:00 -05:00
Carsten "Tomcat" Book
8a65bd2299 Backed out changeset 9fa06a2e1a98 (bug 1092156) for breaking nightly builds 2014-11-07 16:35:14 +01:00
Carsten "Tomcat" Book
659b5581e6 Backed out changeset f786dcb23eca (bug 1092156) 2014-11-07 16:34:22 +01:00
Carsten "Tomcat" Book
678d99da88 Merge mozilla-central to mozilla-inbound 2014-11-07 15:34:32 +01:00
Carsten "Tomcat" Book
96db62a207 Backed out changeset 206012ab9d08 (bug 1084651) for too much hazard failures 2014-11-07 15:31:23 +01:00
Carsten "Tomcat" Book
d36f80d22b Backed out changeset ebdebc9251be (bug 1084651) 2014-11-07 15:30:49 +01:00
Carsten "Tomcat" Book
01f9ccc33e Backed out changeset b34ff39fc966 (bug 1084651) 2014-11-07 15:30:47 +01:00
Carsten "Tomcat" Book
67396b4a70 Backed out changeset 94197c33cf82 (bug 1084651) 2014-11-07 15:30:45 +01:00
Carsten "Tomcat" Book
fbde18b5db Backed out changeset d1acde27d97e (bug 1084651) 2014-11-07 15:30:39 +01:00