Commit Graph

2380 Commits

Author SHA1 Message Date
Tom Schuster
ee29fb2e04 Bug 1069694 - Remove OldDebugAPI from js/src. r=shu 2014-10-12 19:37:40 +02:00
Jason Orendorff
448bc4a4ce Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust. 2014-09-26 19:39:35 -05:00
Jon Coppeard
819b1d5550 Bug 1075546 r=terrence 2014-10-08 08:32:28 +01:00
Brian Hackett
5af358b89d Bug 1073842 - Rename ObjectImpl to NativeObject, sr=luke. 2014-10-07 18:50:34 -07:00
Brian Hackett
6ce4b5bfe8 Bug 1073842 - Move NativeObject manipulating methods into more appropriate files, sr=luke. 2014-10-06 04:05:40 -07:00
Brian Hackett
0f98f3b75c Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke. 2014-10-02 19:32:39 -07:00
Jim Blandy
f56bed2fe1 Bug 1075591: Make js::gc::TenuredCell::asTenured return a TenuredCell &, not a TenuredCell *. r=terrence 2014-10-02 10:19:11 +01:00
Ryan VanderMeulen
ebe3c51842 Backed out changeset 31a25f47264b (bug 1067942) for Linux mochitest-other crashes.
CLOSED TREE
2014-10-01 13:39:22 -04:00
Nicolas B. Pierron
9d5a7dcd11 Bug 1074911 - Replace JS_ASSERT_IF by MOZ_ASSERT_IF. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT_IF(/ {
     s/JS_ASSERT_IF(/MOZ_ASSERT_IF(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT_IF (/MOZ_ASSERT_IF(/;
'
2014-10-01 19:17:53 +02:00
Nicolas B. Pierron
cb753ff627 Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT(/ {
     s/JS_ASSERT(/MOZ_ASSERT(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT (/MOZ_ASSERT(/;
'

Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Till Schneidereit
3cdd7775ad Bug 1067942 - Change error message for attempted getter-only property writes to include the property name. r=terrence,Ms2ger 2014-09-30 01:17:55 +02:00
Till Schneidereit
ebd2949f9f Bug 1067459 - Only install a small subset of the standard builtins in the self-hosting global. r=jorendorff 2014-09-16 10:01:09 -04:00
Jon Coppeard
f59d9f3bd6 Bug 1073577 - Fix new object cache interactions with moving GC r=terrence 2014-09-30 13:20:48 +01:00
André Bargull
ea42fa74b9 Bug 1068589 - Remove forced extensible check before calling JSObject::preventExtensions. r=jwalden 2014-09-23 22:47:01 +02:00
Ryan VanderMeulen
9523f478b9 Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Nicolas B. Pierron
31e3c59a8f Bug 1067489 - IonMonkey: Make |this| recoverable. r=shu 2014-09-25 19:12:55 +02:00
Nick Fitzgerald
d24bfaec71 Bug 947044 - Provide a suggestion when throwing ReferenceError: <name> is not defined. r=luke 2014-09-23 16:34:00 +02:00
Shu-yu Guo
2d9dd3a1de Bug 1070462 - Have BINDNAME push a poison scope on uninitialized lexical lookup. (r=Waldo) 2014-09-23 15:43:27 -07:00
Tom Schuster
27edac60d0 Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Bill McCloskey
f5ca37e1b4 Bug 1053999 - Investigation for JS_TransplantObject crash (r=bholley) 2014-09-18 08:56:56 -07:00
Terrence Cole
020442a721 Bug 1068223 - Clean up the Cell hierarchy; r=jonco 2014-09-17 10:32:37 -07:00
Lars T Hansen
5de5662bf1 Bug 1054882 - Rollup patch. r=till, r=sstangl, r=jorendorff 2014-09-16 18:45:31 +02:00
Shu-yu Guo
1f66fe8c0c Bug 1001090 - Part 1: Implement let temporal dead zone in the frontend and interpreter. (r=Waldo) 2014-09-15 16:30:45 -07:00
Jan de Mooij
20a0e6367b Bug 1066197 part 3 - Move some iterator functions into js namespace, remove js_ prefix. r=bhackett 2014-09-15 09:58:27 +02:00
Jason Orendorff
9a927c23ae Bug 1065507, part 4 - Remove js_GetterOnlyPropertyStub. 2014-09-10 12:55:46 -05:00
Eric Faust
a75e6b2b4b Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv) 2014-09-10 15:52:36 -07:00
ziyunfei
cc4bb4198e Bug 1063915 - Make dumpValue() support symbols. r=evilpie 2014-09-06 18:21:20 +08:00
Nicholas Nethercote
c219e7bd97 Bug 1040593 (attempt 2) - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett. 2014-08-27 23:35:57 -07:00
Wes Kocher
749ba31f1c Backed out changeset 94eed55e5a5b (bug 1040593) on a CLOSED TREE 2014-09-04 18:00:59 -07:00
Nicholas Nethercote
81884b686f Bug 1040593 - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
This patch makes |new Array(N)| always allocate at least
|EagerAllocationsMaxLength| elements up front.

It also changes |EagerAllocationsMaxLength| from 2048 to 2046, so that when the
two extra slots needed for |ObjectElements| are included, the resulting
allocation size is a power-of-two.
2014-08-27 23:35:57 -07:00
Brian Hackett
963503655c Bug 894596 - Bake the values of constant global variables into Ion code, r=jandem. 2014-09-03 09:54:41 -06:00
Brian Hackett
8e9823d32c Bug 1041688 - Add acquired properties analysis, r=jandem. 2014-09-02 13:47:34 -06:00
Jon Coppeard
510f7fc33b Bug 650161 - Fix up shared object elements from copy on write arrays r=terrence 2014-09-02 11:07:22 +02:00
Eric Faust
a2e1eeb974 Bug 1058869 - Don't forget about Arrays for attribute-only Object.defineProperty calls. (r=jorendorff) 2014-08-29 14:59:51 -07:00
Brian Hackett
b7059d045f Bug 1057571 - Allow copy on write arrays in non-compileAndGo code, r=jandem. 2014-08-27 09:12:10 -07:00
Brian Hackett
efd43ee104 Bug 1057219 - Add write barrier for the owner of COW elements, r=billm. 2014-08-26 14:12:23 -07:00
Brian Hackett
3736f53b2c Bug 894596 - Bake constant valued object properties into jitcode when possible, r=jandem, patch mostly written by djvj. 2014-08-26 12:30:36 -07:00
Nicholas Nethercote
839b9e4e7b Bug 1023719 - Report notable classes in the JS memory reporter. r=till. 2014-04-15 19:43:18 -07:00
Jeff Walden
4b2decd871 Bug 969478 - Make the arguments/caller properties of functions be entirely implemented by accessors living on Function.prototype. r=jorendorff 2014-08-01 19:11:22 -07:00
Jeff Walden
8f1794753f Bug 1055818 - Fix findReferences-02.js to account for the nulling out of binding BaseShape parents in bug 961969. r=luke 2014-08-19 16:18:07 -07:00
Bobby Holley
5e56e20a5f Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Terrence Cole
b2e7fa6fbc Bug 1033442 - Add allocation functions to Cell to make it more obvious which allocator to use; r=jonco 2014-08-08 17:00:46 -07:00
Brian Hackett
f7d8523463 Bug 934450 - Allow objects to have copy on write elements, r=billm,jandem. 2014-08-19 22:25:37 -08:00
Eric Faust
70345e74c9 Bug 1037770 - Stop erroneously defaulting property values for Object.defineProperty on a proxy. (r=jorendorff) 2014-08-19 16:14:08 -07:00
Nicholas Nethercote
4c3e2551a3 Bug 1052248 - Tweak the goodAllocated heuristics. r=bhackett. 2014-08-11 23:21:09 -07:00
Jason Orendorff
684bf9bf97 Bug 1037718 - Remove JS_GetTypeName. r=jwalden. 2014-08-06 07:17:04 -05:00
Jason Orendorff
843e660ead Bug 1041261, part 1 - A collection of minor fixes inside the JS engine involving symbol jsids. r=terrence. 2014-07-31 16:21:13 -05:00
Shu-yu Guo
34c61e8d72 Bug 1041126 - Set singleton types on interned object literals and fix cloning and XDRing singleton-typed objects. (r=bhackett) 2014-08-11 13:21:33 -07:00
Brian Hackett
1d803e743f Bug 1051155 - Simplify and clean up TypeNewScript, r=jandem. 2014-08-11 10:44:25 -08:00
Nicholas Nethercote
55fbeb3ec6 Bug 1048754 - Handle creation of small power-of-two-sized arrays better. r=bhackett. 2014-08-07 23:05:17 -07:00