Commit Graph

609 Commits

Author SHA1 Message Date
Jeff Walden
ccfdb076a6 Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke) 2012-02-20 13:56:10 -08:00
Terrence Cole
989ba317e5 Bug 723346 - Make sharpObjectMap a modern HashMap; r=Waldo
This is the last user of the old-style C hashtables in the JS engine.
2012-02-15 17:55:25 -08:00
Jason Orendorff
182708f626 Bug 699565 - Part 5 - for-of loops on arguments objects. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
774282f9ae Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett. 2012-02-07 12:57:16 -06:00
Luke Wagner
9d9892ebfd Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary) 2012-02-01 13:36:48 -08:00
David Mandelin
245953b14d Bug 714616: fix write barrier in Array.shift, r=billm 2012-01-30 17:13:07 -08:00
Luke Wagner
bc39aacc72 Bug 720695 - Fix uint32 overflow and INT32_MIN corner cases in CompareLexicographicInt32 (r=waldo,sgimeno) 2012-01-25 08:54:28 -08:00
Jeff Walden
b580faca5d Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC 2012-01-22 21:22:10 -08:00
Jeff Walden
1071936250 Bug 566700 - Remove sharp-syntax generation from the toSource methods. r=dmandelin 2012-01-20 23:39:37 -08:00
Jeff Walden
f44f87f012 Bug 566700 - Remove sharp variable support. r=dmandelin 2012-01-07 00:55:32 -06:00
Jeff Walden
99e5815528 Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger 2012-01-24 10:29:55 -08:00
Ed Morley
7ccc51c695 Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures 2012-01-24 21:06:59 +00:00
Jeff Walden
1dccfb7fe4 Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger 2012-01-24 10:29:55 -08:00
Jeff Walden
1a10eaa53b Bug 720511 - Make sure indexed elements on prototypes of an array being joined show through in the final join-string. r=luke 2012-01-21 04:05:53 -08:00
Santiago Gimeno
14c361465e Bug 715265 - Optimize all-int array sort and avoid creating a JSString per element when there is no comparator (r=luke) 2012-01-23 14:06:02 -08:00
Jason Orendorff
3d4dd436eb Fix a few typos in comments in js/src. No bug, no_r=me. 2012-01-20 06:11:42 -06:00
Reuben Morais
6c92d3f816 Bug 717805 - Remove CopyArrayElement. r=jwalden 2012-01-17 12:33:08 +01:00
Jeff Walden
6237079b05 Bug 713965 - Replace deleteGeneric (taking a jsid) with deleteByValue (taking a Value), and use the property-type-specific methods exclusively. r=bhackett 2011-12-28 16:33:20 -06:00
Jeff Walden
80ad35d8f6 Bug 714218 - Specialize some get* implementations to do property-type-specific handling, with their getGeneric forwarding to the appropriate specific implementation. r=bhackett 2011-09-15 11:44:10 -07:00
Luke Wagner
6b0f795516 Bug 711273 - rm cruft: JS_REQUIRES_STACK, find-child.py, jsstack.js, fallibility of ClonedBlockObject::put/UnwindScope (r=waldo) 2011-12-20 17:31:28 -08:00
Luke Wagner
63d604536b Bug 713311 - give the remaining scope objects typed interfaces (r=waldo) 2012-01-02 15:02:05 -08:00
Brian Hackett
3f04eff01e Backed out changeset 4282a285d381 (bug 707049 backout). 2011-12-31 07:32:04 -07:00
Ms2ger
4928f1e7af Backout 0d642e4e08cf (bug 707049); requested by evilpie. 2011-12-31 15:13:01 +01:00
Brian Hackett
67b426655e Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm 2011-12-30 20:12:45 -07:00
Kyle Huey
ee2de04626 Back out Bug 711895 for breaking l10n builds. 2011-12-29 15:45:51 -05:00
Nicholas Nethercote
52ddf32559 Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf. 2011-12-28 19:59:19 -08:00
Jeff Walden
12e010ddeb Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Jeff Walden
12997e2396 Bug 707383 - Rename ValueTo{ECMA,}{Ui,I}nt32 so that To{Ui,I}nt32 is the ECMA spec method and NonstandardTo{Ui,I}nt32 is the non-standard JSAPI method functionality. r=luke 2011-12-05 17:10:02 -05:00
Jeff Walden
477d66175a Bug 707061 - Rename js_ValueToString to ToString. Also, consistent with ToObject, make ToString include an inline already-string fast path, and make ToStringSlow be an out-of-line slow path for the case where the value is not a string (asserting that this is the case). r=luke 2011-12-01 19:35:44 -08:00
Brian Hackett
4229cb1c4b Merge MC -> JM 2011-11-26 15:03:20 -08:00
Brian Hackett
87eb0a558d Dense arrays should have numFixedSlots() == 0, regardless of size class. bug 704348 2011-11-21 19:20:39 -05:00
Brian Hackett
de6355b9f3 Merge MC -> JM 2011-11-18 18:02:40 -08:00
Brian Hackett
13318e693a Address bug 694561 review comments, r=luke. 2011-11-18 16:22:52 -08:00
Brian Hackett
7e0b5036e7 Address bug 684507 review comments, r=luke. 2011-11-18 14:59:31 -08:00
Brian Hackett
b6dffe3f24 Address bug 699446 review comments, r=luke. 2011-11-18 14:40:14 -08:00
Brian Hackett
f6bd0c21f7 Address bug 700501 review comments, r=luke. 2011-11-18 13:59:48 -08:00
Brian Hackett
ae4638c3cf Merge MC -> JM 2011-11-14 09:13:33 -08:00
Brian Hackett
b58540799b Get new object empty shapes with a common hash table, bug 701509. 2011-11-10 17:50:05 -08:00
Brian Hackett
c918ed606d Merge MC -> JM 2011-11-10 12:06:26 -08:00
Brian Hackett
c40202fc5c Track whether default 'new' types need unknown properties on the prototype, bug 700501. 2011-11-08 18:34:11 -08:00
Brian Hackett
27c8b6330f Fix incorrect use of obj->setDenseArrayLength, bug 699446. 2011-11-03 14:20:44 -07:00
Brian Hackett
59b6be3feb Add cache for constructing new objects from the VM, bug 699446. 2011-11-03 09:57:12 -07:00
Bill McCloskey
149c5e0297 Bug 701682 - Avoid write barrier when slowifying an array (r=bhackett) 2011-11-14 11:10:22 -08:00
Brian Hackett
28a34056ac Remove JSObject::isNewborn, refactor object creation code, bug 684507. 2011-11-02 13:34:19 -07:00
Brian Hackett
4034938ba3 Root correct array during makeDenseArraySlow, bug 698148. 2011-10-30 08:50:58 -07:00
Brian Hackett
0f1e7be714 Merge MC -> JM 2011-10-27 14:16:02 -07:00
Brian Hackett
2ecf6804fd Merge MC -> JM 2011-10-19 14:26:08 -07:00
Brian Hackett
82400c0d5c Move fixed slot count from JSObject to Shape, bug 594561. 2011-10-14 11:06:15 -07:00
Brian Hackett
7532089095 Move JSObject::parent to BaseShape, bug 638316. 2011-10-13 20:21:36 -07:00
Brian Hackett
d5f6dca29f Remove JSObject::getFunctionPrivate, add call scope to JSFunction, bug 693754. 2011-10-11 15:28:54 -07:00