Commit Graph

2380 Commits

Author SHA1 Message Date
Jeff Walden
d86f0ca99b Bug 985733 - Make assignments into typed arrays use ToNumber-style semantics. r=sfink, r=jandem 2014-03-20 16:38:12 -07:00
Jeff Walden
d4a5932466 Bug 985733 - Refactor element-setting code to not conflate typed array and dense element setting. r=sfink 2014-03-20 10:43:40 -07:00
Jan de Mooij
46c270eade Bug 984836 - Rename StackFrame to InterpreterFrame. r=luke 2014-03-19 09:28:57 +01:00
Brian Hackett
e637b67522 Bug 984766 - Don't give extra fixed slots to array buffer objects with inline storage, r=sfink. 2014-03-18 19:04:22 -06:00
Brian Hackett
77d9394fde Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Chris Peterson
502787e8c3 Bug 983959 - Part 2: Remove unused DebugOnly #includes in js/. r=luke 2014-03-16 22:40:55 -07:00
Brian Hackett
ecf9a81e49 Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-17 11:46:04 -06:00
Jon Coppeard
d6bc187672 Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley 2014-03-17 16:17:58 +00:00
Vivien Nicolas
6c2f3f45e3 Bug 983513 - js/src/jsobj.cpp:2552:48: error: reference to ‘NullPtr’ is ambiguous (--disable-ion). r=nbp 2014-03-17 12:57:29 +01:00
Jeff Walden
6c42ac86b4 Back out dd53db747a5e (bug 945152 part 2) to clear way for other fixing. Should reland in short order (before merge) after those other fixes land. r=backout 2014-03-14 16:38:07 -07:00
Jeff Walden
c4218d28ae Back out b80f97b00d2f (bug 979480), it's in the way of more immediately important work. r=backout 2014-03-14 16:07:43 -07:00
Brian Hackett
83c73650e5 Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-14 12:18:14 -06:00
Shian-Yow Wu
882ab59a56 Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn 2014-03-13 14:32:16 +08:00
Jason Orendorff
77fae5c489 Bug 980016 - Remove SpecialId. r=njn. 2014-03-10 16:32:21 -05:00
Jason Orendorff
70b862a61e Bug 975589, part 4 - Rename js_GetClassObject -> js::GetBuiltinConstructor and make it never return true without the desired constructor actually existing. r=jwalden. 2014-03-10 16:30:40 -05:00
Jason Orendorff
e414270c93 Bug 975589, part 3 - Remove redundant AutoResolving object when resolving a builtin constructor. CallResolveOp still creates one. r=jwalden. 2014-03-10 16:30:21 -05:00
Jason Orendorff
51a5d96389 Bug 975589, part 2 - Avoid recursing in TypedArray initialization. r=jwalden. 2014-03-10 16:29:58 -05:00
Jason Orendorff
1f7f9f3949 Bug 975589, part 1 - Rename js::DefineConstructorAndPrototype -> GlobalObject::initBuiltinConstructor and refactor it a bit. r=jwalden. 2014-03-10 16:29:40 -05:00
Brian Hackett
b478815e1a Bug 980450 - Always initialize outparams in LookupOwnPropertyWithFlagsInline, r=luke. 2014-03-07 09:36:24 -07:00
Nicholas Nethercote
d1cbe582fc Backout 519787a56627 (bug 972712, part 6) and the follow-up 5c9a4a1f2c0b (bug 978227) because ASAN is complaining intermittently about the former. r=me. 2014-03-05 14:19:28 -08:00
Brian Hackett
3fa98b8436 Bug 695438 - Allow all integers in StringIsTypedArrayIndex, r=luke. 2014-03-05 12:32:53 -07:00
Brian Hackett
ad4f1ea180 Bug 695438 - Make typed arrays native objects, allow adding new named properties, r=luke. 2014-03-04 12:42:08 -07:00
Nicholas Nethercote
f3da862905 Bug 972712 (part 6) - Report objects and shapes by their class. r=till. 2014-02-26 18:35:48 -08:00
Luke Wagner
8d45586722 Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz) 2014-02-25 09:43:14 -06:00
Jason Orendorff
1b74ba878c Bug 973566, part 1 - Fix "Assertion failure: offsetsv.isUndefined()" with elements on Object.prototype. r=jimb. 2014-02-26 08:55:35 -06:00
Terrence Cole
96422368cf Bug 919544 - Allow cached object allocation to GC; r=jandem 2014-02-01 12:04:03 -08:00
Bobby Holley
ecaeca92ff Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke 2014-02-21 16:03:11 -08:00
Luke Wagner
05c3cb3e42 Bug 797126 - Remove tinyid/shortid/userid (r=terrence) 2014-02-21 10:24:26 -06:00
Jan de Mooij
91ef327a86 Backout bug 785905, off-thread IonBuilder. r=jorendorff 2014-02-14 13:17:53 +01:00
Jon Coppeard
64c58bd249 Bug 960028 - Use UndefinedHandleValue rather than rooting UndefinedValue() r=sfink 2014-02-11 10:59:16 +00:00
Hannes Verschore
5bc1ffa173 Bug 957542 - Don't over-allocate dynamic slots of ArrayObject, r=bhackett,terrence 2014-02-10 12:33:27 +01:00
Ryan VanderMeulen
b98990be53 Backed out changeset 0e7aa3047ec7 (bug 957542) for ggc crashes. 2014-02-10 09:09:42 -05:00
Hannes Verschore
c72c4bd190 Bug 957542 - Don't over-allocate dynamic slots of ArrayObject, r=bhackett 2014-02-10 12:33:27 +01:00
Bobby Holley
36014f2922 Bug 966845 - Make ensureConstructor and initConstructor static. r=Waldo 2014-02-05 13:50:21 -08:00
Andy Wingo
90eb1ddb5d Bug 966912 - Part 2: Add StaticWithObject to the static scope chain r=luke 2014-02-04 18:18:19 +01:00
Andy Wingo
5a26d42e85 Bug 966912 - Part 1: Rename blockChain to staticScope r=luke 2014-02-04 14:24:42 +01:00
Shu-yu Guo
b5e45e2e91 Bug 966181 - Rename ForkJoinSlice to ForkJoinContext. (r=pnkfelix) 2014-01-31 14:57:57 -08:00
Bobby Holley
e82895955c Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff 2014-01-30 07:45:16 -08:00
Bobby Holley
7430a3b53c Bug 959012 - Create separate js_GetClassPrototype and js_FindClassPrototype to mimic js_{Get,Find}ClassObject. r=jorendorff
The current behavior is crazy, and most definitely not Xray-safe.
2014-01-30 07:45:16 -08:00
Bobby Holley
2af5b79e00 Bug 959012 - Move js_GetClassObject creation logic into GlobalObject. r=jorendorff 2014-01-30 07:45:16 -08:00
Eric Faust
06f485380a Bug 924720 - Part 0: Free up spare JSClass flags. (r=jwalden) 2014-01-29 17:20:15 -08:00
Jon Coppeard
ebf59c8c2c Bug 959787 - Handlify some JS friend APIs r=sfink 2014-01-29 10:01:33 +00:00
Chris Peterson
8fd820ee68 Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke 2014-01-24 20:14:56 -08:00
Chris Peterson
c49c31dada Bug 964016 - Part 2: Replace JS_UNLIKELY with MOZ_UNLIKELY. r=luke 2014-01-24 19:57:58 -08:00
Chris Peterson
160d063513 Bug 964016 - Part 1: Replace JS_LIKELY with MOZ_LIKELY. r=luke 2014-01-25 22:04:37 -08:00
Bobby Holley
7247f806d7 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
c3cd15a3a3 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
Nicolas B. Pierron
0c8d2b7b57 Bug 920322 - XDR/Clone singletons. r=bhackett,jandem 2014-01-23 06:43:28 -08:00
Steve Fink
6bbab79264 Bug 960342 - Convert StackShape from AutoRooter to RootedGeneric, r=terrence 2014-01-22 11:52:44 -08:00
Luke Wagner
8babdf0aca Bug 961969 - Include nfixed in StackShape's key (r=billm) 2014-01-21 14:03:31 -06:00