Johnny Stenback
886679794e
Merge backout.
2010-10-13 11:16:38 -07:00
Johnny Stenback
76bb5be13d
Backed out changeset a63b6fa0229c per request from sayrer due to a trace malloc alloc regression.
2010-10-13 11:16:20 -07:00
Sean Stangl
d5c09a23f0
Fix typo in ensureTypeSynced(), fixing assert. b=598839.
2010-10-12 20:34:15 -04:00
Sean Stangl
357a3ae283
Eliminate ImmutableSync on x64. b=601066, r=dvander.
2010-10-12 20:08:40 -04:00
Sean Stangl
d96bb05817
Faster x64 Syncing. b=598839, r=dvander.
2010-10-12 17:39:30 -04:00
Luke Wagner
844de3126b
Bug 603017 - speed up js::DefaultValue on String builtin with void hint (r=brendan)
2010-10-12 13:41:40 -07:00
Gregor Wagner
34dd1159af
Bug 603433 - TM: various GC cleanups, r=igor
2010-10-13 09:22:05 -07:00
David Mandelin
e45bcfe30a
Bug 603558: add -m option to turn on method jit for xpcshell, r=dvander, a=shaver
...
--HG--
extra : rebase_source : 9374b3ab212fa8cd41d33b3887e678b9888be972
2010-10-12 17:25:37 -07:00
Blake Kaplan
7c9de80f1f
Revert unintended changes.
2010-10-12 17:44:34 -07:00
Blake Kaplan
03450c5470
Bug 603816 - Don't assume that target->data is non-null. r=peterv
...
--HG--
extra : rebase_source : 6a3e949376465cc9eac3d4ffa6b7fc3ba501c502
2010-10-12 16:28:22 -07:00
Nicholas Nethercote
39f5c14292
Update nanojit-import-rev stamp.
2010-10-12 12:53:29 -07:00
Peter Van der Beken
ac7fa9fd75
Fix for bug 603677 (Crash on startup due to GetProto on an XPCWrappedNative being null with Bugzilla Tweaks jetpack installed), compartments followup. r=mrbkap.
...
--HG--
extra : rebase_source : 884494ce295e8e2222de4f3bafb02d4a96e2bcc2
2010-10-12 11:51:42 -07:00
Nicholas Nethercote
4b1f77accc
These tests should have been added as part of the patch for bug 595728.
...
--HG--
extra : convert_revision : f31ee612d65e224424ae24d1852491c1b1698388
2010-10-07 23:14:10 -07:00
Nicholas Nethercote
6cc88ddd4f
Bug 599247 - nanojit: in Nativei386.cpp, generate d[b + i<<s] addressing modes in asm_store32(). r=edwsmith.
...
--HG--
extra : convert_revision : cf8d0148a91da8795edec935ddec57d4164bc3aa
2010-10-07 20:24:07 -07:00
Rick Reitmaier
0380f837dc
fix build breakage
...
--HG--
extra : convert_revision : c900245f6488bbcca67f1b2136c4f30427a789aa
2010-10-07 19:35:06 -07:00
Rick Reitmaier
e4543e5e2e
Bug 596056 - nanojit: random number generator needed for many hardening algorithms (r+nnethercote,edwsmith)
...
introduce noise object
Assembler to use a noise object in which the actual mechanics of how noise is
being produced in abstracted by the client.
The noise object will often need to contain state so its convenient to derive
from this class and build an object containing all the necessary state.
--HG--
extra : convert_revision : c569f3ddd2d9b7a69b3c63f1fd139ea8d513fd9c
2010-10-07 19:22:35 -07:00
Nicholas Nethercote
02b6b47148
Bug 602408 - nanojit: print all hex numbers in LIR dumps with an 0x prefix. r=rreitmai.
...
--HG--
extra : convert_revision : 819b3d7e0ab682bf76da6c24de58434f5744e640
2010-10-07 15:30:36 -07:00
Jason Orendorff
41c66a3760
Fix anyname_finalize to look in the right compartment, to avoid dangling pointer. Likely fix for bug 603270. r=mrbkap over IRC.
...
--HG--
extra : rebase_source : 234c1412ce5543e32222cfd292ee905634ef6741
2010-10-12 14:40:05 -05:00
Jim Blandy
713b25831a
Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
...
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Jim Blandy
d195d41b0a
Bug 514570: Adapt XPConnect to new JS_GetFrameThis arguments. r=jorendorff
...
It used to be:
JSObject *JS_GetFrameThis(JSContext *, JSStackFrame *);
Now it is:
JSBool JS_GetFrameThis(JSContext *, JSStackFrame *, jsval *);
(In strict mode code, |this| values that are primitives don't get wrapped.)
2010-10-12 11:50:03 -07:00
Jim Blandy
112fe57db0
Bug 514570: Adapt jsd to new JS_GetFrameThis arguments. r=brendan
...
It used to be:
JSObject *JS_GetFrameThis(JSContext *, JSStackFrame *);
Now it is:
JSBool JS_GetFrameThis(JSContext *, JSStackFrame *, jsval *);
(In strict mode code, |this| values that are primitives don't get wrapped.)
2010-10-12 11:50:03 -07:00
Jeff Walden
0b9b58415c
Bug 575522 - Object.prototype.toString should return "[object Undefined]" and "[object Null]" when called with |this === undefined| or |this === null|, respectively. r=jorendorff,brendan
2010-10-12 11:50:03 -07:00
Jeff Walden
4626f47ec6
Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff
2010-10-12 11:50:03 -07:00
Jeff Walden
7f75fc0a25
Bug 514570 - 2 - Push |undefined| rather than |null| when calling functions without a specified |this| value, per ES5. r=jorendorff
2010-10-12 11:50:03 -07:00
Jeff Walden
fcbd8eb10b
Bug 514570 - 1 - Convert primitive-this-of-type function flags into a single primitive-this flag, to pave way for strict mode unadulterated-this passing. r=jorendorff
2010-10-12 11:50:02 -07:00
Brendan Eich
eb3502680f
JSOPTION_ANONFUNFIX should be set in js shell (5595555, r=cdleary).
2010-10-06 14:58:28 -07:00
Ginn Chen
b1fc7ea706
Bug 601835 Add JS_STATIC_ASSERT back for Solaris Studio, r=brendan
2010-10-11 18:23:55 +08:00
Brendan Eich
ab966b3529
Warning fixes (one left over from 602621, the other from 584789).
2010-10-10 21:11:45 -07:00
Johnny Stenback
18174c5a4e
Bug 580128 - No need to assert about commpartment mismatches in JS_Get/SetPrivate (r=gal).
2010-10-10 15:50:11 -07:00
Blake Kaplan
05061dd1c1
Bug 580128 - Deal with the outer object hook failing a little more gracefully. r=jst
2010-10-10 15:49:51 -07:00
Peter Van der Beken
645d07dc67
Bug 580128. Remove cross origin string wrappers from hash when the wrapped string dies. r=mrbkap.
...
As a note: this bug took peterv and mrbkap 7 hours to track down using replay debugging after spending hours trying to even catch it on a replay debugging box.
2010-10-10 15:49:38 -07:00
Blake Kaplan
0228224cd3
bug 580128 - Allow chrome://global/ scripts to unwrap SOWs going into C++. r=peterv/jst
2010-10-10 15:49:30 -07:00
Andreas Gal
20ff9fd18f
bug 580128 - split expando properties onto a separate object and implement enumeration. r=mrbkap
2010-10-10 15:49:13 -07:00
Blake Kaplan
acf7a3ad20
bug 580128 - By default properties created by property assignment are enumerable. r=gal
2010-10-10 15:49:08 -07:00
Blake Kaplan
9eac8b4de5
bug 580128 - Create SOWs same and cross compartment. r=jst
2010-10-10 15:48:55 -07:00
Johnny Stenback
dd9636fcf2
bug 580128 - Allow unwrapping windows via JSObject::unwrap. r=jst
2010-10-10 15:48:35 -07:00
Andreas Gal
9103300871
bug 580128 - Implement deep wrapping for .wrappedJSObject. r=mrbkap
2010-10-10 15:48:29 -07:00
Blake Kaplan
b8df1d75e7
bug 580128 - Outerize inner windows. r=jst
2010-10-10 15:47:55 -07:00
Blake Kaplan
d1776a6e22
bug 580128 - Reparent proxies when we pull them out of the map in order to try to keep their parents sembling something current. r=jst
2010-10-10 15:47:48 -07:00
Andreas Gal
5724ba40ea
bug 580128 - Cross origin wrapper needs no waive xray flag. r=mrbkap
2010-10-10 15:47:22 -07:00
Peter Van der Beken
cc3214ae02
bug 580128 - Don't create slim wrappers when crossing compartments. r=mrbkap
2010-10-10 15:47:19 -07:00
Peter Van der Beken
9ba94d50b4
bug 580128 - Don't create multiple wrappers for global objects (like BackstagePass). r=mrbkap
2010-10-10 15:47:16 -07:00
David Anderson
c190047dbc
Fix bug 602574 - Assertion failure: constOffset != 0 in JSScript::NewScript() on 64-bit platforms. r=gal@uci.edu
2010-10-10 15:47:09 -07:00
Blake Kaplan
e4cff70d45
bug 580128 - Revert bogus change to which scope we use in nsXPCWrappedJSClass::CallMethod. r=jst Many thanks to Margaret and sdwilsh who helped track this one down.
2010-10-10 15:46:59 -07:00
Peter Van der Beken
dba11b628d
Bug 580128. Remove XrayUtils::JSSLOT_PROXY_OBJ to fix leaks. r=mrbkap.
2010-10-10 15:46:45 -07:00
Peter Van der Beken
629ea4ef17
bug 580128 - Fix js_PrintObjectSlotName. r=mrbkap
2010-10-10 15:46:42 -07:00
Peter Van der Beken
579942e2b6
bug 580128 - Initialize vp before calling property op in JSProxyHandler::get. r=mrbkap
2010-10-10 15:46:34 -07:00
Peter Van der Beken
a4014cdf86
Bug 580128 - Fix NativeWrapper(window).document. r=mrbkap
2010-10-10 15:46:26 -07:00
Andreas Gal
695053b449
bug 580128 - Fix compartment bugs in XrayWrapper. r=mrbkap
2010-10-10 15:46:23 -07:00
Johnny Stenback
69b6a88894
Bug 580128. Reset gczeal after test completes. r=gal@uci.edu
2010-10-10 15:46:20 -07:00
Johnny Stenback
1cb512cddb
Bug 580128. Properly switch compartments and wrap values when running xpcshell tests. r=mrbkap@gmail.com
2010-10-10 15:46:16 -07:00
Johnny Stenback
e08bf405b4
Bug 580128. Disable test that is not ready for the new wrappers yet. r=mrbkap@gmail.com
2010-10-10 15:46:13 -07:00
Peter Van der Beken
993f7e96bf
bug 580128 - Fix evalInSandbox. r=mrbkap
2010-10-10 15:46:07 -07:00
Andreas Gal
2975066de7
bug 580128 - Make e4x anyname etc be per compartment, not in the default compartment. r=mrbkap
2010-10-10 15:46:05 -07:00
Andreas Gal
4467b41169
bug 580128 - Remove test that no longer works right. r=mrbkap
2010-10-10 15:43:06 -07:00
Johnny Stenback
1ca1b04765
bug 580128 - Move test that tests for existence of XrayWrapper's into chrome, and fix lookupMethod bug that was triggered by the test move. r=mrbkap
...
--HG--
rename : js/src/xpconnect/tests/mochitest/test_bug517163.html => js/src/xpconnect/tests/chrome/test_bug517163.xul
2010-10-10 15:42:45 -07:00
Blake Kaplan
8970b90a14
bug 580128 - Attempt to fix file:// URIs all ending up in the same compartment. r=peterv
2010-10-10 15:42:36 -07:00
Blake Kaplan
fbd8321aa9
bug 580128 - Make document.domain affect how we look up properties in addition to the security check. r=gal
2010-10-10 15:42:21 -07:00
Blake Kaplan
4982e8d388
bug 580128 - Distinguish between XOW XrayWrappers and XPCNW XrayWrappers and use the new knowledge in a few places. r=gal
2010-10-10 15:42:18 -07:00
Blake Kaplan
e5f38fdf0b
bug 580128 - Use scopes when we have them to wrap into the right scopes. r=peterv
2010-10-10 15:42:12 -07:00
Johnny Stenback
fd0ffcbc96
bug 580128 - Fix getting doubled wrapped objects in XPConnect. r=mrbkap
2010-10-10 15:42:04 -07:00
Andreas Gal
ab068cae64
bug 580128 - Remove test that uses an obsolete wrapper. r=mrbkap
2010-10-10 15:42:01 -07:00
Jason Orendorff
73fb2b5453
Mainly just fix ExposedPropertiesOnly::check to ignore non-enumerable properties and return true when no property is found. r=mrbkap
2010-10-10 15:41:56 -07:00
Peter Van der Beken
6594bfed65
bug 580128 - Remove old wrappers. r=mrbkap
2010-10-10 15:41:40 -07:00
Blake Kaplan
0b6ae7d569
bug 580128 - Fix evalInSandbox returning objects in the wrong compartment. r=jst
2010-10-10 15:41:33 -07:00
Andreas Gal
3139de18ef
bug 580128 - Try to allow UniversalXPConnect to have full access through "XOWs".
2010-10-10 15:41:24 -07:00
Andreas Gal
fe1f79bea1
bug 580128 - Don't think the outer window isn't "native". r=mrbkap
2010-10-10 15:41:20 -07:00
Andreas Gal
1148b3e425
Bug 580128. Update mochi tests to the new wrappers. r=mrbkap@gmail.com
2010-10-10 15:41:14 -07:00
Andreas Gal
4727d8eb7b
bug 580128 - Fix compartment mistakes around document.domain stuff. r=mrbkap
2010-10-10 15:39:29 -07:00
Andreas Gal
1d93b82d53
bug 580128 - Allow proxies to answer the "hasInstance" question. r=mrbkap
2010-10-10 15:39:26 -07:00
Peter Van der Beken
9779e115ec
bug 580128 - Allow NewResolve to set properties on wrappers. r=gal
2010-10-10 15:39:23 -07:00
Andreas Gal
133adc68a7
bug 580128 - Allow access when both sites have set document.domain. r=mrbkap
2010-10-10 15:39:19 -07:00
Johnny Stenback
c74184af3e
Bug 580128. Use JS_WrapObject() in xpcJSWeakReference::Get() since it's the right API to use here. r=mrbkap@gmail.com
2010-10-10 15:39:17 -07:00
Andreas Gal
ff566b632b
Bug 580128. Don't let script access only wrappers be passed to C++ code. r=peterv@propagandism.org
2010-10-10 15:39:08 -07:00
Andreas Gal
bce6505f32
bug 580128 - Fix wrapping of jsval parameters. r=peterv
2010-10-10 15:39:04 -07:00
Peter Van der Beken
b7e152241c
Bug 580128 - Fix XPCVariant::VariantDataToJS to properly rewrap, r=gal.
2010-10-10 15:39:02 -07:00
Blake Kaplan
bba79011e0
bug 580128 - Make the XPCNativeWrapper constructor work to actually construct XrayWrappers. r=jst
2010-10-10 15:38:56 -07:00
Blake Kaplan
eed8d1aacc
bug 580128 - Deal better with compartments around the xray holder object. r=gal
2010-10-10 15:38:39 -07:00
Blake Kaplan
e05232ec8b
bug 580128 - Try to make test_wrappers-2.xul work a little better.
...
--HG--
rename : js/src/xpconnect/tests/chrome/file_wrappers-2.html => js/src/xpconnect/tests/mochitest/file_wrappers-2.html
2010-10-10 15:38:24 -07:00
Andreas Gal
b656a2c951
Bug 580128. Add more asserts to the interpreter to check that we're on the right compartment. r=mrbkap@gmail.com
2010-10-10 15:38:13 -07:00
Blake Kaplan
1b571f0ac4
bug 580128 - Attempt to make the XPCNativeWrapper constructor create XrayWrappers. r=jst
2010-10-10 15:37:44 -07:00
Johnny Stenback
41120f4b7c
Bug 580128. Fix various mochi chrome tests to work with the new wrappers. r=mrbkap@gmail.com
2010-10-10 15:37:28 -07:00
David Mandelin
3024f662e3
Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb
2010-10-06 11:23:14 -07:00
Jason Orendorff
a214519d8f
Bug 592664, Epilogue: caching eval scripts that we will never use again is necessary to avoid leaking them. rs=Waldo. (Note that my 4 previous commits today were all for bug 592664, not "592644" as the commit messages say.)
...
--HG--
extra : rebase_source : e7337a31313a4ef3d2d676be41291c832afa4c15
2010-10-07 19:15:45 -05:00
David Mandelin
50f3df9d0e
Backed out changeset af020f2b9293 due to x64 build bustage.
2010-10-07 17:03:01 -07:00
David Mandelin
544d2fb3f2
Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb
2010-10-06 11:23:14 -07:00
David Mandelin
22817a28df
Remove obsolete declarations for functions never defined or called
2010-10-07 16:33:40 -07:00
Nicholas Nethercote
63201dff5e
Bug 601009 - TM: allow for guards that always exit. r=dmandelin.
2010-10-07 15:51:57 -07:00
Andreas Gal
96223bbef4
Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap).
2010-09-29 23:17:29 -07:00
Andreas Gal
3d567b4e1a
Bug 580128 - Small cleanups in XrayWrapper and first stab at enumeration. r=mrbkap
2010-10-10 15:37:22 -07:00
Blake Kaplan
a44ad43150
bug 580128 - Fix more compartment warnings. Work of multiple people. r=gal/peterv/jst
2010-10-10 15:37:19 -07:00
Blake Kaplan
9cc00701e9
bug 580128 - Add a test about double wrapped native objects in security wrappers. r=jst
2010-10-10 15:36:59 -07:00
Andreas Gal
c48124ac98
bug 580128 - Clean up our passing from JS-into-C++ story. r=peterv/mrbkap
2010-10-10 15:36:41 -07:00
Blake Kaplan
c563e195ac
bug 580128 - Allow API consumers to pass in a new object altogether before trying to wrap in a security wrapper. r=gal/peterv
2010-10-10 15:36:38 -07:00
Mounir Lamouri
e2809794f9
Bug 580128. Make tests that now need to be chrome tests be chrome tests. r=jst@mozilla.org
...
--HG--
rename : js/src/xpconnect/tests/mochitest/test_bug484459.html => js/src/xpconnect/tests/chrome/test_bug484459.xul
rename : js/src/xpconnect/tests/mochitest/test_cows.html => js/src/xpconnect/tests/chrome/test_cows.xul
rename : js/src/xpconnect/tests/mochitest/test_wrappers.html => js/src/xpconnect/tests/chrome/test_wrappers-2.xul
2010-09-30 00:14:30 -07:00
Blake Kaplan
c3afb44113
bug 580128 - Implement XrayWrapper::toString. r=jst
2010-10-10 15:36:32 -07:00
Blake Kaplan
41aa9a74c8
bug 580128 - Use the shiny new API for finding XrayWrappers. r=jst
2010-10-10 15:36:20 -07:00
Andreas Gal
c6e9365a24
bug 580128 - Give XrayWrappers a flag they can query for. r=mrbkap
2010-10-10 15:36:04 -07:00
Blake Kaplan
9d0588387a
bug 580128 - Allow unwrapping XrayWrappers via XPCNativeWrapper.unwrap. r=jst
2010-10-10 15:35:54 -07:00
Blake Kaplan
adcddf1716
bug 580128 - Stop returning the old wrappers from their constructors. r=jst
2010-10-10 15:35:48 -07:00
Jason Orendorff
2885319d0b
Bug 580128 - Some more compartment fixes. r=gal
2010-10-10 15:35:46 -07:00
Blake Kaplan
ee23d64857
Bug 606106 - Avoid tripping an assertion under CC. r=gal
...
--HG--
extra : rebase_source : ca7c16354a3b9b2c506fa712d4391232770e9132
2010-10-25 12:12:43 -07:00
Blake Kaplan
a0d236fc57
Bug 606357 - Make jsd values not compartment mismatch. r=gal
...
--HG--
extra : rebase_source : f1b2f7b70f874868cf6f5aaa1ce4782b229ed5fe
2010-10-25 12:12:32 -07:00
Peter Van der Beken
3dae0dceb9
Bug 580128 - Always wrap Location objects in wrappers, even for same origin. r=mrbkap/gal
2010-09-29 10:00:52 -07:00
Johnny Stenback
26f851aa87
bug 580128 - Make the component loader work for content scripts with UniversalXPConnect. r=mrbkap
2010-09-29 10:00:52 -07:00
Johnny Stenback
9ddf730c9d
bug 580128 - Deal with null principals (for e.g. dom worker compartments). r=mrbkap
2010-09-29 10:00:52 -07:00
Blake Kaplan
d01df23560
bug 580128 - Loosen our policy on what you're to see on cross-origin errors. r=jst
2010-09-29 10:00:52 -07:00
Jeff Walden
490ed1946a
Bug 600128 - Properly record attempted addition of properties to non-extensible objects. r=jimb
...
--HG--
extra : rebase_source : af730b39d1f5d6b299e74278ec22d1920ec96e2c
2010-09-28 17:09:40 -07:00
Jeff Walden
9361db8ece
Bug 601307 - Add a test for directness of the eval in |with (...) eval(...)| (assuming eval is the global eval function). r=jimb
...
--HG--
extra : rebase_source : 9a6b233cd99a3f9016c760f1249497d5a39d0c55
2010-10-01 18:40:11 -07:00
Jason Orendorff
44405a40a0
Bug 592644 - ES5 indirect eval. Part 2, factor out EvalCacheLookup and other misc. cleanup. r=brendan.
2010-10-07 15:01:45 -05:00
Jason Orendorff
b0245eb593
Back out changeset 7598b7ab2e76.
...
--HG--
extra : rebase_source : e3571c6433d01e53ba31639d4dc082ced93775f0
2010-10-07 15:35:08 -05:00
Brendan Eich
47bac3fdd5
Back out my last push (599009 botched followup).
2010-10-07 13:17:03 -07:00
Jason Orendorff
725599b967
Bug 592644 - ES5 indirect eval. Part 2, factor out EvalCacheLookup and other misc. cleanup. r=brendan.
...
--HG--
extra : rebase_source : 6c0dfea58dbbe3d9ce7aa6315b4c9c17c253a03a
2010-10-07 15:01:45 -05:00
Jason Orendorff
fdb2a0d1c5
Bug 592644 - ES5 indirect eval. Part 1, add support and tests. r=brendan.
...
--HG--
extra : rebase_source : 5d07f3e847b2adfb46f30f343af2e06d494012c3
2010-10-07 15:00:09 -05:00
Brendan Eich
084feb5c3f
Nit-picks, mainly localizing and initializing the oldAttrs var, on patchwork for bug 599009 (r=bz).
2010-10-07 11:33:23 -07:00
Dave Herman
85db64ec81
bug 584787, r=pcwalton: Node shouldn't subclass Array
2010-10-07 10:59:45 -07:00
Boris Zbarsky
a69bdff134
Another bug 599009 followup. Don't assert things about uninitialized quantities.
2010-10-07 13:58:51 -04:00
Boris Zbarsky
31e1c63e5b
Bug 599009 followup. Fix typo in assert.
2010-10-07 11:03:41 -04:00
Boris Zbarsky
4ebf2b027a
Bug 599009. Don't use setProperty for JSOP_DEFFUN unless there's already a property with that name around, to work around the fact that setProperty will define with class-default getter and setter while we always want to define with stub getter and setter if we can. r=igor
2010-10-07 09:18:53 -04:00
Johnny Stenback
e0377cb0a6
Fixing bustage.
2010-10-06 19:50:46 -07:00
Andreas Gal
ea58e77c7b
GetPropertyByName doesn't deep bail (602415, r=dvander).
2010-10-06 19:30:02 -07:00
Robert Sayre
012db2a6ae
Merge mozilla-central to tracemonkey.
2010-10-06 18:48:56 -07:00
Nicholas Nethercote
5fca2f1eb1
Bug 599251 - nanojit: make Register a non-numeric type (TM-specific part). r=edwsmith.
2010-10-06 17:39:28 -07:00
Chris Jones
b9c731f6ce
Bug 602393: Fix idiotic mistake causing JITs to be blacklisted on all android devices. r=dvander a=blocking-fennec-b1+
2010-10-06 19:39:19 -05:00
Nicholas Nethercote
72a4aabfd5
Update nanojit-import-rev stamp.
2010-10-06 17:28:51 -07:00
Nicholas Nethercote
9e870a8e7b
Bustage fix: add new file that was accidentally omitted for bug 599251.
...
--HG--
extra : convert_revision : 661718b83d398aa4c91f522f7d08ef5cea8e20a9
2010-10-06 15:51:01 -07:00
Nicholas Nethercote
2f1f5115bb
Bug 599251 - nanojit: make Register a non-numeric type. r=edwsmith.
...
--HG--
extra : convert_revision : c7275693cde4c740f1a53ab73b9ec1963f6fe0cc
2010-10-06 15:30:56 -07:00
Nicholas Nethercote
753fbd4232
Fix compiler warning. No bug, r=jwalden via IRC.
2010-10-06 16:16:11 -07:00
Nicholas Nethercote
4592f12901
Bug 593931 - inline js_GetPropertyHelper() and friends more aggressively. r=cdleary.
2010-10-06 16:14:01 -07:00
Chris Leary
de62ad1b1c
Fix trace_tests.py when showing output. (r=jorendorff)
2010-10-06 15:15:54 -07:00
Chris Leary
9ae5e5cf0f
Bug 596775: re-enable YARR-JIT on ARM. (r=vladimir)
2010-10-05 18:20:06 -07:00
Jason Orendorff
60ab838ce4
Back out changeset 89006937466d (crashing tests on tinderbox).
2010-10-06 15:51:14 -05:00
Jason Orendorff
a55c843052
Bug 592644 - Indirect eval should be allowed under ES5. r=brendan.
2010-10-06 15:11:30 -05:00
Tom Schuster
537c5775ed
Bug 601689 - Optimize GetArrayElement for arguments objects (r=lw)
...
--HG--
extra : rebase_source : 6360a47b95660da477a1f312ab8654a23e4019c1
2010-10-06 12:04:31 -07:00
Bill McCloskey
5ad8ad87f8
Fix trap instruction in trace-test, bump XDR version (r=dvander)
2010-10-06 11:58:33 -07:00
David Anderson
bf2b73455a
Fix assert in InvokeConstructor (bug 602088, r=luke).
2010-10-06 11:06:18 -07:00
Bill McCloskey
05473d29a8
Bug 601986 - Make blockchain determination faster for with, flat closures (r=igor)
2010-10-06 10:41:36 -07:00
Bill McCloskey
7bfd4bbd01
Bug 601398 - Use new instructions, rather than source notes, to obtain block chain (r=igor)
2010-10-06 10:40:07 -07:00
Luke Wagner
d46bab180a
Bug 601733 - respect deleted arguments-object properties in JSOP_GETELEM (r=dvander,dmandelin)
2010-10-06 10:09:40 -07:00
Sean Stangl
a725810965
Define isOOLPath if JaegerSpew is enabled.
2010-10-06 00:46:21 -04:00
Boris Zbarsky
0ede7a0b3c
Bug 601968. Trace call(null). r=gal, a=sayrer
2010-10-06 00:00:28 -04:00
David Mandelin
7160d3fa59
Bug 601256: optimize access to globals in global eval using GNAME ops, r=dvander
...
--HG--
extra : rebase_source : 7c4bd486cc9dff1c65eda717fe34dd0fc36fe171
2010-10-05 11:02:05 -07:00
David Anderson
b84b230fa4
Don't build debug structures if not in debug mode (bug 596804, r=dmandelin).
2010-10-05 17:15:06 -07:00
David Anderson
dfffa5d871
Fix crash in AtSafePoint (bug 589398, r=dmandelin).
2010-10-05 16:41:06 -07:00
David Mandelin
d3637a9f66
Bug 595963: notify iterators about property deletion in array_splice, r=gal
...
--HG--
extra : rebase_source : de2700e0d3d7bce1453a73155c569d28cfbd4482
2010-10-01 11:12:01 -07:00
Nicholas Nethercote
081f38712d
Bug 601771 - TM: possibly uninitialized variable in jsclone.cpp. r=jorendorff via IRC.
2010-10-05 14:50:15 -07:00
Luke Wagner
407b2242d7
Bug 598682, part 2 - Minor cleanups to jsinterp.h and jsinterpinlines.h (r=bhackett)
...
--HG--
extra : rebase_source : bd664d9cd752992faa280d8d3a848058883f57e4
2010-10-05 14:41:58 -07:00
Jim Blandy
b423689891
Bug 598682, part 1 - Minor cleanups to jsinterp.h and jsinterpinlines.h (r=lw)
...
--HG--
extra : rebase_source : ce5adce0b4f5155afd958f2a083085baf4dbe643
2010-10-05 14:41:55 -07:00
Luke Wagner
e5b2d0d102
Bug 601505 - Error instances don't have [[Construct]] (r=brendan)
...
--HG--
extra : rebase_source : 12c4c0432ca571f57993cabe3309810cfa3866d1
2010-10-04 16:22:26 -07:00
Sean Stangl
fc6775cf30
Eliminate syncData() constant hack. b=601657, r=dvander.
2010-10-05 17:08:01 -04:00
Robert Sayre
19a4f7ab74
Merge mozilla-central to tracemonkey.
2010-10-05 13:30:17 -07:00
Bill McCloskey
f4da25ad41
Bug 601393 - Ensure that js_EmitTree decrements emitLevel (r=brendan)
2010-10-05 10:49:27 -07:00
Bill McCloskey
08406461bb
Bug 601537 - Add a reminder about JSXDR_BYTECODE_VERSION (r=brendan)
2010-10-05 10:47:11 -07:00
David Anderson
36107152d8
Don't trace apply with overridden argsobj length (bug 541191, r=dmandelin).
2010-10-05 10:25:41 -07:00
Gregor Wagner
e911cb2f1c
Bug 600310 - TM: don't perform GC outside of stack quota r=igor
2010-10-05 10:09:50 -07:00
Brendan Eich
ce672b15a0
Long day...
2010-10-04 21:19:30 -07:00
David Anderson
bcab33d20b
Bustage fix for bug 589398 new opcode fallout.
2010-10-04 20:24:43 -07:00
Makoto Kato
57fde966f8
Bug 601355 - follow up bug 587707. Crashes consistently at start-up except if JM is disabled or in safe mode. r=bhackett1024, r=dvander
2010-10-05 12:14:44 +09:00
Nicholas Nethercote
67b1a56500
Bug 600781 - TM: untangle TraceRecorder::getCharAt. r=dvander.
2010-10-04 19:57:15 -07:00
Brendan Eich
846b01b1ee
Burned by JSOPTION_ANONFUNFIX again.
2010-10-04 19:23:39 -07:00
David Anderson
552330f091
ICs for scripted new (bug 589398, r=luke,dmandelin).
...
--HG--
extra : rebase_source : d7311ce916e8d6c876d1851090806bc7d073bd63
2010-10-04 14:13:33 -07:00
Brendan Eich
d86c28ef95
More old test hacking in wake of 445319.
2010-10-04 18:41:32 -07:00
Brendan Eich
3639d7c0a5
Forgot the test for 600137.
2010-10-04 18:30:04 -07:00
Brendan Eich
920dbc6d33
Adjust js1_5/extensions/regress-369696-02.js in wake of 445319 fix.
2010-10-04 17:53:28 -07:00
Brendan Eich
3cbbab0c68
Test for bug 600137 (fixed by patch for 445319).
2010-10-04 16:54:22 -07:00
Brendan Eich
853d03c5d2
Per ECMA-262, no .prototype for built-in functions and Function.prototype (445319, r=Waldo).
2010-10-03 22:46:39 -07:00
Nicholas Nethercote
538c2b1e48
merge
2010-10-04 16:37:37 -07:00
Nicholas Nethercote
43903d8289
Update nanojit-import-rev stamp.
2010-10-04 16:16:10 -07:00
Nicholas Nethercote
a029d9af78
Fix non-Linux compile bustage for bug 601539. r=me.
...
--HG--
extra : convert_revision : 12776aa248b916be646dd7b9c760be1b3fa7ba8a
2010-10-05 09:52:40 +11:00
Nicholas Nethercote
d03914abb0
Bug 601539 - nanojit: fix bogus generation of suffix names in LIR dumps. r=rreitmai.
...
--HG--
extra : convert_revision : 2c66185d4d358f589fc1fe44f48e4c7eafe1a0c1
2010-10-04 15:40:32 -07:00
David Anderson
6dbf424efd
Backed out changeset de5d1b528b9a
2010-10-04 15:12:00 -07:00
David Anderson
6ddd3429fc
ICs for scripted new (bug 589398, r=luke,dmandelin).
2010-10-04 14:13:33 -07:00
Sean Stangl
0d02e95a3d
Fix pinReg() around copyDataIntoReg() in jsop_bitop(). b=600419, r=dvander.
2010-10-04 13:30:46 -04:00
Alan Pierce
39060e35d5
Check for OOM in js_ConcatStrings(). b=596988, r=gal,sstangl; rs=brendan.
2010-10-03 23:20:12 -04:00
Brendan Eich
d29d510a74
Need to JS_CHECK_RECURSION in GetTrap as well as Trap (aslo rename GetTrap wrappers to start with Get; 589103, r=gal).
2010-10-03 14:59:26 -07:00
Brian Hackett
d73a0b5f82
Lazify fp->scopeChain, JM call path cleanup. bug 593882, r=lw,dvander.
2010-10-03 08:21:38 -07:00
Jeff Walden
9153149565
Bug 577757 - array[-1073741824] != array["-1073741824"]. r=igor
2010-09-30 21:03:47 -07:00
Jeff Walden
e7c07cd3ad
Bug 539766 - Object.defineProperty sets arguments.length without setting the length-overridden bit. r=brendan
2010-09-30 17:50:40 -07:00
Jason Orendorff
b7f8952992
Bug 600193 - trace-test/tests/jaeger/bug588363-1.js asserts with CompartmentChecker enabled. r=gal.
...
This makes eval(s) an indirect eval if the eval-function being called is in a
different compartment from the caller's scope chain.
This caused the eval in trace-test/tests/jaeger/bug588363-2.js to become
indirect, which caused the test to fail with a ReferenceError. So I changed the
test to delete the sandbox's eval, revealing the global eval underneath.
2010-09-29 10:00:52 -07:00
Jason Orendorff
135b59bccb
Bug 600287 - Indirect eval should use callee's global, not the this-argument. r=brendan.
2010-10-02 10:08:59 -05:00
Jason Orendorff
c1daff3aa7
Rename JS_{Read,Write}Pair to JS_{Read,Write}Uint32Pair as suggested by Brendan. Followup to bug 595297.
2010-10-02 09:41:18 -05:00
Brian Hackett
abdc87c9ca
Header changes for sixgill, annotations. bug 601129, r=jorendorff
2010-10-01 21:00:55 -07:00
Luke Wagner
5eeb7d4ff7
Bug 587914 - js::Valueify in static data constructors causes runtime initialization (r=igor)
...
--HG--
extra : rebase_source : 09f2d8b620985eff96468ef7875cab8751a93d18
2010-10-01 17:53:08 -07:00
Jason Orendorff
630900ee20
Finally get rid of /* Added by JSIFY */ comments. r=Waldo.
2010-10-01 18:46:54 -05:00
David Mandelin
ef3e0c2bd4
Backout merge.
2010-10-01 16:02:39 -07:00
David Mandelin
a4b874a59c
Backed out changeset 97d2c33271e8 due to crashtest failures
2010-10-01 16:01:49 -07:00
David Mandelin
d93f709073
Bug 600639 followup: unbreak non-threadsafe shell builds, r=cjones
2010-10-01 15:34:32 -07:00
Chris Jones
72c8eed930
Follow-up to bug 579479: Fix --disable-tracejit --enable-methodjit compiles. irc-r=sstangl a=bustage
2010-10-01 16:09:21 -05:00
Chris Jones
b229a7ab6b
Bug 600304: Add a PrintJSStack() friend of DumpJSStack() that returns a newly-allocated string instead of printing to stdout. r=jorendorff a=sayrer
2010-10-01 16:09:21 -05:00
Chris Jones
d214281bcc
Bug 600639, part 3: Add a --write-failure-output option to trace-test to additionally log output from failed tests. r=dmandelin a=sayrer
2010-10-01 16:09:21 -05:00
Chris Jones
9ea42cd7f2
Bug 600639, part 2: Make trace_test.py importable and add support for avoiding stdio with js. r=dmandelin
...
--HG--
rename : js/src/trace-test/trace-test.py => js/src/trace-test/trace_test.py
2010-10-01 16:09:21 -05:00
Chris Jones
33f54f09ae
Bug 600639, part 1: Allow overriding gOutFile and gErrFile in js shell, and add a -g option to sleep on startup so that a debugger can be attached. r=dmandelin
2010-10-01 16:09:21 -05:00
Jim Blandy
bd74ec5d3b
Bug 600943: Correctly compute |this| in Date.prototype.toJSON. r=waldo
2010-10-01 13:05:03 -07:00
David Mandelin
8986a41f4f
Bug 601197: fix typo in js_GetBlockChain, r=wmccloskey
2010-10-01 12:29:39 -07:00
David Mandelin
e25191cfd0
Bug 595963: notify iterators about property deletion in array_splice, r=gal
2010-10-01 11:12:01 -07:00
Gregor Wagner
9aad841305
Bug 594455 Add assertions for defaultCompartments. r=jorendorff
2010-10-01 11:10:30 -07:00
Jason Orendorff
a180c60f63
Fix stray /* inside a comment to silence GCC warning. no_r=me.
...
--HG--
extra : rebase_source : 980456c167a368e2c25a6d4312cbad3cff87fbbd
2010-10-01 12:50:52 -05:00
David Anderson
faba5e7e52
Clean up exec pool and LinkBuffer use (bug 601041, r=dmandelin).
2010-10-01 09:47:44 -07:00
Jason Orendorff
b2c359ad0b
Bug 601040 - Revise StructuredClone API. r=gal.
2010-10-01 09:57:22 -05:00
Makoto Kato
35d2ca6e15
Bug 587707 - Fix bustage on Win64 build. r=dvander
2010-10-01 18:17:39 +09:00
Makoto Kato
35160e76f6
Fix CPUID on Win64. b=601016, r=sstangl.
2010-10-01 02:41:10 -04:00
Alex Miller
82319558ba
Add detection for all levels of SSE support; fix x64 cpuid. b=601016, r=sstangl.
2010-09-30 21:45:22 -04:00
Jason Orendorff
00704fa52d
Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal.
2010-09-30 19:47:10 -05:00
Andreas Gal<gal@uci.edu>
b4b683166b
Bug 600402 - don't copy strings that are in the same compartment already r=mrbkap
2010-09-30 16:50:06 -07:00
Jeff Walden
ca79ac881b
Bug 560216 - Referring to an accessor property with undefined [[Get]] and [[Set]] fields using an unqualified name should not assert. r=dvander
2010-09-29 16:05:44 -07:00
David Anderson
87e33d6e8a
Fix ARM and --disable-polyic build (bug 599035 bustage, r+a=red).
2010-09-30 13:27:32 -07:00
Igor Bukanov
a8c5b53e2a
bug 600687 - proper accounting for colors during the marking phase. r=anygregor
2010-09-30 01:31:20 +02:00
Peter Van der Beken
0148dfb36c
Fix dom/tests/mochitest/general/file_frameElementWrapping.html to deal with proxies. r=mrbkap
2010-09-28 17:02:43 -07:00
Blake Kaplan
b592545085
bug 580128 - Outerize in JS instead of in the rewrap hook so the identity in the wrapper map stays constant. r=gal
2010-09-28 17:02:43 -07:00
Blake Kaplan
9b63ed2490
bug 580128 - Fix bugs dealing with transplanting when navigating. r=gal
2010-09-28 17:02:43 -07:00
Igor Bukanov
417c15d2e0
bug 600593 - atoms should live only in the default compartment. r=anygregor
2010-09-28 17:34:32 +02:00
Brendan Eich
131feb1587
fun->u.i.names is incorrect when a local function shadows an argument (600067, r=jorendorff).
2010-09-29 16:15:43 -07:00
Jim Blandy
1cfbcf9237
Bug 514570: Simplify code generated for tests against 'null', in cases where we might as well test the whole value. r=dvander
2010-09-30 10:57:58 -07:00
Bill McCloskey
20e3b7290e
Bug 535912 - Eliminate blockChain from JSStackFrame (r=cdleary)
2010-09-29 13:21:36 -07:00
Ginn Chen
6efb2761bd
Bug 597367 Add fpclassify() for Solaris r=gal
2010-09-30 18:53:11 +08:00
Andreas Gal
7e3fa2d10a
Merge.
2010-09-30 00:06:04 -07:00
Andreas Gal
331dc80c9e
Backout bug 584789, has to go into blake's patch queue, event't handlers don't set the right compartment in TM tip.
2010-09-30 00:05:33 -07:00
Andreas Gal<gal@uci.edu>
6a46766c34
Bug 600580 - TM: set right compartment in _newJSDContext r=gwagner
2010-09-29 23:32:22 -07:00
Andreas Gal
dd4d8530b1
Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap).
2010-09-29 23:17:29 -07:00
David Anderson
3b1266d621
Add an IC for GETXPROP (bug 599035, r=sstangl).
...
--HG--
extra : rebase_source : d7b8dece41841e3a1202edfe84cba806f77310fa
2010-09-29 20:50:29 -07:00
Andreas Gal
e80492a92a
Back out bug 584789.
2010-09-29 20:38:03 -07:00
Andreas Gal
650aaf4f01
Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap).
2010-09-29 19:42:22 -07:00
David Anderson
a937de3ad6
Skip writes to |f.arguments| if |f| cannot have an argsobj (bug 592927, r=brendan).
...
--HG--
extra : rebase_source : 8e53abcec2739585d5b3ee2fd0c80f5532a685e0
2010-09-29 18:05:54 -07:00
Nicholas Nethercote
419e002551
Bug 600489 - TM: allow for insBranch() returning NULL. r=gal.
2010-09-29 16:12:04 -07:00
Andreas Gal<gal@uci.edu>
e16c674f2a
Bug 599762 - TM: set right compartment in js::ctypes::CClosure::ClosureStub r=gwagner
2010-09-29 15:46:25 -07:00
Blake Kaplan
8df12eab59
bug 580128 - Make js_DumpStackFrame deal with dummy frames. r=jst
2010-09-27 19:52:15 -07:00
Jason Orendorff
e71e7e1578
bug 580033 - Make JS_Save/RestoreFrameChain set cx->compartment. r=mrbkap
2010-09-27 18:24:24 -07:00
Andreas Gal
04c3f3cf48
bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal
2010-09-27 13:49:09 -07:00
Jason Orendorff
47acdff995
Bug 599932 - js1_8_1/trace/regress-462459-02.js and friends are failing in shell. r=jimb, a=NPOTB.
...
--HG--
extra : rebase_source : 469968f50d44a42aac63a1006712ddee81db7d71
2010-09-27 13:25:39 -05:00
Blake Kaplan
7f03dba33e
Bug 580128 - Use compartments instead of global objects to see if we should use slim wrappers. r=peterv
2010-09-24 23:49:58 -07:00
Blake Kaplan
11e65685b7
bug 580128 - Avoid using the parent chain of proxies for anything because it's often wrong. r=jst
2010-09-24 18:00:58 -07:00
Benjamin Smedberg
6d6a07cd55
Bug 595112 - libxul.so contains text relocations on x86. r=cpearce
...
* Configure libvpx with PIC on x86.
* Add headers to system-headers required for angle.
2010-10-13 08:46:31 -04:00
Olli Pettay
58d3e2cb77
Bug 553098 - quickstub some XULElement and BoxObject properties, r=jst, a=jst
2010-10-13 12:34:51 +03:00
Blake Kaplan
cb84d63788
bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst
2010-09-24 15:30:00 -07:00
Olli Pettay
780b1891fd
Backout Bug 508518, a=dromaeo-dom-regression
2010-10-25 00:52:17 +03:00
Olli Pettay
0ac2007026
Bug 508518 - Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking-fennec
...
--HG--
extra : rebase_source : b486aa38fb17baacf0a5be39becd536fbec0c574
2010-10-24 21:20:53 +03:00
Mark Banner
fc648f9620
Bustage fix for non-method JIT builds (e.g. ppc) - don't check variable when it doesn't exist. a=bustage-fix (bug 601221).
2010-10-02 09:21:17 +01:00
Chris Jones
226f614b64
Bug 601222: Blacklist JITs on samsung i9000s. r=dvander a=blocking-fennec
2010-10-01 03:45:27 -05:00
Blake Kaplan
964c4a31ef
bug 580128 - Pass the XrayWrapper itself to scriptable helpers (and related cleanup) since the holder doesn't have enough smarts to do lookups, etc. r=gal
2010-09-23 15:56:28 -07:00
Blake Kaplan
d8815d1675
Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too).
2010-09-22 17:34:20 -07:00
Blake Kaplan
420eda056d
bug 580128 - Make xpcconvert trust cx->compartment when called from JS. r=peterv
2010-09-22 16:35:10 -07:00
Ben Hearsum
f80bcecf6f
Bump version on default branch to 2.0b8pre/4.0b8pre. a=beltzner
2010-10-06 17:32:13 -04:00
Brian Hackett
0d369b900f
Add interruptCounter to JSRuntime for JM, bug 589193. r=igor,dvander
2010-09-20 16:21:49 -07:00
Blake Kaplan
03cb31a09c
bug 580128 - Rewrite XrayWrapper so the wrapped object is in the wrapped object slot and the holder goes in an extra slot. r=gal
2010-09-20 14:48:01 -07:00
Blake Kaplan
19e59ef574
bug 580128 - .wrappedJSObject returns a wrapper that pushes principals. r=gal
2010-09-20 14:47:15 -07:00
Brian Hackett
066d48b6b6
Backed out changeset 09ffb30caa47
2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa
Make JSObject flexible length, bug 584917. r=brendan
2010-09-20 11:40:32 -07:00
Robert Sayre
bc3486afdf
Merge
2010-09-20 11:10:00 -04:00
Brendan Eich
95d5ebd4d3
Fix bogus assertion: "!shape->inDictionary()" (only if not shape->frozen(); 592217, r=jorendorff).
2010-09-20 08:01:06 -07:00
Brendan Eich
b0a31f8bcb
Fix test for 597870 (CLOSED TREE).
2010-09-19 22:04:16 -07:00
Brendan Eich
0134ef3da3
Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE).
2010-09-19 16:24:13 -07:00
Robert Sayre
739e81c33b
Merge mozilla-central to tracemonkey.
2010-09-19 15:59:10 -04:00
Igor Bukanov
74d6525584
bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal
2010-09-18 11:44:22 +02:00
Makoto Kato
c93588f2e2
Bug 597288 - alignment on call stack isn't 16byte on x86_64 CPU. r=dvander
2010-09-19 00:06:26 +09:00
Chris Leary
402dc1f5d2
Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan)
2010-09-18 00:31:36 -07:00
Blake Kaplan
34ecff9986
bug 580128 - Make compartment warnings real. r=jst
2010-09-17 14:54:41 -07:00
Blake Kaplan
c878f8f2a9
bug 580128 - Don't allow fast getting of nsGlobalWindow's wrapper cache. r=peterv
2010-09-17 14:54:41 -07:00
Blake Kaplan
2ce9a1fca4
bug 580128 - Propagate whether we're getting or setting to getPropertyDescriptor. r=gal
2010-09-17 14:54:41 -07:00
Blake Kaplan
b232404c93
bug 580128 - Chrome sandboxes cause this assertion to box: use plain cross compartment wrappers when we see them. r=jst
2010-09-17 14:54:41 -07:00
Blake Kaplan
bd717288e6
bug 580128 - Make evalInSandbox work with the new wrappers. r=peterv
2010-09-17 14:54:41 -07:00
Blake Kaplan
ce1fec34f5
bug 580128 - Fix a bug in early XrayWrappers that allowed Holders to get in here. r=gal
2010-09-17 14:54:41 -07:00
Blake Kaplan
b9ceb8ebe5
bug 580128 - Prepare objects for wrapping. r=peterv
2010-09-17 14:54:41 -07:00
Blake Kaplan
a55f43f1f0
bug 580128 - Allow calling functions cross origin. r=gal
2010-09-17 14:54:40 -07:00
Blake Kaplan
8a04a08f4f
bug 580128 - Make the Window constructor be defined on new windows. r=peterv
2010-09-17 14:54:40 -07:00
Brendan Eich
2253bb99d7
Don't recycle class-reserved slots onto a dictionary table's freelist (595230, r=jorendorff).
2010-09-14 17:08:16 -07:00
David Anderson
1eb18e8c61
Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
...
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl
86f33eea9f
Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander.
2010-09-17 14:13:13 -04:00
David Anderson
7556886c23
Compile JSOP_IN (bug 594111, r=dmandelin).
2010-09-17 10:41:29 -07:00
Jason Orendorff
38d63ffa56
Back out changeset a8252fe3f211 due to turning everything orange.
2010-09-16 20:58:40 -07:00
Jason Orendorff
31cfa81e35
Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=mrbkap.
...
--HG--
extra : rebase_source : 717f7f4d4f3e6e96955cbb1ddb8ca9e1533914f7
2010-09-16 17:29:21 -07:00
David Anderson
3bced69ba2
Fix instanceof with bound functions (bug 597167, r=brendan).
2010-09-16 19:31:11 -07:00
David Anderson
4c55c224e5
Compile JSOP_DELNAME (bug 597137, r=dmandelin).
2010-09-16 17:26:32 -07:00
David Anderson
c4431d1a07
Compile JSOP_DEFVAR (bug 594117, r=dmandelin).
2010-09-16 17:25:38 -07:00
David Mandelin
c1def1ffa6
Bug 596460: try making Interpret not inlined to avoid stack frame bloat in other functions, r=dvander
2010-09-16 15:20:56 -07:00
David Anderson
699ebd405b
Compile JSOP_DELPROP, JSOP_DELELEM (bug 578736, r=dmandelin).
2010-09-16 12:13:25 -07:00
Blake Kaplan
7418b836b8
Fix warning. No bug. rs=jorendorff
...
--HG--
extra : rebase_source : 00de9de8537125213dd43420511c449c2ee77167
2010-09-16 11:51:54 -07:00
David Anderson
2f002d500e
Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin).
...
--HG--
extra : rebase_source : 3d36a7908230006f2b048835f7526962fac2b32b
2010-09-13 22:33:44 -07:00
Gregor Wagner
ca86274758
Back out 94e52cdc2157
2010-09-29 13:39:22 -07:00
Andreas Gal<gal@uci.edu>
45165dced8
Bug 600580 - TM: set right compartment in _newJSDContext r=gregor
2010-09-29 12:28:05 -07:00
David Anderson
45496e2886
Added test case for bug 597378 (a=NPOTB).
2010-09-27 11:14:36 -07:00
David Anderson
ce7d0ca356
Fix ICs on method-valued shape properties (bug 600424, r=dmandelin).
...
--HG--
extra : rebase_source : 70218ae27fbca50181bc578d3388559b487ca75a
2010-09-29 12:04:29 -07:00
Luke Wagner
0c77b74a68
Bug 576172 - TM: don't try to add peers or branches if abort flushed the jit cache (r=gal)
2010-09-29 11:31:52 -07:00
David Anderson
3b5e682c66
Fix some FrameState functions not passing tracked FEs (bug 600163, r=dmandelin).
2010-09-29 10:06:32 -07:00
Andreas Gal<gal@uci.edu>
ed2f2057d1
Bug 600032 - TM: set right compartment for Jetpack r=gregor
2010-09-29 09:23:04 -07:00
Brian Hackett
1ddca3c75a
Improved JM call path, bug 587707. r=lw,dvander
2010-09-29 06:27:34 -07:00
Ginn Chen
0d4212e997
Bug 594718 fix typo in last commit
2010-09-29 14:22:28 +08:00
Nicholas Nethercote
903d2fb43b
merge
2010-09-28 22:39:44 -07:00
Nicholas Nethercote
1011a3dade
Backed out changeset 7e831598f812 due to tinderbox oranges.
2010-09-28 22:39:19 -07:00
Nicholas Nethercote
35f835d391
Update nanojit-import-rev stamp.
2010-09-28 22:38:48 -07:00
Nicholas Nethercote
4119caf76d
Backed out changeset 2e21c25656ee due to tinderbox oranges.
...
--HG--
extra : convert_revision : ce381ce50f62501ae385870d1328df73e68d7a27
2010-09-28 22:36:32 -07:00
Nicholas Nethercote
f914345ea4
Bug 600127 - nanojit: do implicit constant propagation after guards (TM-specific part). r=gal.
2010-09-28 21:58:17 -07:00
Nicholas Nethercote
bc0fec7e4a
Update nanojit-import-rev stamp.
2010-09-28 21:35:49 -07:00
Nicholas Nethercote
f2133a680f
Bug 600127 - nanojit: do implicit constant propagation after guards. r=edwsmith.
...
--HG--
extra : convert_revision : 2e21c25656ee7367520468cf37ccb23d989ee7f7
2010-09-28 21:07:43 -07:00
Nicholas Nethercote
e8626d0e45
Return a non-zero exit code from testlirc.sh when a test fails so that failures show up orange on tinderbox. r=me.
...
--HG--
extra : convert_revision : 055c46c2e4f7d6402c3ed91891b8851b4df2aafc
2010-09-28 16:36:19 -07:00
David Anderson
2804cac937
Fix closed-name analysis in with-statements (bug 593556, r=brendan).
...
--HG--
extra : rebase_source : 3ca35ee12087fe262ec147d571900fb94e809979
2010-09-28 21:09:21 -07:00
Johnny Stenback
e9ec6c1765
Fixing bug 599761. Use the right compartment in jsd. r=gal.
2010-09-28 19:29:29 -07:00
David Mandelin
f43643b503
Bug 599400: handle recompiling top-level script for debugging, r=dvander
...
--HG--
extra : rebase_source : c74cc4bb3291e9c35c28066378cb1ece852869d2
2010-09-28 18:39:45 -07:00
Nicholas Nethercote
4793afb76c
Bug 600153 - TM: fix storeAccSet for functionProbe(). r=sphink.
2010-09-28 18:00:07 -07:00
Sean Stangl
870953b461
Fix rsh, storeTo() allocReg() usage. b=596817, r=dvander.
2010-09-28 20:06:12 -04:00
David Anderson
b0758d297b
Fix addprop IC proto guards not being repatched (bug 599299, r=bhackett).
2010-09-28 09:53:16 -07:00
Ginn Chen
c23cb1789b
Bug 594718 lock_sparc*.il should not be used on x86 machine r=ted.mielczarek
2010-09-28 18:03:51 +08:00
Ginn Chen
5b67866f99
Bug 584305 Define no extern "C" version ObjectOps to fix build issue with Solaris Studio r=brendan
2010-09-28 17:59:25 +08:00
Brendan Eich
1b78aa968a
Style policing: else-after-break, bracing, un-nest assignment (initialize decl instead), etc. (r=gal).
2010-09-28 03:16:59 -04:00
Nicholas Nethercote
a91823b958
Update nanojit-import-rev stamp.
2010-09-27 20:58:59 -07:00
Nicholas Nethercote
7d32b0e525
Bug 598486 - nanojit: clarify semantics of comparisons. r=edwsmith.
...
--HG--
extra : convert_revision : 2c8245cb9048cc79ca561ec7a7b014249788247c
2010-09-26 22:36:16 -07:00
Nicholas Nethercote
a9ecc87093
599245 - nanojit: clean up formatting in Nativei386.cpp. r=stejohns.
...
--HG--
extra : convert_revision : f7b8497b9f0ac1d01d0a86ba7e28c812e6ea8140
2010-09-26 16:47:10 -07:00
Edwin Smith
52ea68fee4
Bug 572798 - add LIR_callv (r=nnethercote)
...
Adds LIR_callv for calls to helper functions that return void.
Added a ValidateWriter check that LIR_callv to be paired with ARGTYPE_V,
plus checks for the other obvious pairings, plus a check that callv must
not call a _pure=1 function.
getCallOpcode() returns LIR_callv for ARGTYPE_V, as expected. This means that
some calls will return LTy_V from LIns::retType(), as expected, but unlike
before. This in turn can cause a ValidateWriter error if an instruction uses
the result of a void call. (after all, that's the point).
Each backend was modified to not assign a register or save the result of a void
call.
--HG--
extra : convert_revision : f1076b3fa633922ce95c24ac622934be4815376d
2010-09-23 15:08:15 -04:00
Jacob Bramley
64beede2e2
Add more calling-convention tests. [Bug 596545] [r=nnethercote]
...
--HG--
extra : convert_revision : 8ac6775d9ccfbff39975cc45c060ce4555f5b221
2010-09-23 10:31:16 +01:00
David Anderson
d8da9157cd
Fixed bogus assert (bug 597871 fallout, a=orange).
2010-09-27 20:21:11 -07:00
Andreas Gal
427173403d
Fix extra ';' warning (fallout bug 600015).
2010-09-27 18:37:37 -07:00
Andreas Gal
5f2192e25d
Follow-up for bug 600015. Incorrect use of SwitchToCompartment.
2010-09-27 18:31:32 -07:00
David Anderson
6e64d4a13b
Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=blocking).
2010-09-27 09:02:08 -07:00
Nicholas Nethercote
2f1f144989
Bug 599254 - Avoid an unnecessary switch in the JSON parser. r=sayrer.
2010-09-27 17:20:43 -07:00
Andreas Gal
36bbc0f2d9
Compilation fix for bug 600015.
2010-09-27 16:27:30 -07:00
Andreas Gal
1649ef6d21
Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap).
2010-09-27 15:55:15 -07:00
Gregor Wagner
02421e6aa4
Bug 599801 - TM: Clean up Compartment (de)construction. r=sayrer
2010-09-27 15:35:10 -07:00
Luke Wagner
257e802dc5
Bug 599446, part 2 - Add missing case for non-function callees to assert (a=orange)
...
--HG--
extra : rebase_source : a5eba024dae5c431af7817aa92c37744bef08db7
2010-09-27 13:09:48 -07:00
Igor Bukanov
97f9c90ef3
bug 586161 - making sure that all compartments are purged. r=anygregor
2010-09-27 14:29:01 +02:00
Luke Wagner
7a7f4e847c
Bug 599446 - Weaken bug-finding assert in CallJSNativeConstructor (r=brendan,a=sayrer)
2010-09-24 12:54:13 -07:00
David Anderson
afd2405222
Backed out changeset 63066ec9dd8d (a=orange).
2010-09-27 11:46:03 -07:00
David Anderson
d5f3d53b7f
Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=sayrer).
2010-09-27 09:02:08 -07:00
Robert Sayre
2624f5cf36
Merge mozilla-central to tracemonkey.
2010-09-26 12:49:11 -04:00
Robert Sayre
ceb91cdc61
Remove useless comment.
2010-09-25 23:05:36 -04:00
Andreas Gal
78d0ee549c
Optimize XML namespace handling. Bug 599166. r=brendan. a=sayrer
2010-09-24 15:23:54 -04:00
Robert Sayre
6bb82f6b8b
Merge mozilla-central to tracemonkey.
2010-09-23 23:48:27 -04:00
David Anderson
8925f45747
Do not inline js::mjit::TryCompile (bug 596460, r=sstangl).
...
--HG--
extra : rebase_source : 06796a4e840e72a14d2648ec2ed99427edd16c05
2010-09-23 17:41:21 -07:00
Robert Sayre
70421a2fb5
Merge tracemonkey to mozilla-central. a=blockers.
2010-09-23 20:09:54 -04:00
Chris Leary
a9624ec341
Back out b70659aca040, burning XPCShell tests. (no_r=me)
2010-09-23 16:48:35 -07:00
Andreas Gal
bbf6e6f58d
Backed out changeset 52c66b17843e (bug 592907).
2010-09-23 16:21:37 -07:00
Gregor Wagner
f52995be1c
Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor)
2010-09-23 15:31:32 -07:00
Chris Leary
203741ee8e
Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
...
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
Shu-yu Guo
1898233548
Bug 573569: One-pass SSA builder for Narcissus. (r=gal)
2010-09-23 13:19:05 -07:00
David Anderson
e6ef191c40
Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
...
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Igor Bukanov
b8792e95c1
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Brian Hackett
944cb69b95
Fix assert when comparing identical values, bug 599488. r=dvander
2010-09-25 10:47:19 -07:00
Igor Bukanov
bd21beac91
bug 599481 - static string tables should be constant. r=alangpierce
2010-09-25 00:36:58 +02:00
Brendan Eich
ac27a6ce80
Fix patch merge problem that restored bad old script line for 597945-1.js.
2010-09-25 17:16:35 +02:00
Igor Bukanov
b0d9b068e1
bug 558861 - followup to add missing explicit template instantiations for assureThingIsAligned
2010-09-25 11:42:25 +02:00
Brendan Eich
4244210552
Object.defineProperty should avoid JS API inside engine, plus a few other cleanups (598176, r=jorendorff).
2010-09-16 23:07:02 -07:00
Makoto Kato
65a42553b6
Bug 597814 - Optimize js_DoubleToECMAInt32 for MSVC and gcc x86_64. r=dvander
2010-09-24 20:19:43 -04:00
Gregor Wagner
3bb62ab91b
Bug 558861 - Fix assertion on startup. r=gal
2010-09-24 15:07:02 -07:00
Blake Kaplan
5b4e5f75d1
No bug. Fix some nits and warning fixes.
2010-09-24 15:05:46 -07:00
Sean Stangl
0609c2fcec
Templatize MethodJIT Assemblers. b=598835, r=dvander.
2010-09-24 17:12:08 -04:00
Shu-yu Guo
06c48a13a1
Small narcissus formatting fixes. (rs=brendan)
2010-09-24 14:01:52 -07:00
Gregor Wagner
fdb731becb
Bug 558861 - Compartmental GC (r=gal)
2010-09-24 10:54:39 -07:00
Brendan Eich
c27e88caa4
Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff).
2010-09-16 11:56:54 -07:00
Robert Sayre
2ae5db2ff0
Fix test_canvas.html mochitest. Using preventExtensions on a huge typed array is a bad idea right now. Bug 598969. r=brendan
2010-09-23 13:56:11 -04:00
Nicholas Nethercote
125d4d111e
Update nanojit-import-rev stamp.
2010-09-22 19:26:04 -07:00
William Maddox
9ab7c2a331
Bug 542905 - cse chains should be cleared more selectively in case of labels. r=nnethercote.
...
--HG--
extra : convert_revision : 3cdd8540979dda01630e0676b273250311e26284
2010-09-22 19:04:48 -07:00
Sean Stangl
633fc2cc7c
Fix incorrect jsval_layout on x86 opt builds. no_r=fire.
2010-09-22 21:44:23 -04:00
Sean Stangl
1e56b6d6de
Faster x64 Value storing; b=598491, r=dvander.
2010-09-22 21:03:22 -04:00
David Anderson
126a9558ea
Merge backout.
2010-09-22 17:41:14 -07:00
David Anderson
2e9af3ac56
Backed out changeset 1af8f0c895bc from PGO bustage
2010-09-22 17:40:31 -07:00
Brendan Eich
72dd2a80e0
Warning fix from Luke (no bug, r=me).
2010-09-22 18:51:50 -04:00
David Anderson
9177721d82
Fix method-JIT debug mode bugs and add more testing capability (bug 598444, r=sstangl).
2010-09-22 14:29:48 -07:00
David Anderson
2055a5d505
Fix FrameState::forgetType with eval (bug 598696, r=sstangl).
2010-09-22 11:15:34 -07:00
Chris Leary
a042240626
Bug 593663: emulate flat regexps in three-argument String.prototype.replace. (r=lw)
2010-09-22 10:27:38 -07:00
David Anderson
8421061eb5
Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
...
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Nicholas Nethercote
f2c3780ce4
Update nanojit-import-rev stamp.
2010-09-21 16:06:08 -07:00
Nicholas Nethercote
17899a7415
Fix assertion failure caused by the patches for bug 575529. r=me.
...
--HG--
extra : convert_revision : 59df8fdb2c08cca47a47b2a5210022cea0180fd3
2010-09-21 15:59:57 -07:00
William Maddox
842155af2a
Whitespace cleanup, nanojit subdir only (r=me)
...
--HG--
extra : convert_revision : a623aab958efda06d12eca456304fc674c92a589
2010-09-21 15:20:20 -07:00
William Maddox
7a787678c4
Bug 598151 - Account for unreachable code following LIR_j when tracking x87 stack depth
...
--HG--
extra : convert_revision : 4becc719d20e27c65f64ed872ab3cb7bd08c8c68
2010-09-21 14:35:11 -07:00
Tommy Reilly
53d6d47f23
Fix valgrind errors from CPP define already defined (r=edwsmith)
...
--HG--
extra : convert_revision : aaa4e162e47e7b05cf6c04a51975f6a4042c604c
2010-09-17 14:35:49 -04:00
Steve Fink
6a33041b03
Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw)
2010-09-20 12:43:52 -07:00
Brian Hackett
8e78085545
Fix strict-aliasing warning on interruptFlags/interruptCounter, bug 589193. r=igor
2010-09-21 14:29:11 -07:00
David Anderson
52761821cf
Fix global variables overwriting resolved properties (bug 595917, r=brendan).
2010-09-21 12:38:30 -07:00
Jim Blandy
9b88f70086
Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan
2010-09-21 11:35:30 -07:00
Jim Blandy
accd8966fa
Bug 492844: Implement Object.freeze, Object.isFrozen r=brendan,jorendorff
...
This also moves ecma_5/strict/shell.js's deep_equal to ecma_5/shell.js, and
renames it deepEqual, for consistency with the rest of the world. It also improves deepEqual's handling of -0, 0, and NaN.
2010-09-21 11:35:29 -07:00
Jim Blandy
96d7c2007b
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Jim Blandy
ad83424ea2
Bug 594574: Change GetPropertyNames to take its out-parameter by address, not by non-const reference. r=brendan
2010-09-21 11:35:29 -07:00
Igor Bukanov
dfd669fcf1
bug 597906 - js shell: functions to observe object finalization. r=jorendorff
2010-09-20 15:55:58 +02:00
Ginn Chen
c082ddcc6b
Bug 597976 Make it able to build TraceJIT w/o MethodJIT r=dvander
2010-09-21 16:12:20 +08:00
Ginn Chen
a57ebc8842
Bug 597828 Implement setSSECheckState for Solaris Studio compiler r=dvander
2010-09-21 15:56:56 +08:00
Ginn Chen
1adbef9029
Bug 597831 Update TrampolineSUNW*.s r=dvander
2010-09-21 15:56:28 +08:00
Luke Wagner
656da172a8
Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap)
...
--HG--
extra : rebase_source : a9fb4a39b56af90045f6055d31354c61cbc97a0d
2010-09-20 18:23:04 -07:00
Brendan Eich
adfba421c2
Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff).
2010-09-21 00:04:25 -07:00
Nicholas Nethercote
5903259553
merge
2010-09-20 22:16:07 -07:00
Robert Sayre
7cdfad2571
Merge backout.
2010-09-21 00:44:35 -04:00
Robert Sayre
031267d073
Back out changeset d7d3c0af2877. Brendan Eich – Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff).
2010-09-21 00:44:17 -04:00
Nicholas Nethercote
c64731897d
Bug 575529 - TM: use interval analysis to remove more overflow checks (TM-specific part). r=gal.
2010-09-20 21:37:53 -07:00
Nicholas Nethercote
49883fd9ff
Update nanojit-import-rev stamp.
2010-09-20 21:36:35 -07:00
Nicholas Nethercote
ef16f085cd
Bug 575529 - TM: use interval analysis to remove more overflow checks. r=edwsmith,jseward.
...
--HG--
extra : convert_revision : 8f99b0ecb75811b021be0e91e20fd97c87c290ba
2010-09-20 20:33:29 -07:00
Nicholas Nethercote
1b30aac347
Update nanojit-import-rev stamp.
2010-09-20 17:35:11 -07:00
Brendan Eich
2f94ccfb1e
Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff).
2010-09-20 15:21:41 -07:00
Jacob Bramley
55cbf97a18
Fix long-range offsets on ARM. [Bug 596923] [r=nnethercote]
...
--HG--
extra : convert_revision : 9b1829d9cfe6fa074f308cf84bd9fe4c43b7a46e
2010-09-20 07:58:53 +01:00
Jacob Bramley
e771011d46
Remove dependency on Bash 3 regex support and simplify test selection for soft-float platforms. [Bug 535709] [r=nnethercote]
...
--HG--
extra : convert_revision : 10432e19f751b78f39991b15e60686c7d78226bb
2010-09-16 16:27:45 +01:00
Nicholas Nethercote
ced06e86bf
Bug 595728 - nanojit: clarify semantics of shift operations. r=edwsmith.
...
--HG--
extra : convert_revision : 2a75fed5283f0efb625b10d20db007ad6bfe849a
2010-09-13 10:59:56 -07:00
Edwin Smith
9e20f0f9b8
Fix whitespace in NativeSH4.cpp
...
--HG--
extra : convert_revision : 0f7bd7152883172e03a84e17d3bbf7ddbdb2439f
2010-09-13 09:29:56 -04:00
Edwin Smith
8c1f52860f
Bug 590553 - asm_ui2d on x86 generates illegal writes below ESP, caught by valgrind (r=nnethercote)
...
--HG--
extra : convert_revision : 4829136085669a40d0bf61721e5cdd43a9696fc1
2010-09-13 09:13:44 -04:00
Justin Lebar
b72054ea9c
Bug 571289 - Don't use nsScriptSecurityManager off the main thread. r=mrbkap, a2.0=blocking
...
--HG--
extra : rebase_source : 2d945cee865472804ed3aff78af237a60f5a19d4
2010-09-17 14:44:53 -07:00
Justin Lebar
b3d081ede5
Bug 593116 - Use -fomit-frame-pointer when compiling jsinterp.c. r=ted, a2.0=sayrer
...
--HG--
extra : rebase_source : 811ba3d12c513ee8fe8d16a3557ce01e4a8f2504
2010-09-10 11:45:15 -07:00
Masatoshi Kimura
d6b46ad3d3
Add support for CL_INCLUDES_PREFIX environment variable for handling localized cl.exe /showIncludes output. (Bug 587372) r=ted a2.0=blocking2.0:final
2010-09-17 12:29:52 -07:00
David Anderson
a02b95d42d
Fix global variables overwriting resolved properties (bug 595917, r=brendan, a=blocking).
2010-09-21 12:38:30 -07:00
Luke Wagner
604b7b661f
Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap)
2010-09-20 18:23:04 -07:00
Brendan Eich
731ad72609
Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff).
2010-09-21 00:04:25 -07:00
Mark Banner
9ab0271494
Bug 598279 - Building Javascript as shared library broken wrt xpconnect: xpcjsruntime.cpp:806: undefined reference to 'js::TriggerOperationCallback(JSContext*)'; r=igor,a=bustage fix for shared JS library builds, e.g. non libxul
2010-09-21 13:59:55 +01:00
Robert Sayre
9a254c625e
Merge tracemonkey to mozilla-central. a=blockers
2010-09-21 01:11:46 -04:00
Jacob Bramley
d3f59acb53
Quick fix for non-EABI (Windows Mobile) bug introduced in 49a8ed180ad0. [Bug 535709] [r=me]
...
--HG--
extra : convert_revision : 7b43473880200943d0362c5eab2e957e23414f45
2010-09-09 08:55:27 +01:00
William Maddox
e7c286a259
Bug 590212 - Use correct mask for j/jal instructions on MIPS (r=wmaddox+)
...
Patch submitted by chris@mips.com
--HG--
extra : convert_revision : 2a6f54d0e9aafc1b3973d01cb7bf78815d53f9ec
2010-09-08 17:37:02 -07:00
Rick Reitmaier
5fc61e5b43
Bug 568486 - Synchronize the SH4 backend with Bug 587916 (r=rreitmai) [Cedric Vincent]
...
--HG--
extra : convert_revision : e5186c20dda9acb39c819e58ffba0153712b6130
2010-09-08 08:50:53 -07:00