Commit Graph

17146 Commits

Author SHA1 Message Date
Ed Morley
25b5e3e769 Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
Jim Blandy
df8d965b47 Bug 700070: Have stubs::AnyFrameEpilogue call the full ScriptEpilogue before StackFrame::functionEpilogue, not just ScriptDebugEpilogue after functionEpilogue. r=jorendorff
The debugger tests don't try returning all four kinds of resumption values
from an onExceptionUnwind handler, and under JaegerMonkey, forcing a
constructor to return a primitive can cause an assertion:

Assertion failure: !args.rval().isPrimitive(), at /home/jimb/moz/dbg/js/src/jsinterp.cpp:651

This patch changes AnyFrameEpilogue to match what the interpreter and
mjit::Compiler::emitReturn does, and adds test cases for all the resumption
values.
2011-12-03 18:51:30 -08:00
Ms2ger
9e8128012d Bug 705357 - Use IDL for Components.utils.getGlobalForObject; r=bholley 2011-12-03 22:50:16 +01:00
Ms2ger
5cfbf6cd8a Bug 705333 - Use IDL for nsJSCID::{CreateInstance,GetService}; r=bholley 2011-12-03 22:50:16 +01:00
Kyle Huey
501b6f1760 Merge b-s to m-c. 2011-12-03 16:27:21 -05:00
Brian Hackett
f0c35c0584 Merge MC -> JM 2011-12-03 10:34:26 -08:00
Antti Haapala
05b303b524 Bug 699156: Support TypedArrays in XPConnect. r=bholley,evilpie 2011-12-03 09:33:20 -05:00
Hannes Verschore
7e2997e6b4 Add testcase for bug 476088. r=jruderman 2011-12-03 03:29:59 -05:00
Hannes Verschore
6a2f03a63f Add a test for bug 373843. r=jruderman 2011-12-03 03:29:59 -05:00
Brian Hackett
98abec9b55 Merge MC -> JM 2011-12-01 11:51:09 -08:00
Brian Hackett
5ecccc93ab Merge MC -> JM 2011-11-30 12:45:27 -08:00
Brian Hackett
44ae4685c4 Avoid scratch register collision when comparing an absolute address to an immediate, bug 703047. 2011-11-29 18:41:38 -08:00
Brian Hackett
fd7a549aaf Manually check prototypes of objects with uncacheable prototypes in ICs, bug 703047. 2011-11-29 13:37:18 -08:00
Brian Hackett
ba7e5d8276 Remove bogus assert, bug 705873. 2011-11-28 17:58:00 -08:00
Brian Hackett
031d257786 Always generate new shapes when setting uncacheable flags after prototype changes, don't cache native iterators for objects with uncacheable prototypes, bug 705895. 2011-11-28 17:27:00 -08:00
Brian Hackett
e970326d58 Add API for JSD to get the parent of a scope object, no bug. 2011-11-28 07:43:31 -08:00
Brian Hackett
c3b9744976 Merge MC -> JM 2011-11-26 15:03:20 -08:00
Brian Hackett
8e640c3889 Fix inverted test, improve test when marking objects with uncacheable prototypes, bug 703047. 2011-11-25 17:45:41 -05:00
Brian Hackett
70faf0ae00 Allow one prototype change before marking an object's prototype as uncacheable, bug 703047. 2011-11-25 16:01:08 -05:00
Brian Hackett
8ec1ac50d4 Use correct base address for computing allocated size of object elements, bug 704372. 2011-11-23 22:01:08 -05:00
Brian Hackett
2fe0d7c890 Don't trigger write barrier when initializing private data of new objects, bug 704136. 2011-11-22 18:21:10 -05:00
Brian Hackett
c26fc2aa88 Fix misuse of shape->slot(), bug 703818. 2011-11-22 17:44:26 -05:00
Brian Hackett
74b1236011 Check for uncacheable prototypes during ADDPROP IC, bug 704138. 2011-11-22 17:24:59 -05:00
Brian Hackett
674b11c47e Treat EXTENSIBLE_PARENTS as an object flag, bug 704134. 2011-11-22 16:49:47 -05:00
Brian Hackett
8b5b277f7c Add about:memory reporters for per compartment shape tables, bug 704372. 2011-11-21 20:29:05 -05:00
Brian Hackett
4e104973cd Dense arrays should have numFixedSlots() == 0, regardless of size class. bug 704348 2011-11-21 19:20:39 -05:00
Brian Hackett
b7108dd598 Speed up adding new properties with a common base shape, bug 704327. 2011-11-21 18:33:55 -05:00
Bobby Holley
26cc5f0c55 Bug 705019 - Allow access to {C,Pointer,Struct,Array,Function}Type.prototype.prototype. r=jorendorff 2011-11-29 18:29:19 -08:00
Bobby Holley
373b613af3 Bug 705019 - Make toSource() and toString() work on sCTypeProtoClass and sCDataProtoClass objects. r=jorendorff 2011-11-29 18:26:12 -08:00
Bobby Holley
457374946b Bug 705019 - Introduce CType::IsCTypeProto() and CData::isCDataProto(). r=jorendorff 2011-11-29 18:26:12 -08:00
Chris Leary
7822e56c0d Bug 691299: Lower maximum quantifier. (r=dmandelin)
--HG--
extra : rebase_source : ea2cdc1664171309d60c02094913483e2af3a61a
2011-11-29 15:24:44 -08:00
Brian Hackett
43a83a7006 Only inline construction of 'this' for 'new' on singleton functions, bug 706110. r=billm 2011-11-29 13:26:37 -08:00
Chris Leary
fae62a16ef Bug 691797: Optimize RegExp.prototype.test with leading .*, take 2. (r=mrbkap,luke)
--HG--
extra : rebase_source : 49c190dc6dec6ab2a05fbbd1479135082a053690
2011-11-28 13:35:12 -08:00
Brian Hackett
e799d1a5b0 Merge mozilla-central and mozilla-inbound 2011-12-03 14:36:54 -08:00
Makoto Kato
fc3b1a3f9e Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz 2011-11-25 11:23:41 +09:00
Tom Schuster
7fee1d3cb0 Bug 602212 - Use error message from js.msg when CSP blocks a call to eval r=jorendorff 2011-11-24 19:39:02 +01:00
Tom Schuster
616aa669c1 Bug 705168 - Followup to remove some references to the tracer in the methodjit r=dvander 2011-11-24 19:38:57 +01:00
Andrew McCreight
c76f9e1244 Bug 668855, part 6: test weak maps and the cycle collector. r=gal 2011-11-24 07:35:57 -05:00
Brian Hackett
3c0c276269 Merge MC -> JM 2011-11-18 18:02:40 -08:00
Brian Hackett
8c117e4700 Remove assertion, no bug. 2011-11-18 17:37:37 -08:00
Brian Hackett
4fa685ec83 Fix incorrect loadPayload, bug 703721. 2011-11-18 17:03:50 -08:00
Brian Hackett
91cff8878e Address bug 694561 review comments, r=luke. 2011-11-18 16:22:52 -08:00
Brian Hackett
7075aa95ba Address bug 697537 review comments, r=luke. 2011-11-18 15:20:21 -08:00
Brian Hackett
4124a56c30 Address bug 684507 review comments, r=luke. 2011-11-18 14:59:31 -08:00
Brian Hackett
e4d3f5339b Address bug 699446 review comments, r=luke. 2011-11-18 14:40:14 -08:00
Brian Hackett
540d7ac81a Address bug 700501 review comments, r=luke. 2011-11-18 13:59:48 -08:00
Brian Hackett
2b0b2a9b3d Address bug 701509 review comments, r=luke. 2011-11-18 13:35:10 -08:00
Brian Hackett
451efa7417 Mark uncacheable prototypes on objects whose prototype has dynamically changed, bug 703047. 2011-11-18 13:28:07 -08:00
Brian Hackett
330d1a2efa Move arguments object private data to a reserved slot, bug 703721. 2011-11-18 12:54:40 -08:00
Ed Morley
51301b2f49 Merge b-s and m-c 2011-11-18 19:04:13 +00:00