David Anderson
edaeadf3ad
Merge from mozilla-central.
2012-05-21 14:40:04 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Till Schneidereit
13d215507a
Bug 763800 - Changes GCHelperThread to work on the main thread in non-threadsafe builds and removes lots of henceforth redundant #ifdef JS_THREADSAFE's (r=billm)
2012-06-13 11:27:45 +02:00
David Anderson
68a2caab6c
Merge from mozilla-central.
2012-05-08 17:34:07 -07:00
David Anderson
500c4ec73e
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsRootAccessible.cpp => accessible/src/generic/RootAccessible.cpp
rename : accessible/src/base/nsRootAccessible.h => accessible/src/generic/RootAccessible.h
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
2012-05-04 19:16:35 -07:00
David Anderson
d1f7c1b50b
Merge from mozilla-central.
2012-05-03 11:40:52 -07:00
Tom Schuster
9827e8040d
Bug 749620 - Add missing power of 10 for edge case. r=luke
2012-05-02 16:11:00 +02:00
David Anderson
4ba6ace977
Merge from mozilla-central.
...
--HG--
rename : accessible/src/atk/nsApplicationAccessibleWrap.cpp => accessible/src/atk/ApplicationAccessibleWrap.cpp
rename : accessible/src/atk/nsApplicationAccessibleWrap.h => accessible/src/atk/ApplicationAccessibleWrap.h
rename : accessible/src/base/nsApplicationAccessible.cpp => accessible/src/generic/ApplicationAccessible.cpp
rename : accessible/src/base/nsApplicationAccessible.h => accessible/src/generic/ApplicationAccessible.h
rename : browser/devtools/webconsole/test/browser_gcli_integrate.js => browser/devtools/shared/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser_gcli_web.js => browser/devtools/shared/test/browser_gcli_web.js
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-30 12:53:32 -07:00
David Anderson
ba81f28215
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsFormControlAccessible.cpp => accessible/src/generic/FormControlAccessible.cpp
rename : accessible/src/base/nsFormControlAccessible.h => accessible/src/generic/FormControlAccessible.h
rename : accessible/src/html/nsHTMLFormControlAccessible.cpp => accessible/src/html/HTMLFormControlAccessible.cpp
rename : accessible/src/html/nsHTMLFormControlAccessible.h => accessible/src/html/HTMLFormControlAccessible.h
rename : accessible/src/xul/nsXULFormControlAccessible.cpp => accessible/src/xul/XULFormControlAccessible.cpp
rename : accessible/src/xul/nsXULFormControlAccessible.h => accessible/src/xul/XULFormControlAccessible.h
2012-04-18 10:23:31 -07:00
Brian Hackett
f846f2d027
Disallow non-canonical jsids, bug 751331. r=luke
2012-05-06 13:45:19 -07:00
Bill McCloskey
9a4cdd8394
Bug 768732 - Write barrier for array slowification (r=bhackett)
2012-06-30 14:29:09 -07:00
Jeff Walden
48d3ba0aaf
Bug 769132 - Add a receiver argument to all the set-property APIs. r=luke
2012-06-27 20:21:39 -07:00
Ryan VanderMeulen
d3f4db6b67
Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange.
2012-06-30 11:09:26 -04:00
Jeff Walden
69e1c26e5e
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
Steve Fink
ec5e317f09
Bug 767141 - moar rooting. r=bhackett
...
Believed to be complete rooting for jsapi.cpp, ctypes/CTypes.cpp, and frontend/BytecodeCompiler.cpp, and lots of rooting for additional things I encountered along the way
--HG--
extra : rebase_source : 638ab985e7d9c96654347364d053bb4a3acf3b36
2012-06-21 14:19:21 -07:00
Luke Wagner
6359cf9f42
Bug 768446 - Remove StackIter::sp_ (r=dvander)
...
--HG--
extra : rebase_source : 4a2e40e8cc8d8bddcefd2a2687354b5dacd3f248
2012-06-29 10:34:09 -07:00
Jeff Walden
eccdfcb902
Bug 769041 - Remove __proto__ special-casing from arrays' getProperty hook. r=luke
2012-06-27 14:32:03 -07:00
David Anderson
a007e37c01
Merge from mozilla-central.
2012-04-04 13:40:49 -07:00
Jan de Mooij
b6052065ee
Bug 739572 part 1 - Inline array.pop and array.shift. r=dvander
2012-04-03 09:26:15 +02:00
Eddy Bruel
adf48063d1
Bug 703537: Removing the fix trap r=jorendorff@mozilla.com
2012-04-27 17:09:32 -04:00
Jeff Walden
8bbedc5d21
Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke
...
--HG--
extra : rebase_source : 9adeb7048427d501dddc4a13b735309f7b1207c6
2012-04-19 16:18:24 -07:00
Brian Hackett
5932dbcb76
Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm
2012-04-30 17:10:30 -07:00
Nicholas Nethercote
6ca9f23930
Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
...
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Ed Morley
5a59a93dac
Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage
2012-06-21 10:00:36 +01:00
Jeff Walden
5593b79924
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
61187f190b
Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ
2012-06-20 15:49:56 -07:00
Jeff Walden
f0f8f1fd8b
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
19a35f7f33
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
...
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 3eb96a33102f0b76438dbb79ecb46e817bc1b767
2012-05-01 14:30:18 -07:00
Matt Brubeck
fd49ebbe60
Back out 682bf201edde, ef35ba222ac8, and 6a20cf61289d (bug 750907, bug 751003, bug 751377) because of build failure on a CLOSED TREE
...
--HG--
rename : js/src/gc/Marking.cpp => js/src/jsgcmark.cpp
rename : js/src/gc/Marking.h => js/src/jsgcmark.h
2012-05-03 14:55:52 -07:00
Jeff Walden
860db51b6d
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
...
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 2829c44da4316ceb6af0f4627158e337dd6ba28a
2012-05-01 14:30:18 -07:00
Jeff Walden
bfba482500
Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin
2012-03-21 13:32:43 -07:00
Brian Hackett
8d76a85fea
Rename RootedVar to Rooted, bug 756823. r=billm
2012-05-24 16:05:18 -07:00
Luke Wagner
e89e33891b
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
Nicholas Nethercote
1dae898653
merge
2012-03-21 21:48:40 -07:00
Nicholas Nethercote
7ac3a573ad
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Nicholas Nethercote
e2181e8fb2
Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt.
2012-03-15 19:40:00 -07:00
Jeff Walden
e823461381
Bug 728411 - Move slot range operations into ObjectImpl. r=bhackett
...
--HG--
extra : rebase_source : 704d67267923e019df82de7f77f60b48c6c62128
2012-02-23 15:39:32 -08:00
Luke Wagner
4d418a1913
Bug 720753 - hoist NewObjectCache from JSCompartment into JSRuntime (r=bhackett)
2012-05-03 09:12:47 +02:00
Jim Blandy
bd7212f7b7
Bug 777174: Change CallNonGenericMethod to take the predicate and implementation as template arguments, not function arguments. r=luke
...
On x86_64 Fedora 17, this patch yields an 8ms (1.6%) speedup on SunSpider compared to the tree just prior to the introduction of CallNonGenericMethod, or a ~12ms (2.8%) speedup compared to the tree just after the introduction.
2012-08-16 11:40:05 -07:00
Brian Hackett
1cb6d6b979
Add more rooters, bug 772303. r=billm
2012-07-10 19:17:29 -06:00
Brian Hackett
d55ff730fa
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Tom Schuster
5f6d13c6fc
Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff
2012-05-19 21:56:17 +02:00
Brian Hackett
66d81d0a7e
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
7235558c07
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Jeff Walden
5c6c907477
Bug 773850 - Refactor method guarding to be able to work for methods that must be able to accept a |this| which is a proxy. r=luke
...
--HG--
extra : rebase_source : 1a015ffd3faa9fa6c82426c94058bce026602f8c
2012-07-03 17:44:22 -07:00
Ed Morley
030064a5fc
Backout afab1aaf6704 & 0405d42629fd (bug 747197), 0379525bbdca (bug 746262), 91b9cba098f8 (bug 745944), 8535dc5b590a (bug 741040) for win debug bustage
2012-04-25 09:54:34 +01:00
Jeff Walden
c84934111a
Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke
...
--HG--
extra : rebase_source : a564ba8f6a4350c1c49359f08e9de44670b89aeb
2012-04-19 16:18:24 -07:00
Brian Hackett
8ba260b5ce
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
Jeff Walden
e868abd4e1
Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits
2012-01-23 03:43:16 -08:00
Matt Brubeck
d4e1cdd51e
Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds
2012-04-12 22:07:43 -07:00
Brian Hackett
5fe350f0a8
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
Jeff Walden
6782e94444
Bug 735313 - StringBuffer still needs length validation. r=luke
2012-03-14 15:29:29 -07:00
Terrence Cole
0ba328a507
Bug 531396 - Expose detailed GC timing information API; r=smaug,billm
...
Extensions such as MemChaser would really like an easier to parse and more
complete record of GC events than what can be gleaned from the message console.
This patch adds GC and CC observer messages formatted as JSON containing
detailed statistics.
2012-03-05 15:33:24 -08:00
Christian Holler
6f0c96a025
Bug 727326 - Add missing js_ReportOutOfMemory calls in methodjit code. r=bhackett
2012-03-10 15:52:28 -05:00
Gary Kwong
f2993703f8
Backed out changeset 248590650201, a=tbplFire
2012-03-10 12:10:53 -08:00
Christian Holler
ff27c504b2
Bug 727326 - Add missing js_ReportOutOfMemory calls in methodjit code, r=bhackett
2012-03-10 11:51:48 -08:00
Terrence Cole
9a397025ac
Bug 716955 - Improve naming of array behaviors rval parameter; r=dmandelin
...
--HG--
extra : rebase_source : 0164be487009916c9fabb7b44cc5b5b4743cdeb8
2012-07-25 19:02:00 -07:00
Terrence Cole
1378239108
Bug 776159 - Thread more Handles through jsarray; r=sfink
...
--HG--
extra : rebase_source : 31c8efb209a6f5a58709429cce4cc0675b537847
2012-07-20 16:22:00 -07:00
David Mandelin
0822e24e67
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
...
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
David Mandelin
fb07fe8847
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Charles Chan
8000bc23b3
Bug 724736 - Move js::StringBuffer into js/src/vm/StringBuffer{-inl.h,.cpp}. r=jwalden
...
--HG--
extra : rebase_source : 69c3319801fbe80dbe0fc150680c9ffca2e519d9
2012-03-05 12:40:11 -08:00
Terrence Cole
333feabd4b
Bug 728343 - Make unbarriered object marking interface indirect ; r=billm
...
This will allow us to move objects that are not wrapped in a HeapPtr.
2012-02-17 11:46:11 -08:00
David Mandelin
ed3ba69ec8
Bug 732306: Remove typedef jsint, r=luke
...
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Jason Orendorff
2bfd490e4c
Add CallArgs::hasDefined convenience method. Bug 730676, r=luke.
...
--HG--
extra : rebase_source : 12e51485479c86a518300de28fe125e692dea4c6
2012-03-01 12:48:52 -06:00
David Mandelin
3588ac5aae
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Nathan Froyd
6652b77060
Bug 731248 - Remove duplicate headers in js/src. r=luke
2012-02-28 12:01:52 -05:00
Terrence Cole
c07e695d9f
Bug 727306 - Specialize HeapValue::postWriteBarrier for object slots; r=billm
...
Because we need to re-alloc the object slots pointers for slots growth and
actively move the slots buffer between objects in TradeGuts, we cannot safely
store pointers to slots in our write buffer. Instead we want to store a pair of
JSObject* + offset in the write buffer. This effectively means that we need to
specialize the HeapValue::postWriteBarrier used when storing to slots. This
patch sub-classes HeapValue and uses this sub-class for object slots.
--HG--
extra : rebase_source : 632ad9fd74f638cf9cadc19d6bc0aac8d6cc1cb1
2012-02-17 18:43:48 -08:00
Christian Holler
e3dd569647
Bug 730415 - Fix JS engine OOM condition in makeDenseArraysSlow. r=bhackett
2012-02-27 12:57:53 -08:00
David Mandelin
ec012300ff
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
2012-02-24 14:19:52 -08:00
Marco Bonardo
f35da5b2e3
Backout 4fc2f49371a8 (bug 725550) for build failures
2012-02-25 00:16:47 +01:00
David Mandelin
80fdf887df
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
...
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Igor Bukanov
1013be2159
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
Jeff Walden
d5e28b8705
Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke)
...
--HG--
extra : rebase_source : 8b64d2593d684a4e5d0d1ee87072db03afb78efe
2012-02-20 13:56:10 -08:00
Terrence Cole
d4d3a9c6b0
Bug 723346 - Make sharpObjectMap a modern HashMap; r=Waldo
...
This is the last user of the old-style C hashtables in the JS engine.
--HG--
extra : rebase_source : ccf8b296371227c0f0eea59a41b78eb4b63e8275
2012-02-15 17:55:25 -08:00
Jon Coppeard
7a3bfe572d
Bug 731642 - Assertion failure: isDenseArray(), at ../jsobjinlines.h:504. r=Waldo
2012-06-12 17:04:33 -04:00
Brian Hackett
917eb08db2
Remove Root<T>, bug 756823. r=billm
2012-05-24 08:52:21 -07:00
Jason Orendorff
487db5a582
Bug 699565 - Part 5 - for-of loops on arguments objects. r=bhackett.
2012-02-07 12:57:17 -06:00
Jason Orendorff
86a2aac956
Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett.
2012-02-07 12:57:16 -06:00
Luke Wagner
0c3a78bf21
Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary)
...
--HG--
extra : rebase_source : 52e43bfbd134f8afcff15b354fcb777d9b0e71ba
2012-02-01 13:36:48 -08:00
David Mandelin
e4b7d42c42
Bug 714616: fix write barrier in Array.shift, r=billm
...
--HG--
extra : rebase_source : 2fd10ab4cc3a93aee188ef6f9bbc388f66da2d37
2012-01-30 17:13:07 -08:00
Luke Wagner
de203642c8
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
970cecb6bc
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
...
--HG--
extra : rebase_source : 073e357a4f7bcfe1af4de5e7370d10dae9a3a07d
2012-01-22 21:22:10 -08:00
Jeff Walden
a74e76a203
Bug 566700 - Remove sharp-syntax generation from the toSource methods. r=dmandelin
...
--HG--
extra : rebase_source : c0b47ed9fd5569e24f8ab058e7cb4e8df0941f68
2012-01-20 23:39:37 -08:00
Jeff Walden
d2c8ed69df
Bug 566700 - Remove sharp variable support. r=dmandelin
...
--HG--
extra : rebase_source : 623f6ef8eb050d626b8c7a828949e291b34abc9a
2012-01-07 00:55:32 -06:00
Jeff Walden
3d3f0de0d1
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
...
--HG--
extra : rebase_source : 2b9e2c5ffff4c017489f54c504b90dacb02f8654
2012-01-24 10:29:55 -08:00
Ed Morley
3303de5d26
Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures
2012-01-24 21:06:59 +00:00
Jeff Walden
a471a1864a
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
321306d0cd
Bug 720511 - Make sure indexed elements on prototypes of an array being joined show through in the final join-string. r=luke
...
--HG--
extra : rebase_source : 9979fa265e18e347fb0406c39044bce6fa183aef
2012-01-21 04:05:53 -08:00
Santiago Gimeno
fb6ecb4459
Bug 715265 - Optimize all-int array sort and avoid creating a JSString per element when there is no comparator (r=luke)
...
--HG--
extra : rebase_source : 0a61ff4ac1cafa450b78fad1cf4adde3246729fc
2012-01-23 14:06:02 -08:00
Jason Orendorff
830e33e2e1
Fix a few typos in comments in js/src. No bug, no_r=me.
2012-01-20 06:11:42 -06:00
Reuben Morais
a153a8d845
Bug 717805 - Remove CopyArrayElement. r=jwalden
2012-01-17 12:33:08 +01:00
Jeff Walden
dd39351d29
Bug 713965 - Replace deleteGeneric (taking a jsid) with deleteByValue (taking a Value), and use the property-type-specific methods exclusively. r=bhackett
...
--HG--
extra : rebase_source : c9273f81996c755f6b3814895a4ce64f390f7c50
2011-12-28 16:33:20 -06:00
Jeff Walden
d2b6a6a3c3
Bug 714218 - Specialize some get* implementations to do property-type-specific handling, with their getGeneric forwarding to the appropriate specific implementation. r=bhackett
...
--HG--
extra : rebase_source : 1fcbac06cb7215b00a5756cef659318e6368fc49
2011-09-15 11:44:10 -07:00
Luke Wagner
6a7c05f4f2
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
e159dd7c22
Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
...
--HG--
rename : js/src/vm/CallObject-inl.h => js/src/vm/ScopeObject-inl.h
rename : js/src/vm/CallObject.cpp => js/src/vm/ScopeObject.cpp
rename : js/src/vm/CallObject.h => js/src/vm/ScopeObject.h
extra : rebase_source : 0efa6c9ac4ceb10f48fe7ee7b199333da2b54cd9
2012-01-02 15:02:05 -08:00
Brian Hackett
1d81f1154e
Backed out changeset 4282a285d381 (bug 707049 backout).
2011-12-31 07:32:04 -07:00
Ms2ger
331f7b2adb
Backout 0d642e4e08cf (bug 707049); requested by evilpie.
2011-12-31 15:13:01 +01:00
Brian Hackett
dfd45e67d1
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
53fc868531
Back out Bug 711895 for breaking l10n builds.
2011-12-29 15:45:51 -05:00
Nicholas Nethercote
6c18b646e6
Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
...
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Jeff Walden
735580ff0e
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
5316865db0
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
c19126641c
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
bdc95774d5
Merge MC -> JM
2011-11-26 15:03:20 -08:00
Brian Hackett
3ac424024c
Dense arrays should have numFixedSlots() == 0, regardless of size class. bug 704348
2011-11-21 19:20:39 -05:00
Brian Hackett
3d85556f58
Merge MC -> JM
2011-11-18 18:02:40 -08:00
Brian Hackett
93ebf40a26
Address bug 694561 review comments, r=luke.
2011-11-18 16:22:52 -08:00
Brian Hackett
762b6d8315
Address bug 684507 review comments, r=luke.
2011-11-18 14:59:31 -08:00
Brian Hackett
9eb1d34029
Address bug 699446 review comments, r=luke.
2011-11-18 14:40:14 -08:00
Brian Hackett
3854e8c2db
Address bug 700501 review comments, r=luke.
2011-11-18 13:59:48 -08:00
Brian Hackett
3b10c64bdc
Merge MC -> JM
2011-11-14 09:13:33 -08:00
Brian Hackett
ebc5397236
Get new object empty shapes with a common hash table, bug 701509.
2011-11-10 17:50:05 -08:00
Brian Hackett
937a3d2c97
Merge MC -> JM
2011-11-10 12:06:26 -08:00
Brian Hackett
977fdb6fbf
Track whether default 'new' types need unknown properties on the prototype, bug 700501.
2011-11-08 18:34:11 -08:00
Brian Hackett
79d9c5dc74
Fix incorrect use of obj->setDenseArrayLength, bug 699446.
2011-11-03 14:20:44 -07:00
Brian Hackett
f9c70af582
Add cache for constructing new objects from the VM, bug 699446.
2011-11-03 09:57:12 -07:00
Bill McCloskey
2703feda57
Bug 701682 - Avoid write barrier when slowifying an array (r=bhackett)
2011-11-14 11:10:22 -08:00
Brian Hackett
3c73d1b9f2
Remove JSObject::isNewborn, refactor object creation code, bug 684507.
2011-11-02 13:34:19 -07:00
Brian Hackett
e5f7d52cc5
Root correct array during makeDenseArraySlow, bug 698148.
2011-10-30 08:50:58 -07:00
Brian Hackett
3d2972e8bb
Merge MC -> JM
2011-10-27 14:16:02 -07:00
Brian Hackett
4eb699754e
Merge MC -> JM
...
--HG--
rename : js/src/jsparse.cpp => js/src/frontend/BytecodeCompiler.cpp
rename : js/src/jsparse.h => js/src/frontend/BytecodeCompiler.h
rename : js/src/jsemit.cpp => js/src/frontend/BytecodeGenerator.cpp
rename : js/src/jsemit.h => js/src/frontend/BytecodeGenerator.h
rename : js/src/jsparse.cpp => js/src/frontend/FoldConstants.cpp
rename : js/src/jsparse.cpp => js/src/frontend/ParseNode.cpp
rename : js/src/jsparse.h => js/src/frontend/ParseNode.h
rename : js/src/jsparse.cpp => js/src/frontend/Parser.cpp
rename : js/src/jsparse.h => js/src/frontend/Parser.h
rename : js/src/jsregexpinlines.h => js/src/vm/RegExpObject-inl.h
rename : js/src/jsregexp.cpp => js/src/vm/RegExpObject.cpp
rename : js/src/jsregexp.h => js/src/vm/RegExpObject.h
rename : js/src/xpconnect/src/xpcjsruntime.cpp => js/xpconnect/src/XPCJSRuntime.cpp
rename : js/src/xpconnect/src/xpcquickstubs.cpp => js/xpconnect/src/XPCQuickStubs.cpp
rename : js/src/xpconnect/src/nsXPConnect.cpp => js/xpconnect/src/nsXPConnect.cpp
2011-10-19 14:26:08 -07:00
Brian Hackett
52d3c3bbb6
Move fixed slot count from JSObject to Shape, bug 594561.
2011-10-14 11:06:15 -07:00
Brian Hackett
c948505ab2
Move JSObject::parent to BaseShape, bug 638316.
2011-10-13 20:21:36 -07:00
Brian Hackett
6a000c54e1
Remove JSObject::getFunctionPrivate, add call scope to JSFunction, bug 693754.
2011-10-11 15:28:54 -07:00
Brian Hackett
07d19ae310
Remove JSObject::privateData, bug 693479.
2011-10-10 17:14:38 -07:00
Brian Hackett
04773e25db
Remove JSObject::capacity and JSObject::initializedLength, split JSObject::slots into slots and elements, bug 693221.
2011-10-10 11:41:03 -07:00
Brian Hackett
226f6d2a95
Move JSObject::newType to a hashtable, bug 684410.
2011-10-07 20:09:09 -07:00
Brian Hackett
30e7f67096
Fix --disable-tracejit build.
2011-10-18 14:50:35 -07:00
Brian Hackett
b0e2fe4eb6
Add Array.concat stub for concatenating known dense arrays, bug 692960. r=dvander
2011-10-18 11:24:28 -07:00
Brian Hackett
6f4ec47449
Speed up Array.shift, and Array.{pop,shift} on empty arrays, bug 692847. r=dvander
2011-10-18 11:08:52 -07:00
Terrence Cole
6ffe6a8909
Bug 690204 - Migrate jsarray.cpp to CallArgs; r=waldo
...
Except for array_splice and array_concat which have other
work outstanding.
2011-10-25 02:02:36 +01:00
Brian Hackett
da0cc51388
Merge MC -> JM
2011-09-30 07:01:18 -07:00
Brian Hackett
79a9247a91
Remove direct class pointer from JSObject, bug 690133.
2011-09-29 08:20:06 -07:00
Brian Hackett
87eb5c096f
Remove shape numbers and Shape::slotSpan, factor Shape getter/setter into BaseShape, bug 684505.
2011-09-28 15:04:55 -07:00
Terrence Cole
f7d8caa632
Bug 697322 - Add easier to use reset method to CallReceiver; r=luke
...
All users of InvokeArgsGuard that use calleeHasBeenReset use it before
setting a new callee/this in a loop. We should make it easier to use
by combining the reset with the setup with the setting of the new
callee.
2011-11-08 10:17:25 -08:00
Terrence Cole
f9f1340c27
Bug 692547 - Split up array_extra; r=Waldo
...
Using array_extra as a common implementation method does not shave off many
bytes of code and makes understanding all of the functions it implements very
difficult. This patch splits this mess up and makes these methods follow
ECMA steps.
--HG--
extra : rebase_source : e31647801e4c54414534bc5770cabfa463c7d149
2011-11-04 15:56:40 -07:00
Jeff Walden
2cd9f2fb48
Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke
2011-09-15 11:44:10 -07:00
Jeff Walden
943ff8aaf5
Bug 687621 - Introduce js::SpecialId, encapsulating the non-index, non-string bizarro property names. r=luke
2011-09-20 14:34:11 -07:00
Jeff Walden
bbb763fe0c
Bug 687621 - Further split ObjectOps to add a third property type (and temporarily a fourth to use for a property of indeterminate type), to encapsulate object-valued jsids and properties that don't fit in the property name/element distinction. r=luke
...
--HG--
extra : rebase_source : 4cfd216dcbff77750cb54ea48b546e83bd555513
2011-08-12 14:26:48 -04:00
Luke Wagner
a9d6d33a65
Bug 684526 - Remove Jsvalify/Valueify (r=waldo)
...
--HG--
extra : rebase_source : a3047338ed088c26a93486addd0be8092fe52934
2011-09-20 11:40:24 -07:00
Brian Hackett
5620bd1901
[INFER] Reapply 7db908db3669 (bug 684084) 19ed9da5789d (bug 684824) a250c3cb749a (bug 686178) 820f11a3fdb1 (bug 686179) e678ced82a6a (bug 686418) 300e1f974f55 (bug 669715) 5c131d458c53 (bug 686396) 3a8b5e4a286b (bug 683140).
2011-09-18 07:36:51 -07:00
Brian Hackett
4fadb0aefd
[INFER] Backout 3a8b5e4a286b for suspected M-oth orange.
2011-09-16 20:31:54 -07:00
Brian Hackett
a6771d2cc9
Merge MC -> JM
2011-09-16 08:51:41 -07:00
Brian Hackett
b29901f2bf
[INFER] Don't change prototype of new objects when reusing type in Array.{slice,splice,concat}. bug 683140.
2011-09-15 17:16:57 -07:00
Igor Bukanov
748ef4c024
bug 686017 - avoid Cell::arenaHeader() on fast paths. r=bhackett1024
2011-08-16 12:27:34 +02:00
Bill McCloskey
213017df51
Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett)
2011-10-25 16:07:42 -07:00
Jeff Walden
1e09ce3b56
Bug 693469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : d89352e4f8c0e40853673d980d16d12dab04b44f
2011-10-10 23:00:28 -07:00
Jeff Walden
4ee3b4c917
Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett
...
--HG--
extra : rebase_source : 0d5cf535e64c862334ce5cae3d09caf565775366
2011-10-08 15:45:04 -07:00
Luke Wagner
333c8673a5
Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
2011-10-12 10:28:56 -07:00
Justin Lebar
e727833306
Back out rev 4c0e6b3f7791 (bug 689362) due to suspected mac x64 opt moth orange.
2011-10-12 23:07:04 -04:00
Luke Wagner
ed5d036178
Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
...
--HG--
extra : rebase_source : d37d29af2a4f6b8c4f9a18468e57285ea8098824
2011-10-12 10:28:56 -07:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
59fdf6b2d3
Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett
2011-10-08 15:45:04 -07:00
Jeff Walden
52fd4e450f
Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 23:00:28 -07:00
David Anderson
bac3c4eebc
Remove LeaveTrace and related structures (bug 698201 part 5, r=luke).
2011-11-22 17:41:43 -05:00
David Anderson
769e541f2e
Remove traceable natives (bug 698201 part 3, r=luke).
2011-11-22 17:41:42 -05:00
David Anderson
7b1857059e
Remove jstracer and nanojit (bug 698201 part 1, r=dmandelin).
2011-11-22 17:41:41 -05:00
Terrence Cole
185da85853
Bug 696232 - Clean up InitArrayElement's prototype; r=Waldo
...
We should pass the flag value as an enum and return bool, since this
is only used internally.
2011-11-08 14:54:57 -08:00
Brian Hackett
568172b4f0
Remove bogus assert, bug 696039. r=dvander
2011-11-21 19:15:38 -05:00
Igor Bukanov
04c9b805af
Bug 701560 - template version of merge sort. r=luke
...
This is the second attempt to land this - the previous landing attempt had compilation errors and warnings on 64 bit Linux.
2011-11-16 15:00:32 +01:00
Igor Bukanov
223554f33c
Backed out changeset e1587f23d2f0, bug 701560 - compilation errors
2011-11-18 15:52:35 +01:00
Igor Bukanov
477ce89a9e
Bug 701560 - template version of merge sort. r=luke
2011-11-16 15:00:32 +01:00
Jeff Walden
26fe157bd9
Bug 686582 - Start adjust existing algorithms to use element-specific methods in preference to jsid-generalized ones. r=dvander
...
--HG--
extra : rebase_source : 0dbe07f70aa25238296aea3cb445016532f4eea9
2011-08-10 14:54:52 -07:00
Jeff Walden
9cbb973a07
Bug 686582 - Begin to specialize ObjectOps::setElement to not just delegate to ObjectOps::setProperty. r=dvander
...
--HG--
extra : rebase_source : e8e830c1baed1e51261884a0c6ec7197f552c821
2011-08-10 14:54:52 -07:00
Jeff Walden
e72e096fac
Bug 686582 - Begin to specialize ObjectOps::defineElement to not just delegate to ObjectOps::defineProperty. r=dvander
...
--HG--
extra : rebase_source : 9a688d7d8a26b1a54721a37ea5e908131aa39a2f
2011-08-10 14:54:52 -07:00
Jeff Walden
4507218e6f
Bug 686582 - Begin to specialize ObjectOps::deleteElement to not just delegate to ObjectOps::deleteProperty. r=dvander
...
--HG--
extra : rebase_source : ea2bd6c2511e5be83fcb826b7d4b81b6d38260ce
2011-08-10 14:54:52 -07:00
Jeff Walden
7c903ab2a6
Bug 686582 - Begin to specialize ObjectOps::setElementAttributes to not just delegate to ObjectOps::setAttributes. r=dvander
...
--HG--
extra : rebase_source : fb8b2565831ba0f4457d5ae639ffa55117550445
2011-08-10 14:54:52 -07:00
Jeff Walden
a237a27a20
Bug 686582 - Begin to specialize ObjectOps::getElementAttributes to not just delegate to ObjectOps::getAttributes. r=dvander
...
--HG--
extra : rebase_source : a3767fed5456d13c5ee5b6a8617fa22e064c758c
2011-08-10 14:54:52 -07:00
Jeff Walden
e96d878fa9
Bug 686582 - Begin to specialize ObjectOps::getElement to not just delegate to ObjectOps::getProperty. r=dvander
...
--HG--
extra : rebase_source : 3f9228a3fe7ff9ee817ddfbdb7a783d3a3093dec
2011-08-10 14:54:52 -07:00
Jeff Walden
bb472a9954
Bug 686582 - Begin to specialize ObjectOps::lookupElement to not just delegate to ObjectOps::lookupProperty. r=dvander
...
--HG--
extra : rebase_source : f04ec73fec1831c717e01779e0d692585f8ed74d
2011-08-10 14:54:52 -07:00
Jeff Walden
eb0081091d
Bug 686009 - Clean up some comments in jstracer.cpp which refer to js_InitClass uses which are now mostly removed. Also remove an obsolete comment in JSObject::makeDenseArraySlow that referred to use of js_InitClass to initialize Array. r=bhackett
...
--HG--
extra : rebase_source : ed8371bd8e8130ec6807840d7bceb209e6863be3
2011-05-04 16:54:24 -04:00
Luke Wagner
8e79ac3c24
Bug 683361, part 5 - Handle transparent proxies correctly in [[Class]] == "X" queries (r=waldo)
...
--HG--
extra : rebase_source : 42d32c87f8cffc765649bbb5890009edfb4a4807
2011-09-20 16:48:50 -07:00
Luke Wagner
b1f52b6885
Bug 683361, part 4 - Handle transparent proxies correctly in non-generic methods (r=waldo)
...
--HG--
extra : rebase_source : 0f36c83685f2822453ce203a87cca4076222c48c
2011-09-08 21:18:23 -07:00
Luke Wagner
9a4f70c9e6
Bug 683361, part 2 - use CallArgs more (r=waldo)
...
--HG--
extra : rebase_source : 0825a9729a7e24706e9fa1f3fdfb1586c475d8cf
2011-09-08 21:02:26 -07:00
Jeff Walden
8be62ad5ae
Bug 677703 - Add element-valued methods to ObjectOps. Implement forward-to-property versions where necessary for classes which have custom ObjectOps. r=cdleary
...
--HG--
extra : rebase_source : b4f572a9d7f3f49d5c3ec555084ab794c8512cfa
2011-08-10 14:54:51 -07:00
Luke Wagner
15f34e2827
Bug 674998 - Remove InvokeSessionGuard; it's bug-prone and we should self-host instead (r=bhackett)
2011-09-06 09:06:07 -07:00
Luke Wagner
f81ed34fb3
Bug 684110 - Remove/inline array helper (r=pbiggar)
2011-09-02 17:23:36 -07:00
Luke Wagner
293c7bcf13
Bug 684110 - Clean JSObject::clasp usage (r=pbiggar)
2011-09-02 17:23:26 -07:00
Ed Morley
5ad1e0be99
Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies
2011-09-03 03:21:25 +01:00
Luke Wagner
f615ea1ced
Bug 684110 - Remove/inline array helper (r=pbiggar)
2011-09-02 17:23:36 -07:00
Luke Wagner
bddd0c80c3
Bug 684110 - Clean JSObject::clasp usage (r=pbiggar)
2011-09-02 17:23:26 -07:00
Igor Bukanov
ca0e173755
bug 681884 - faster slow path of GC allocations. r=wmccloskey
2011-08-18 09:16:08 +02:00
Brian Hackett
92bf4ecc83
[INFER] Don't use type barriers when compiling GETELEM on typed arrays, bug 678782.
2011-08-17 16:11:38 -07:00
Brian Hackett
cf0e434189
Merge MC -> JM
2011-08-14 19:51:16 -07:00
Brian Hackett
c743913090
Merge MC -> JM
2011-08-09 13:29:11 -07:00
Tom Schuster
82842beaa5
Bug 653175 - An array index with a null character could wrongly be considered to be valid. r=jorendorff
2011-08-06 00:37:54 +02:00
Jason Orendorff
17433542e7
Merge from mozilla-central to jsdbg2.
2011-08-09 10:21:12 -05:00
Brian Hackett
47b5c3287d
Merge MC -> JM.
...
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-28 18:10:31 -07:00
Brian Hackett
d452b4ccc7
[INFER] Allow the same shape to be shared by objects with different types, bug 674621.
2011-07-28 14:17:42 -07:00
Jason Orendorff
ab9745757f
Merge from mozilla-central to jsdbg2.
2011-07-28 13:45:51 -05:00
Jason Orendorff
daebe48d84
Merge from mozilla-central to jsdbg2 branch.
2011-07-27 18:23:16 -05:00
Brian Hackett
f631882466
Merge MC -> JM
2011-07-21 18:53:37 -07:00
Jason Orendorff
f3bc25f319
Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb.
2011-07-27 17:44:43 -05:00
Jason Orendorff
2ad4e61b5e
Merge mozilla-central to jsdbg2.
2011-07-18 10:58:56 -05:00
Brian Hackett
987914bed5
Merge MC -> JM
2011-07-15 14:40:15 -07:00
Jeff Walden
afc3d711b1
Remove code for JS_HAS_ARRAY_EXTRAS, and make the extra methods ES5 added to Array.prototype always present. rs=luke
...
--HG--
extra : rebase_source : 8dd08dee39ae2ff15d326ece9ad82ffe6ab1946a
2011-07-15 14:06:40 -07:00
Brian Hackett
48dc847ab3
[INFER] Lazily create type objects for singleton JS objects, bug 670185.
2011-07-15 10:14:07 -07:00
Bill McCloskey
ba16914fcc
Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary)
2011-07-13 15:43:33 -07:00
Brian Hackett
efdef8f584
[INFER] Fix build breaks with --disable-methodjit.
2011-07-05 16:52:39 -07:00
Jason Orendorff
9c06df6eb4
Merge from tracemonkey to jsdbg2.
2011-07-01 19:02:40 -05:00
Brian Hackett
1e3ee7d7f9
Merge TM -> JM
2011-07-01 16:24:32 -07:00
Jason Orendorff
b0d27328b3
Add Script.prototype.getAllOffsets and getLineOffsets.
2011-06-28 14:46:00 -05:00
Jeff Walden
eb505d304d
Bug 657298 - Various bugs in setting the length of an array. r=dmandelin
...
--HG--
extra : rebase_source : f27bd4d0141df46d7ef054c91c2601d3b50d9690
2011-06-28 10:05:53 -07:00
Jeff Walden
e182be6d67
Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
...
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Ehsan Akhgari
2bd4f9ec29
Backout bug 670205 and bug 673451 because of build bustage
...
--HG--
extra : rebase_source : 1125480c0f47d0388876c09648d64bdbd62d1206
2011-07-26 14:41:43 -04:00
Bill McCloskey
312cf050cc
Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary)
2011-07-13 15:43:33 -07:00
Brian Hackett
1c6c11df0b
[INFER] Cleanup type info tracking object classes, track which type objects are definitely typed arrays, bug 663485.
2011-06-15 11:26:12 -07:00
Jeff Walden
d312d3d392
Bug 671143 - Rename ValueToNumber to ToNumber, to be more like the spec nomenclature. r=cdleary
...
--HG--
extra : rebase_source : e85fbadd77adc048f5e443cd9ed96b0035954674
2011-06-13 21:49:59 -07:00
Brian Hackett
9c9f7b50a9
[INFER] Read barriers for call results, bug 663381.
2011-06-10 19:03:57 -07:00
Jan de Mooij
13b7d3e36b
[INFER] Fix parseInt to return integers instead of doubles where possible, rewrite some setNumber calls, bug 662766. r=bhackett
2011-06-08 20:11:42 +02:00
Brian Hackett
e5a29f8079
[INFER] Apply arguments and script review comments, bug 657412.
2011-06-06 08:32:41 -07:00
Brian Hackett
0eff21ceee
[INFER] Move inference methods out of JSContext, bug 657412.
2011-06-02 10:40:27 -07:00
Brian Hackett
8b1926a6bf
[INFER] Address array review comments, add back backedge table, bug 657412.
2011-06-01 11:15:51 -07:00
Brian Hackett
1942853df0
Merge TM -> JM
2011-05-27 15:08:04 -07:00
Brian Hackett
39f93deacb
Merge TM -> JM
2011-05-22 08:59:06 -07:00
Brian Hackett
0dab1a8032
[INFER] Analysis and compiler improvements for polymorphic call sites, bug 653962.
2011-05-20 19:33:06 -07:00
Brian Hackett
c8a04285b8
[INFER] Cleanup for review, bug 657412.
2011-05-16 22:59:40 -07:00
Brian Hackett
e67b2dd020
[INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693.
2011-05-16 16:15:37 -07:00
Brian Hackett
c4716f4f69
[INFER] Fix bogus assert in array_pop_dense, bug 657245.
2011-05-15 22:08:10 -07:00
Brian Hackett
59e8576ddb
Merge TM -> JM
2011-05-15 11:32:09 -07:00
Brian Hackett
8b3d4aaadf
[INFER] Use initialized length instead of capacity in Array.join optimization, bug 655769.
2011-05-14 07:39:42 -07:00
Brian Hackett
67892f0efc
[INFER] Don't analyze types in compileAndGo scripts with a cleared global, bug 619433.
2011-05-12 17:59:28 -07:00
Brian Hackett
43722431f8
Merge TM -> JM
2011-05-11 20:37:23 -07:00
Brian Hackett
a31ee3646e
[INFER] Inlined natives for Array.{push,pop}, object flag cleanup, bug 653962.
2011-05-10 23:33:30 -07:00
Brian Hackett
418174fe1d
Merge TM -> JM
...
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
2011-05-09 09:49:48 -07:00
Brian Hackett
c0de8c6bb8
[INFER] Remove on stack recompilation, allow removed on stack JIT frames to rejoin into the interpreter, bug 650163.
2011-05-09 07:12:47 -07:00
Jeff Walden
f77e110a62
Bug 654170 - Make js_InitArrayClass non-generic. r=bhackett
...
--HG--
extra : rebase_source : caa521424f4f491c59e0565dda258e5934a258a2
2011-05-02 14:53:24 -04:00
Brian Hackett
ae1bb92435
Merge TM -> JM
2011-04-28 13:02:47 -07:00
Jeff Walden
46e40682f8
Bug 652746 - Implement js::ArgumentsObject, js::NormalArgumentsObject, and js::StrictArgumentsObject. r=njn
...
--HG--
extra : rebase_source : 84258ffa658ba09928ab9b86f8017fa6683f3146
2011-04-25 22:40:00 -04:00
Jeff Walden
c21c0b704a
Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar (relanding after a first try that appears to have triggered a random orange without methodjit on Linux debug, that went away on two rebuilds)
...
--HG--
extra : rebase_source : 4cef6936c39d63e232363baa64d24c0d1fabc60e
2011-05-05 00:24:15 -04:00
Jeff Walden
41a554ec6e
Backed out changeset 83ae6e7c572e, maybe caused an orange, trying a backout of the most likely regressor. r=orange
2011-05-04 23:10:16 -04:00
Jeff Walden
cc9f0e8145
Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar
...
--HG--
extra : rebase_source : 6d2004b0d6089c0c6d85bdaf4d4b0c8240840109
2011-04-30 03:22:48 -04:00
Jeff Walden
180d9e56f6
Bug 653782 - Remove js_IndexToId, replace with an inline js::IndexToId. Also removes the redundant IndexToId in jsxml.cpp. r=igor
...
--HG--
extra : rebase_source : 4cb2b69a8f3d1877ca6514c8f9dfb3dc1af551b7
2011-04-30 03:19:26 -04:00
Brian Hackett
7658271e76
[INFER] Root dense array elements during conversion to slow array, bug 649152.
2011-04-24 07:56:56 -07:00
Brian Hackett
7c7bcb48fd
[INFER] Bytecode SSA analysis, bug 650715.
2011-04-22 07:59:45 -07:00
Chris Leary
4fef967f20
Bug 654301: Better interned string API, take 2. (r=Waldo)
2011-05-17 12:15:12 -07:00
Brian Hackett
d720258b49
Merge TM -> JM
2011-04-20 11:37:46 -07:00
Jan de Mooij
fdeb61ae6d
[INFER] Don't update initialized length when it's smaller than length, bug 651451
2011-04-20 19:43:30 +02:00
Jan de Mooij
0439e24a54
[INFER] Update initialized length in array_pop_dense, bug 651451. r=bhackett
2011-04-20 18:10:59 +02:00
Igor Bukanov
679fd56357
bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey
2011-04-20 07:30:10 +02:00
Brian Hackett
70113c5b18
Merge TM -> JM
2011-04-19 08:23:41 -07:00
Bill McCloskey
94318256e1
Bug 616666 - Use explicit stack for GC marking (r=gal)
2011-04-15 16:56:08 -07:00
Brian Hackett
670de0bdea
[INFER] Retest hoisted bounds checks after stub calls, bug 649693.
2011-04-14 21:59:32 -07:00
Brian Hackett
c4c4830f1d
Merge TM -> JM
2011-04-13 06:45:06 -07:00
Blake Kaplan
65aaec72e9
Bug 618176 - Skip multiple wrappers when deciding whether this object is an array. r=gal
2011-04-12 15:56:45 -07:00
Brian Hackett
1122e26106
Merge TM -> JM
2011-04-12 07:04:45 -07:00
Brian Hackett
e32b1c31f2
[INFER] Clear initialized length when changing clasp during array slowification, bug 648773.
2011-04-11 06:52:23 -07:00
Brian Hackett
e6ba6bcf1f
[INFER] Use both inline and dynamic slots for objects other than dense arrays, bug 648321.
2011-04-08 19:51:40 -07:00
Brian Hackett
9ec8194839
Merge TM -> JM
2011-04-08 19:27:14 -07:00
Brian Hackett
c03f7a77df
[INFER] Fix bogus assert, bug 648499.
2011-04-08 16:04:44 -07:00