Commit Graph

214 Commits

Author SHA1 Message Date
Ms2ger
848f0e8e1d Bug 784619 - Remove JS_PROPERTY_CACHE; r=evilpie 2012-09-06 09:14:49 +02:00
Luke Wagner
9c7bbcf21c Bug 784639 - Fix SetNameOperation to not use cx->fp since it is wrong for jit-inlined calls (r=bhackett)
--HG--
extra : rebase_source : 046400a0df483fe5d8e1a7cb96219fb9416d1be8
2012-08-22 10:57:42 -07:00
Brian Hackett
d80b30ab38 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
Luke Wagner
083ee54000 Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett) 2012-08-17 18:09:43 -07:00
Till Schneidereit
a43cefeb72 Bug 462300 - Embed self-hosted scripts and compile into special compartment. r=bhackett, r=gerv, r=ted 2012-07-23 23:01:54 +02:00
Brian Hackett
351f5c5702 Add various autorooting, bug 772303. r=terrence 2012-08-12 19:50:49 -06:00
Till Schneidereit
75655298f7 Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 82852ba6bf800e4d87f64b178a963e71323af391
2012-07-10 00:11:39 +02:00
Ed Morley
4eefe4d834 Backout f84910a8474a (bug 462300) for crashes in xpcshell 2012-07-31 19:16:54 +01:00
Till Schneidereit
472c87095c Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 90e33d171ac0b79aebdf2f652909d72dd7ae2601
2012-07-10 00:11:39 +02:00
Brian Hackett
ffc948bbbe Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Luke Wagner
d045bcabab Bug 680562 - Remove CHECK_INTERRUPT_HANDLER (r=jimb) 2012-07-08 03:07:25 -07:00
Brian Hackett
d270a70bec Add more rooters, bug 772303. r=billm 2012-07-10 19:17:29 -06:00
Luke Wagner
eb291f3ab2 Bug 771998 - add Handle<Value> specialization that is better suited for Value (r=billm)
--HG--
extra : rebase_source : b52fd5f8f6dda2343d1e4266dee6385ae9ef7a7a
2012-07-10 15:48:07 -07:00
Bill McCloskey
b6e81abbe8 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
d57947baca Backed out changeset fe305819d2f2 (bug 771026) for orange 2012-07-04 20:22:30 -07:00
Bill McCloskey
ab72b4aa50 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
252cf2ecc5 Bug 771018 - Replace "const Shape" with "Shape" (r=luke) 2012-07-04 19:33:41 -07:00
Bill McCloskey
1775e92469 Bug 770999 - Add get() method to Handle<T> and Rooted<T> (r=bhackett) 2012-07-04 13:34:42 -07:00
Bill McCloskey
2100b10524 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Jeff Walden
32c8d105c1 Bug 769132 - Add a receiver argument to all the set-property APIs. r=luke 2012-06-27 20:21:39 -07:00
Ryan VanderMeulen
a0705f936c Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange. 2012-06-30 11:09:26 -04:00
Jeff Walden
11a901c6a4 Bug 769132 - Add a receiver argument to all the set-property APIs. r=luke
--HG--
extra : rebase_source : 0ee388ad61955291a348639ae22cea07808cb4f6
2012-06-27 20:21:39 -07:00
Luke Wagner
729414cc16 Bug 767667 - fix getelem on optimized arguments (r=bhackett)
--HG--
extra : rebase_source : 76bc7c41a56853459596fa2e6bd573c9f42e9a83
2012-06-28 22:50:15 -07:00
David Mandelin
325c507ceb Bug 746036: stop querying for the current script in GetNameFromBytecode, r=bhackett 2012-06-25 18:04:01 -07:00
Steve Fink
eb11f4ed66 Bug 734215 - Typed array property access should allow proxies. r=luke 2012-06-25 17:22:37 -07:00
Matt Brubeck
6925f4bb94 Back out d861452b261c (bug 734215) and 784b7a971022 (bug 730873) because of build failure 2012-06-27 16:53:17 -07:00
Steve Fink
51bb0739ba Bug 734215 - Typed array property access should allow proxies. r=luke
--HG--
extra : rebase_source : 5f5c5db8a9b0453147ac8914ac3442d5905fc874
2012-06-25 17:22:37 -07:00
Jeff Walden
9eb451a896 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Ed Morley
712c4f68c8 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
5202bce28f Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Jeff Walden
af77cfc42f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
4261b23151 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Jeff Walden
f63db7ff7f Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
--HG--
extra : rebase_source : 44f039cd09ac2ab1825e7f9fd1e2a01f5907bb67
2012-06-12 16:03:10 -07:00
Terrence Cole
bc6b6320e6 Bug 761391 - Add some more exact stack rooters; r=bhackett
Another bevy of missing roots brought about by recent churn.
2012-06-05 16:52:41 -07:00
Luke Wagner
2ac6da719e Bug 659577 - Don't alias stack variables (r=bhackett)
--HG--
rename : js/src/jit-test/tests/basic/testBug659577.js => js/src/jit-test/tests/basic/testBug659577-1.js
2012-02-23 13:59:10 -08:00
Luke Wagner
705d064b67 Bug 756919 - Handle prologue failure in ScopeIter (r=jimb) 2012-05-25 11:44:41 +02:00
Brian Hackett
1573459c2b Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Brian Hackett
b8298cecde Remove Root<T>, bug 756823. r=billm 2012-05-24 08:52:21 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Tom Schuster
55fd8ff0a0 Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff 2012-05-19 21:56:17 +02:00
Brian Hackett
9ae1966596 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Luke Wagner
48a4a689d4 Bug 690135 - create scope objects eagerly or not at all (r=jimb)
--HG--
extra : rebase_source : 6b1e37699e0556685b1ed88fa15ab380428b6ffa
2011-12-20 17:42:45 -08:00
Brian Hackett
3e6dfb0349 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Steve Fink
7aee790f0d Bug 741039 - Modify TypedArrays and ArrayBuffers to comply with the WebIDL spec. r=Waldo
WebIDL 4.4.6 says Float32Array.prototype is not a platform object and should throw TypeErrors when any of the Float32Array attributes is accessed. This patch makes obj->isTypedArray only succeed for actual TypedArray instances, and adds TypeErrors when special properties are retrieved from the prototypes.

This patch also eliminates some lingering uses of TypedArray::getTypedArray and makes it and getArrayBuffer static within jstypedarray.cpp. (Both are used for objects whose prototypes are typed arrays or array buffers.)

--HG--
extra : rebase_source : 93032b5c8dc98c4e18eec4fa438f6a9a4173487d
2012-04-23 15:13:02 -07:00
Brian Hackett
0079174207 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Luke Wagner
3df006c487 Bug 746843 - change StackFrame::scopeChain() to return a HandleObject (r=bhackett)
--HG--
extra : rebase_source : 8306a740d784a6f8cb7d8160125fb37e3270a64e
2012-04-13 18:06:40 -07:00
Tom Schuster
fef9c89dba Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Brian Hackett
71506db37a Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00