Matt Brubeck
401dea465c
Back out 77c924963f36, e1aae4baeaa4, ac20c581f617 (bug 643213, bug 586297, bug 669132) because of Android test failures.
2011-08-09 12:01:47 -07:00
Jacob Bramley
4a1fee7460
Bug 643213: Fix signed integer arithmetic used to construct ARM load instructions. [r=Marty]
2011-08-09 17:00:06 +01:00
Jacob Bramley
856347601d
Bug 586297: Optimize away literal pool loads on ARM. [r=Marty]
2011-08-09 16:58:11 +01:00
Jacob Bramley
e3cc9e56c6
Bug 669132: Optimize VFP memory accesses on ARM. [r=cdleary,Marty]
2011-08-09 16:58:11 +01:00
Mounir Lamouri
6aee473a58
Backout bug 563462, bug 675519, bug 674647, bug 341223 and bug 672980 to fix perma-orange.
2011-08-09 14:50:55 +02:00
Rob Arnold
345f965c26
Bug 563462 - Remove Photon bits from the build-system. r=ted,vlad,jwalden
2011-06-24 16:49:00 -04:00
Justin Wood
f20a7276c2
Merge from m-c
2011-08-09 06:31:01 -04:00
Mike Hommey
098183f48a
Bug 677159 - Don't allow to include config/config.mk twice. r=khuey
2011-08-09 09:07:48 +02:00
Mike Hommey
5da7dccc2d
Bug 677370 - Fixup Android configure.in bits. r=blassey
2011-08-09 09:07:28 +02:00
Jan Varga
5020b003ce
Bug 617528 Part 2 - Core implementation r=smaug
...
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Michael Wu
ccaba60ed1
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Ehsan Akhgari
2fa58bdab1
Merge mozilla-central and mozilla-inbound
2011-08-07 00:45:59 -04:00
Phil Ringnalda
ca4290d3a9
Bug 243453 - Fix a 10 year old comment typo to fix a 7 year old bug with a 6 year old review request, rs=jband's 7 year old comment 2 in the bug DONTBUILD
2011-08-06 18:16:28 -07:00
Paul Biggar
585912ae63
Bug 668936: Stringify String.prototype.replace's arguments in the right order (r=jwalden)
2011-08-05 19:28:31 -07:00
Marty Rosenberg
a4c9f645dc
Bug 649202 - Implement fast typed arrays for ARM (r=jbramley)
2011-08-05 18:14:50 -07:00
Tom Schuster
f5be51a9c0
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
Tom Schuster
77950034de
Bug 675896 - Expand Unicode ranges to handle chinese identifiers. Add UnicodeData.txt version 6.0.0 r=waldo
...
--HG--
rename : js/src/make_unicode.py => js/src/vm/make_unicode.py
2011-08-05 18:08:34 +02:00
Luke Wagner
fb02b93fcc
Bug 676486 - Only compare args in StackIter when the StackFrame hasArgs (r=waldo)
2011-08-05 08:22:51 -07:00
Ben Turner
479e978cdd
Bug 676376 - 'prevent multi-threaded JSRuntime access in new web worker memory reporters'. r=luke+sicking.
2011-08-06 18:03:46 -07:00
Luke Wagner
30ebc3e8b0
Bug 676023 - Increment pc on error path out of JSOP_RETURN (r=dvander)
2011-08-04 23:15:35 -07:00
Luke Wagner
b747d1721b
Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
2011-07-07 15:40:33 -07:00
Luke Wagner
6d1540eb97
Bug 674522 - Fix jsval_layout on 64-bit big-endian platforms (r=waldo)
2011-08-04 14:49:35 -07:00
Jeff Walden
7090baef12
Bug 676700 - Slightly speed up js::IndexToId by converting directly to atom, not to string and then to atom. r=luke
...
--HG--
extra : rebase_source : d352929e4002f285670448e4515bea404f2cf88f
2011-08-04 19:21:25 -07:00
Jeff Walden
e296c93cd9
Bug 576034 - Remove aliased property implementation details. r=jorendorff
...
--HG--
extra : rebase_source : 8d87c5b809937b97643b382d49cfae2eee5581a6
2011-08-04 14:38:26 -07:00
Jeff Walden
257c90c2ca
Bug 576034 - Remove aliased properties APIs. r=jorendorff
...
--HG--
extra : rebase_source : 09c9947953d6ae6d2f359e1cfedde0ea09c338ab
2011-08-04 14:38:00 -07:00
Luke Wagner
673fa49bf2
Backout a22fad398472 and 373e6bd2705d because of burnage
2011-08-04 15:54:14 -07:00
Luke Wagner
59e742e724
Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
...
--HG--
extra : rebase_source : f77f2ad5521bf4543b518f7f6cc40a3778b7a74a
2011-07-07 15:40:33 -07:00
Luke Wagner
59da0b7e25
Bug 674522 - Fix jsval_layout on 64-bit big-endian platforms (r=waldo)
...
--HG--
extra : rebase_source : e604fcda8977f50f528f327db8f7bdef22522bb2
2011-08-04 14:49:35 -07:00
Alon Zakai
e6b019d27d
Bug 674800 - Print address of XPTCStub with nsXPCWrappedJS. r=mrbkap
2011-08-04 15:01:43 -07:00
Jeff Walden
062e461a6e
Windows warning patrol. rs=luke
...
--HG--
extra : rebase_source : 1b6800ae7a7d56c1d8f056d6d06d0c9d45815e42
2011-08-04 14:28:41 -07:00
Jeff Walden
46cf7041a8
Followup to bug 671630 for the Windows compiler, which actually might well be right in this case. r=bustage
2011-08-04 13:38:35 -07:00
Phil Ringnalda
13498484cb
Back out 66845f1a3aad (bug 672893) for debug startup crashes
2011-08-06 15:31:30 -07:00
Jason Orendorff
8d922115b9
Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary.
2011-08-06 16:05:25 -05:00
Matheus Kerschbaum
51c85cf6de
Bug 674010 - Remove check for DLL-challenged libcs. r=ted
2011-08-06 16:59:47 +02:00
Jeff Walden
4ce9026e05
Bug 671630 - Make initializing the ArrayBuffer class non-generic. r=mrbkap
...
--HG--
extra : rebase_source : cd80bf371b06a96e8ed2335ef6191a8a2e0bb2ad
2011-05-04 16:54:24 -04:00
Jeff Walden
65b635c946
Bug 676936 - Rewrite InitStopIterationClass to be much clearer and simpler. r=luke
2011-05-04 16:54:23 -04:00
Jeff Walden
642bc8cb75
Bug 671630 - Make initializing the various typed arrays (but not ArrayBuffer) non-generic. r=mrbkap
...
--HG--
extra : rebase_source : 8d6755bfc55e7aab68ad32b1998a97be5dd996bb
2011-05-04 16:54:23 -04:00
Jeff Walden
9e604da3b5
Bug 676936 - Rewrite InitGeneratorClass to be much clearer and simpler. r=luke
2011-05-04 16:54:23 -04:00
Jeff Walden
5779fe3c93
Bug 671630 - Convert typed-array initialization code from being 'templatized' by a macro to being templatized by, well, a template. r=mrbkap
...
--HG--
extra : rebase_source : 4a51486ddbeafb3930c53981266007364ac34c0b
2011-05-04 16:54:23 -04:00
Nikhil Marathe
c3f0bf12bc
Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
...
--HG--
extra : rebase_source : 1bcd524f639b1e79dbb461c737b6abdbc62ba606
2011-08-01 15:50:04 -07:00
Nikhil Marathe
e5119454f0
Bug 664249 - Inline TypedArray properties into slots. r=mrbkap
...
--HG--
extra : rebase_source : 5dfb31e3659a8f4365c9c03e4297a120221bb1de
2011-08-01 15:49:51 -07:00
Nikhil Marathe
90ec3914c5
Bug 667047 - Ensure proper __proto__ behaviour as a normal property after setting it to null once. r=mrbkap
...
--HG--
extra : rebase_source : de0807c8ad4591ab0e6f0039b292950e9e67ec49
2011-08-01 15:26:54 -07:00
Jim Blandy
32f475624f
Bug 672736: Implement the 'findReferences' shell function. r=jorendorff
...
findReferences(thing)
Walk the entire heap, looking for references to |thing|, and return a
"references object" describing what we found.
Each property of the references object describes one kind of reference. The
property's name is the label supplied to MarkObject, JS_CALL_TRACER, or what
have you, prefixed with "edge: " to avoid collisions with system properties
(like "toString" and "__proto__"). The property's value is an array of things
that refer to |thing| via that kind of reference. Ordinary references from
one object to another are named after the property name (with the "edge: "
prefix).
Garbage collection roots appear as references from 'null'. We use the name
given to the root (with the "edge: " prefix) as the name of the reference.
Note that the references object does record references from objects that are
only reachable via |thing| itself, not just the references reachable
themselves from roots that keep |thing| from being collected. (We could make
this distinction if it is useful.)
If any references are found by the conservative scanner, the references
object will have a property named "edge: machine stack"; the referrers will
be 'null', because they are roots.
js> var o = { x: { y: { z: {} } }}
js> findReferences(o.x.y.z)
({'edge: z':[{z:{}}], 'edge: machine stack':[null, null, null, null, null]})
js> o = { get x() { return 42 } }
({get x () {return 42;}})
js> findReferences(Object.getOwnPropertyDescriptor(o, 'x').get)
({'edge: shape; x getter':[{get x () {return 42;}}],
'edge: constructor':[{}],
'edge: machine stack':[null, null, null, null, null],
'edge: get':[{configurable:true,
enumerable:true,
get:#1=(function () {return 42;}),
set:(void 0)}]})
js> findReferences(Math.atan2)
({'edge: atan2':[Math], 'edge: machine stack':[null, null, null, null, null]})
js> findReferences(o)
({'edge: o':[{o:{get x () {return 42;}}}], 'edge: machine stack':[null, null, null, null, null]})
js>
2011-08-03 20:19:38 -07:00
Michael Wu
bfc8ebbc5c
Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap
2011-08-03 18:59:10 -07:00
Jason Orendorff
aeda130b6d
Bug 673070 - Fix name lookups in let scopes a bit more ("Assertion failure: sharedBlock" with e4x after fixing bug 646968). r=brendan.
2011-08-03 20:13:56 -05:00
Luke Wagner
789e7bfe94
Bug 675068 - change off-main-thread cycle collection not to use a (thread-local) safe JS context (r=mrbkap)
...
--HG--
extra : rebase_source : b5a8a4ffa590bc9d0f2491d6a14bb95a37ff55e9
2011-07-27 09:26:29 -07:00
Luke Wagner
76e2ee8515
Bug 675068 - Remove unused XPCCallContext::GetSafeJSContext (r=mrbkap)
...
--HG--
extra : rebase_source : 6265482abb4fb6b732064b40b178212113c6e70e
2011-07-25 15:41:52 -07:00
Jeff Walden
2639d4438d
Bug 676936 - Refactor js_InitIteratorClasses, and rewrite InitIteratorClass to be much clearer. r=luke
2011-05-04 16:54:23 -04:00
Jeff Walden
1d16386477
Bug 671630 - Add an atom for 'BYTES_PER_ELEMENT' in anticipation of its use in future changes. r=mrbkap
...
--HG--
extra : rebase_source : 31b90b4929d088753f393fab01cb55c9062072e7
2011-05-04 16:54:23 -04:00
Jeff Walden
8f9eb91e20
Bug 675745 - Don't specify JSCLASS_CONSTRUCT_PROTOTYPE for js_AttributeNameClass or js_AnyNameClass. The flag's only used in a code path that neither class will ever enter. r=igor
...
--HG--
extra : rebase_source : 8731f262aae07a01a87ae4063d1370d81b9e5141
2011-08-01 15:14:38 -07:00