Ed Morley
1ffbd8940f
Merge mozilla-central and mozilla-inbound
2011-12-04 15:04:54 +00:00
Jim Blandy
a89edb3f78
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
18fa4b8800
Bug 705357 - Use IDL for Components.utils.getGlobalForObject; r=bholley
2011-12-03 22:50:16 +01:00
Ms2ger
7835d6610a
Bug 705333 - Use IDL for nsJSCID::{CreateInstance,GetService}; r=bholley
2011-12-03 22:50:16 +01:00
Kyle Huey
a441b10233
Merge b-s to m-c.
2011-12-03 16:27:21 -05:00
Brian Hackett
356489907c
Merge MC -> JM
2011-12-03 10:34:26 -08:00
Antti Haapala
55185ebf5e
Bug 699156: Support TypedArrays in XPConnect. r=bholley,evilpie
2011-12-03 09:33:20 -05:00
Hannes Verschore
6aee55d766
Add testcase for bug 476088. r=jruderman
2011-12-03 03:29:59 -05:00
Hannes Verschore
0b0193a36a
Add a test for bug 373843. r=jruderman
2011-12-03 03:29:59 -05:00
Brian Hackett
d3db56074b
Merge MC -> JM
2011-12-01 11:51:09 -08:00
Brian Hackett
4fa421bf15
Merge MC -> JM
2011-11-30 12:45:27 -08:00
Brian Hackett
0fa9feab9b
Avoid scratch register collision when comparing an absolute address to an immediate, bug 703047.
2011-11-29 18:41:38 -08:00
Brian Hackett
eac5475248
Manually check prototypes of objects with uncacheable prototypes in ICs, bug 703047.
2011-11-29 13:37:18 -08:00
Brian Hackett
b0f0390951
Remove bogus assert, bug 705873.
2011-11-28 17:58:00 -08:00
Brian Hackett
363a464669
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
e3ddedadca
Add API for JSD to get the parent of a scope object, no bug.
2011-11-28 07:43:31 -08:00
Brian Hackett
73956e1912
Merge MC -> JM
2011-11-26 15:03:20 -08:00
Brian Hackett
2bfcc2bf79
Fix inverted test, improve test when marking objects with uncacheable prototypes, bug 703047.
2011-11-25 17:45:41 -05:00
Brian Hackett
2aed57be88
Allow one prototype change before marking an object's prototype as uncacheable, bug 703047.
2011-11-25 16:01:08 -05:00
Brian Hackett
2622cec5c9
Use correct base address for computing allocated size of object elements, bug 704372.
2011-11-23 22:01:08 -05:00
Brian Hackett
e0088b9d4a
Don't trigger write barrier when initializing private data of new objects, bug 704136.
2011-11-22 18:21:10 -05:00
Brian Hackett
5b7f09e51f
Fix misuse of shape->slot(), bug 703818.
2011-11-22 17:44:26 -05:00
Brian Hackett
7a648f4ee8
Check for uncacheable prototypes during ADDPROP IC, bug 704138.
2011-11-22 17:24:59 -05:00
Brian Hackett
9c78221ab5
Treat EXTENSIBLE_PARENTS as an object flag, bug 704134.
2011-11-22 16:49:47 -05:00
Brian Hackett
586dafd5c1
Add about:memory reporters for per compartment shape tables, bug 704372.
2011-11-21 20:29:05 -05:00
Brian Hackett
9b1e8362f3
Dense arrays should have numFixedSlots() == 0, regardless of size class. bug 704348
2011-11-21 19:20:39 -05:00
Brian Hackett
8f0417b715
Speed up adding new properties with a common base shape, bug 704327.
2011-11-21 18:33:55 -05:00
Bobby Holley
185cf7a127
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
1c1b109a0d
Bug 705019 - Make toSource() and toString() work on sCTypeProtoClass and sCDataProtoClass objects. r=jorendorff
2011-11-29 18:26:12 -08:00
Bobby Holley
80eb15cc4c
Bug 705019 - Introduce CType::IsCTypeProto() and CData::isCDataProto(). r=jorendorff
2011-11-29 18:26:12 -08:00
Chris Leary
75098ca12a
Bug 691299: Lower maximum quantifier. (r=dmandelin)
...
--HG--
extra : rebase_source : ea2cdc1664171309d60c02094913483e2af3a61a
2011-11-29 15:24:44 -08:00
Brian Hackett
46a2c296fd
Only inline construction of 'this' for 'new' on singleton functions, bug 706110. r=billm
2011-11-29 13:26:37 -08:00
Chris Leary
8a790745e5
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
9a1b4e584a
Merge mozilla-central and mozilla-inbound
2011-12-03 14:36:54 -08:00
Makoto Kato
c012763b5c
Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz
2011-11-25 11:23:41 +09:00
Tom Schuster
c70627a126
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
f8c682c633
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
4453584b8b
Bug 668855, part 6: test weak maps and the cycle collector. r=gal
2011-11-24 07:35:57 -05:00
Brian Hackett
299ac2bf87
Merge MC -> JM
2011-11-18 18:02:40 -08:00
Brian Hackett
d878ed663a
Remove assertion, no bug.
2011-11-18 17:37:37 -08:00
Brian Hackett
c78deb5725
Fix incorrect loadPayload, bug 703721.
2011-11-18 17:03:50 -08:00
Brian Hackett
316495759c
Address bug 694561 review comments, r=luke.
2011-11-18 16:22:52 -08:00
Brian Hackett
f105499192
Address bug 697537 review comments, r=luke.
2011-11-18 15:20:21 -08:00
Brian Hackett
c524bd9873
Address bug 684507 review comments, r=luke.
2011-11-18 14:59:31 -08:00
Brian Hackett
58ac544fd2
Address bug 699446 review comments, r=luke.
2011-11-18 14:40:14 -08:00
Brian Hackett
eadd477da8
Address bug 700501 review comments, r=luke.
2011-11-18 13:59:48 -08:00
Brian Hackett
1eb0891b9b
Address bug 701509 review comments, r=luke.
2011-11-18 13:35:10 -08:00
Brian Hackett
2f44413ef8
Mark uncacheable prototypes on objects whose prototype has dynamically changed, bug 703047.
2011-11-18 13:28:07 -08:00
Brian Hackett
61189d725a
Move arguments object private data to a reserved slot, bug 703721.
2011-11-18 12:54:40 -08:00
Ed Morley
18baf3e8cb
Merge b-s and m-c
2011-11-18 19:04:13 +00:00