Commit Graph

19718 Commits

Author SHA1 Message Date
Bobby Holley
da79fb87b2 Bug 733984 - Use the Location security policy even for content accessing chrome. r=mrbkap
I'm adding asserts about when we do and don't have a Location object behind the wrapper, and this case was hitting them. What we do here doesn't so much matter given how this stuff all works. On the one hand, statically using a restrictive policy is slightly more defense-in-depth. On the other hand, if this stuff is broken we're screwed in much more serious ways than content reading chrome locations, and using a consistent wrapper scheme allows us to make stronger asserts and assumptions.

I opted for stronger assumptions and more understandable security code. If Blake feels strongly though, I could go the other way and sprinkle '|| isChrome(obj)' throughout the asserts though.
2012-03-23 14:59:19 -07:00
Bobby Holley
1b0610af05 Bug 733984 - Clarify the security characteristics of Location objects. r=mrbkap
I was getting confused by some of the naming and lack of comments here.
2012-03-23 14:59:07 -07:00
Bobby Holley
ac2c44ee09 Bug 733984 - Stop specializing createHolder, and simplify holder creation in WrapperFactory::Rewrap. r=mrbkap 2012-03-23 14:59:04 -07:00
Ginn Chen
53a34220fd Bug 737344 make the jsval_layout field in JS::Value public on SPARC for binary compatibility across C and C++ r=luke 2012-03-27 10:51:49 +08:00
Bill McCloskey
34b8d204cc Bug 737997 - Ensure we never do compartment GCs if preference is unset (r=igor) 2012-03-26 16:29:08 -07:00
Gregor Wagner
ec5cd78551 Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00
Jeff Walden
16c13e16cb Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin 2012-03-21 13:32:43 -07:00
Luke Wagner
df74b15a74 Bug 740259 - Assert that dynamic binding access is expected (r=bhackett) 2012-03-16 12:02:37 -07:00
Luke Wagner
2fd1b31a43 Bug 740259 - Tighten assertions around closed-var noting (r=bhackett) 2012-03-28 16:36:57 -07:00
Brian Hackett
82d6dfefe1 Treat FILTER and ENDFILTER as unknown ops, bug 740595. r=luke 2012-04-10 12:59:38 -07:00
Brian Hackett
f07d7134e6 Remove bogus assert, bug 727476. r=luke 2012-04-10 12:56:59 -07:00
Brian Hackett
ff26f41a91 Avoid assert botch in makeLazyType after types have been nuked, bug 734978. r=luke 2012-04-10 12:36:26 -07:00
Brian Hackett
0f2b8a2a2b Don't botch assert after OOM while constructing object's lazy type, bug 735016. r=luke 2012-04-10 12:27:13 -07:00
Brian Hackett
8f6d99798b Bail out from on calling functions if an OOM occurs while during initial bytecode analysis, bug 727341. r=luke 2012-04-10 12:24:46 -07:00
Brian Hackett
8bd6082ef9 Preserve invariant between saved array and lifetime variables' saved fields on OOM during analysis, bug 735045. r=luke 2012-04-10 12:16:42 -07:00
Brian Hackett
2f124d21ed Nuking types should be recognized as a recompilation by enclosing monitors, bug 735012. r=dvander 2012-04-10 12:10:04 -07:00
Brian Hackett
1ff7271386 Don't botch assert after OOM while linking ICs, bug 727344. r=dvander 2012-04-10 12:07:26 -07:00
Terrence Cole
ae810f2b36 Bug 744052 - Restructure HashTable::checkOverflow for easier reading; r=luke
When I added this function, I just copied the existing logical structure.  It
makes more sense here to check overflowed and return early, since we can do this
now.
2012-04-10 09:51:48 -07:00
Ehsan Akhgari
54572a4311 Merge mozilla-central into mozilla-inbound 2012-04-10 11:12:26 -04:00
Ehsan Akhgari
0e0d82c20e Merge the last PGO-green changeset from mozilla-inbound into mozilla-central 2012-04-10 11:11:37 -04:00
Igor Bukanov
b600b7db2f Bug 743559 - Remove unused JSRuntime::xml_singleton fields. r=:Waldo
The patch removes unused  anynameObject and functionNamespaceObject fields in JSRuntime.
2012-04-10 11:57:29 +02:00
Terrence Cole
49d3da6509 Bug 743885 - Fix OOM handling regression in HashTable; r=luke
Introduced by me in bug 722946.
2012-04-09 19:07:11 -07:00
Kyle Huey
a321486239 Refix bug 741248 harder. r=me 2012-04-09 17:41:22 -07:00
Brian Hackett
dc3c33f7c6 Don't disable call ICs with the callee frame still on the stack, bug 743088. r=luke 2012-04-09 17:33:42 -07:00
Nicholas Nethercote
69aced89c8 Bug 742163 (follow-up) - Unbreak --disable-methodjit. r=Ms2ger. 2012-04-09 16:41:27 -07:00
Nicholas Nethercote
2e5124c468 Bug 739512 - Patch 2b: rename nClosed{Args,Vars}() as numClosed{Args,Vars}(). r=luke. 2012-04-09 16:37:16 -07:00
Luke Wagner
6082453572 Bug 738279 - Change 'pc' to match 'sp' in forced return path (r=bhackett)
--HG--
extra : rebase_source : 24cecb569cdb5df33737877bc3f02a5ceea342b1
2012-04-09 09:12:44 -07:00
Luke Wagner
1ec6909fdb Bug 723445 - StackIter should ExpandInlineFrames in all compartments, not just the current one (r=bhackett)
--HG--
extra : rebase_source : 4dfa9962367f0cc6cf3b5657c9fbc5a425f15f41
2012-04-09 09:11:26 -07:00
Takanori MATSUURA
011721457f Bug 743630 - Remove unsed variable XPIDL_COMPILE. r=khuey 2012-04-09 13:36:14 -07:00
David Mason
a5f5de9c0a Bug 732779 - Update Date.prototype.set{Second,Minute,Hour,etc} methods to not short-circuit argument evaluation when this date is invalid or a leading argument converts to NaN. r=jwalden
--HG--
extra : rebase_source : cd10ac2d8a4cc5a55d971692def76cadaf4c4bd1
2012-04-06 18:06:14 -07:00
Ms2ger
22e29fc829 Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Jared Wein
3c05f07191 Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Mike Hommey
1cfe016bf0 Bug 734050 - Build stlport as part of our build process. r=ted 2012-03-23 17:35:09 +01:00
Makoto Kato
3c8dc78903 Bug 684138 - Remove unused GARBAGE from configure.in. r=khuey 2012-03-23 14:45:51 +09:00
Nicholas Nethercote
1c90ec2f58 Bug 738153 - Remove JSScript::inlineData. r=luke.
--HG--
extra : rebase_source : f003203fbe0219735655d334192fca14cc434736
2012-03-21 23:05:23 -07:00
Jared Wein
61ab14237c Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Mike Hommey
bd6a8730b3 Bug 736959 - Don't wrap PR_Malloc and other NSPR allocation functions. r=khuey 2012-03-22 08:01:27 +01:00
Nicholas Nethercote
6ae6850783 merge 2012-03-21 21:48:40 -07:00
Nicholas Nethercote
c4ee2f9bdc Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Pranav Ravichandran
c6ac0d8892 Bug 535594 - Fix/Clean-up 'security.enable_java' preference references. r=bsmedberg 2012-03-21 19:52:23 -04:00
Peter Van der Beken
6fd0c1b877 Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Ms2ger
679b93a7ba Bug 736619 - remove the unused struct ClearedGlobalObject from XPCJSRuntime; r=bholley 2012-03-24 09:18:22 +01:00
Jared Wein
3f49c23fdd Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Nicholas Nethercote
5524d35c04 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
Jan de Mooij
356e4d54bc Bug 733030 part 3 - Optimize LiveInterval::addRange. r=sstangl 2012-03-14 10:14:24 +01:00
Jan de Mooij
402e4ccf34 Bug 733030 part 2 - Optimize setIntervalRequirement. r=dvander 2012-03-14 10:12:46 +01:00
Jan de Mooij
defbd3bd9f Temporarily disable a testcase, it fails with -m (bug 741114) 2012-03-31 20:51:51 +02:00
Jan de Mooij
fd125b0199 Bug 738277 part 2 - Add DoubleCondition enum. r=dvander,mjrosenb 2012-03-31 19:34:24 +02:00
Jan de Mooij
564c144ef2 Bug 738277 part 1 - SETELEM fast path for typed arrays. r=dvander 2012-03-31 19:23:24 +02:00
David Anderson
bdcb70b90a Merge from mozilla-central. 2012-03-30 18:40:08 -07:00
Jan de Mooij
3326cdb93f Fix ARM, replace id() with virtualRegister() in two more places. 2012-03-30 22:50:52 +02:00
Jan de Mooij
7619ca6eaa Bug 740563 - Disentangle virtual registers and instruction ids. r=dvander 2012-03-30 20:47:58 +02:00
Nicolas Pierron
dfe67ce127 Do not inline uncompilable functions (Bug 740622, r=sstangl) 2012-03-29 18:05:15 -07:00
Hannes Verschore
c719f2fc2a Bug 739854: Remove negative zero check on MToInt32. r=dvander,mjrosenb 2012-03-29 23:18:07 +02:00
Hannes Verschore
051be15cf2 Bug 736135: Don't eliminate negative zero checks when both operands are the same. r=dvander 2012-03-29 23:15:02 +02:00
Nicolas Pierron
a35db73664 Fix merge issue in DumpStack (no bug, r=jandem) 2012-03-29 03:17:37 -07:00
Nicolas Pierron
62378a3727 Monitor interpreted functions and guard on compile info (Bug732847, r=jandem) 2012-03-29 02:02:13 -07:00
Nicolas Pierron
678b71b671 checkInvalidation handle script which are no-longer compilable (Bug 739901 part 1, r=jandem) 2012-03-29 02:02:11 -07:00
David Anderson
3b2c346655 Merge from mozilla-central (yay method barrier removal). 2012-03-28 13:46:36 -07:00
Marty Rosenberg
ceac3b3666 Forgot a line in GVN, it was Important (bug 737300, r=jandem) 2012-03-27 20:29:15 -07:00
Marty Rosenberg
513749fc14 Change OSIpoints to record the call address rather than the return address (bug 738124, r=dvander) 2012-03-27 20:23:13 -07:00
Nicolas Pierron
bc2e087617 Revert "Monitor interpreted functions and guard on compile info (Bug732847, r=jandem)" -- v8 benchmark*s* on awfy.
This reverts commit 69123eeaa2f36058d1b5fa78592bc9accd3fc5c0.
2012-03-27 17:38:00 -07:00
Nicolas Pierron
76dc9c0b2d Monitor interpreted functions and guard on compile info (Bug732847, r=jandem) 2012-03-27 16:32:49 -07:00
David Anderson
b50aaad6e0 Merge from mozilla-central. 2012-03-27 12:48:33 -07:00
Sean Stangl
964275af2e Bug 735400 - Optimize JSOP_FUNCALL. r=dvander 2012-03-27 12:20:22 -07:00
Nicolas Pierron
5dbcb3760c Revert "Monitor interpreted functions and guard on compile info (Bug732847, r=jandem)"
This reverts commit 0bdf11ca417b276c7c68fd767dee8ce54496e508.
2012-03-27 11:39:10 -07:00
Nicolas Pierron
5ebc057cc6 ARM: Add Push of ImmWord (Bug 732847, r=h4writer) 2012-03-27 11:27:25 -07:00
Nicolas Pierron
e4be281238 ARM: Add push of ImmWord (Bug 732847, r=h4writer) 2012-03-27 11:03:14 -07:00
Nicolas Pierron
8bdafe2de9 Monitor interpreted functions and guard on compile info (Bug732847, r=jandem) 2012-03-27 10:18:10 -07:00
David Anderson
bc11d0e15f Merge from mozilla-central.
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
2012-03-26 14:17:28 -07:00
Bobby Holley
e3df69dd0f Bug 738874 - Don't allow non-classinfo XPCWNs to be wrapped cross-compartment. r=mrbkap 2012-03-25 22:35:50 -07:00
Makoto Kato
a41e6dd26b Bug 716333 - get rid of WithConversion (xpconnect part). r=bholley 2012-03-26 14:12:15 +09:00
Hannes Verschore
6111674d7c Bug 736135: Phi can hide a potentially eagerly removed negative zero check, r=me 2012-03-25 16:53:40 +02:00
Hannes Verschore
e21a3e6d2e Bug 736135: Fixes failing the added test by bug 736135, r=me 2012-03-25 01:27:28 +01:00
Hannes Verschore
01cfe94c5a Bug 736135 - Remove unneeded negative zero checks, r=dvander,djvj 2012-03-24 17:45:16 +01:00
Nicolas Pierron
3cfa410394 Rewrite fun_getProperty to handle Ion Frames (Bug 732853 part 2, r=dvander) 2012-03-23 20:31:58 -07:00
Marty Rosenberg
47c2e4b4f6 Fix my emergency #include "jscntxt.h" hack by including the correct headers (no bug, r=dvander) 2012-03-23 17:41:48 -07:00
Nicolas Pierron
1059637dc3 Remove debug only shell function from ion/bug732862.js (no bug, r=me) 2012-03-23 15:36:10 -07:00
Nicolas Pierron
9fea02c04e Restore the Type Object before the allocation. (no bug, r=dvander) 2012-03-23 15:36:10 -07:00
David Anderson
2b39e09f87 Merge from mozilla-central. 2012-03-23 14:50:35 -07:00
Sean Stangl
c1e2b6ac3c Bug 738577 - Unwrap MPassArg in encodeSlots(). r=dvander 2012-03-23 14:48:15 -07:00
Kannan Vijayan
ca650e5c6f Bug 735391 - Inline Math.sqrt. 2012-03-23 11:24:57 -04:00
Jan de Mooij
d43889c296 Bug 737783 - GETELEM fast path for typed arrays. r=dvander 2012-03-23 14:41:24 +01:00
Jan de Mooij
f254e21836 Bug 737818 - Don't skip extra NOP in for-loops if the loop started with a NOP. r=pierron 2012-03-23 12:19:40 +01:00
Nicolas Pierron
61ddd8752c Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander) 2012-03-23 03:29:12 -07:00
Nicolas Pierron
b78a9a998e Make dumpStack compatible with IonFrames. (Bug 729886, r=dvander) 2012-03-23 01:56:53 -07:00
Nicolas Pierron
980eba0151 Mark inlined boxed JSFunction as constant. (Bug 729899, r=dvander) 2012-03-23 01:06:14 -07:00
Nicolas Pierron
600352a124 Add JSON Spew for Resume Points (no bug, r=sstangl) 2012-03-23 00:12:15 -07:00
Marty Rosenberg
4dbcebc300 Fix a recent change that caused ARM to go red (no bug, r=red) 2012-03-22 23:35:21 -07:00
David Anderson
dcbc8c043c Split Snapshots.h into SnapshotReader.h and SnapshotWriter.h (bug 732852 part 2, r=pierron).
--HG--
rename : js/src/ion/Snapshots.h => js/src/ion/SnapshotReader.h
2012-03-22 21:02:11 -07:00
David Anderson
bd011193b5 Split register sets into their own header (bug 732852 part 1, r=pierron).
--HG--
rename : js/src/ion/IonRegisters.h => js/src/ion/Registers.h
2012-03-22 21:02:09 -07:00
Nicolas Pierron
26b329e9d4 Revert "Mark inlined boxed JSFunction as constant. (Bug 729899, r=dvander)"
This reverts commit 385104ae68001920c5ad1151b32736ace78ce0c7.
2012-03-22 14:51:11 -07:00
Nicolas Pierron
c97fbb57f2 Revert "Revert "Revert "Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander)"""
This reverts commit 57da330a8c22fc15318f395b896fea84b06cd884.
2012-03-22 14:50:35 -07:00
David Anderson
da9614e3fd Merge backout. 2012-03-22 13:26:29 -07:00
Nicolas Pierron
18e30a5df2 Revert "Revert "Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander)""
This reverts commit 8a01c37a9f19394a239b29c68748dcfe2da34dc6.
2012-03-22 12:02:35 -07:00
Nicolas Pierron
a97e597a98 Revert "Make dumpStack compatible with IonFrames. (Bug 729886, r=dvander)"
This reverts commit ebfd02ac49deacd92083e2b171e19d9f20e5aabb.
2012-03-22 12:02:34 -07:00
Nicolas Pierron
7c75df89af Revert "Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander)"
This reverts commit e6599744fd1e2ce7bbaf15d34ebdf377272370c3.
2012-03-22 12:02:33 -07:00
Nicolas Pierron
3c1f627ea3 Revert "Rewrite fun_getProperty to handle Ion Frames (Bug 732853 part 2, r=dvander)"
This reverts commit bea91a2453a05e7678374353fd0c3bff629d8fc2.
2012-03-22 12:02:33 -07:00
David Anderson
12e86f1714 Merge from mozilla-central. 2012-03-22 11:45:01 -07:00
Nicolas Pierron
38204de187 Remove warnings from IonFrames.h. (no bug, r=gcc) 2012-03-21 20:08:17 -07:00
Nicolas Pierron
f855d06dbd Rewrite fun_getProperty to handle Ion Frames (Bug 732853 part 2, r=dvander) 2012-03-21 20:02:52 -07:00
Nicolas Pierron
e74ee42373 Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander) 2012-03-21 20:02:51 -07:00
Nicolas Pierron
1c1383049a Make dumpStack compatible with IonFrames. (Bug 729886, r=dvander) 2012-03-21 20:02:49 -07:00
Nicolas Pierron
a0efa8f69d Mark inlined boxed JSFunction as constant. (Bug 729899, r=dvander) 2012-03-21 19:42:09 -07:00
Nicolas Pierron
f48570e5f0 Revert "Mark inlined boxed JSFunction as constant. (Bug 729899, r=dvander)"
This reverts commit a3717e643282197e4ce702d99c5e452f81826e54.
2012-03-21 18:10:45 -07:00
Nicolas Pierron
06cf2f0fc2 Revert "Make dumpStack compatible with IonFrames. (Bug 729886, r=dvander)"
This reverts commit 7824a49cd226684f18cf6bbb0f73240d0a275d4f.
2012-03-21 18:10:21 -07:00
Nicolas Pierron
48bdd90ae9 Revert "Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander)"
This reverts commit 8dc1e2463e3ebb0d79e19f25192a5e242cacc1a0.
2012-03-21 18:10:12 -07:00
Nicolas Pierron
dc2508dcda Revert "Rewrite fun_getProperty to handle Ion Frames (Bug 732853 part 2, r=dvander)"
This reverts commit 00c959ededfb037155451f6de225b31996e5bbb8.
2012-03-21 18:10:01 -07:00
Nicolas Pierron
60eeb4d43a Rewrite fun_getProperty to handle Ion Frames (Bug 732853 part 2, r=dvander) 2012-03-21 17:52:05 -07:00
Nicolas Pierron
297eb25cda Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander) 2012-03-21 17:52:03 -07:00
Nicolas Pierron
9600c5e424 Make dumpStack compatible with IonFrames. (Bug 729886, r=dvander) 2012-03-21 17:52:02 -07:00
Nicolas Pierron
639e1e0135 Mark inlined boxed JSFunction as constant. (Bug 729899, r=dvander) 2012-03-21 17:48:36 -07:00
Sean Stangl
8aea841955 Bug 723333 - Handle JSOP_NEW without callVM(). r=dvander 2012-03-21 17:25:43 -07:00
Marty Rosenberg
77d3e55946 Fix bustage (no bug, r=dvander) 2012-03-21 17:08:16 -07:00
David Anderson
8c1d3ce944 Fix merge bustage. 2012-03-21 16:19:06 -07:00
David Anderson
5f8da79c88 Merge from mozilla-central. 2012-03-21 15:35:48 -07:00
Brian Hackett
d660ec709a Update type sets persistently for arithmetic on objects, bug 733979. r=billm 2012-03-21 06:32:18 -06:00
Jan de Mooij
cfe5fccccd Bug 732120 - Remove ReorderBlocks. r=sstangl 2012-03-21 13:24:09 +01:00
David Anderson
0dfdddc335 Merge from mozilla-central.
--HG--
rename : toolkit/components/places/tests/unit/test_favicons.js => toolkit/components/places/tests/favicons/test_favicons.js
2012-03-20 14:43:39 -07:00
David Anderson
2742f4f9c2 Fix bug causing performance regression after merge from m-c.
--HG--
extra : rebase_source : 4dffdf64977c5496feafab36bb8bdaed78090ccd
2012-03-20 14:29:11 -07:00
Jan de Mooij
7787be571a Bug 736964 - Fast path for typed array length access. r=dvander 2012-03-20 12:08:15 +01:00
Hannes Verschore
72261bb8a4 Bug 736141 - Don't do specific binary arith folding operations when semantics can differ after fold. r=dvander 2012-03-20 12:01:39 +01:00
Marty Rosenberg
bacf92286a Oops, the peek(-1) grabs an MPassArg rather than the argument. (bug 730525, r=pierron) 2012-03-19 15:31:38 -07:00
David Anderson
9f2dad2804 Merge from mozilla-central.
--HG--
rename : js/src/jsfun.cpp => js/src/vm/ArgumentsObject.cpp
2012-03-19 14:13:34 -07:00
Marty Rosenberg
248f37663c Inline the call to GetTypeCallerInitObject from JS_Aray (bug 730525, r=pierron) 2012-03-17 23:04:01 -07:00
Marty Rosenberg
5f45b7c088 Add in a couple of multiplication optimizations (bug 736420, r=jbramley) 2012-03-17 02:41:28 -07:00
Nicolas Pierron
7d07ab4910 Fix caller resume point just after inlining. (Bug 732858, r=dvander) 2012-03-16 15:57:27 -07:00
Jan de Mooij
81e087471d Bug 735699 - Support dense arrays in GETELEM IC. r=dvander 2012-03-16 17:00:20 +01:00
Jan de Mooij
622d06d968 Bug 734383 - Add an IC for JSOP_GETELEM. r=dvander,mjrosenb 2012-03-16 16:57:55 +01:00
Luke Wagner
2f1cc78598 Bug 736807 - Fix test added by fc8534cfca3d to test for gczeal (r=orange) 2012-03-19 11:47:23 -07:00
Luke Wagner
9c7fbf2d72 Bug 736807 - InitExnPrivate needs to root values since they can now be wrapped (r=bholley)
--HG--
extra : rebase_source : 4aeb6c6b271588c57c4b6e166c630a72c8c7d0d5
2012-03-19 10:49:12 -07:00
David Anderson
8702a1ad06 Fix bug where GC could clear script->ion right before EnterIon (bug 732848, r=sstangl). 2012-03-15 17:22:52 -07:00
David Anderson
347cd306d6 Merge from mozilla-central. 2012-03-15 17:21:05 -07:00
Tom Schuster
0ff50e99b0 Bug 705302 - Add OOL path for truncating large doubles. r=jandem 2012-03-15 10:46:43 +01:00
David Mandelin
9fc3bd66af Bug 728623: disable jitcode address randomization on Win64, r=dvander 2012-03-14 17:36:34 -07:00
Luke Wagner
1e24ec622e Bug 736555 - don't use magic values to implement deleted args (r=bhackett)
--HG--
extra : rebase_source : f4e3f63512acb2ff8ee874de2d718bd7877932d6
2012-03-14 17:19:17 -07:00
Luke Wagner
527cb08cee Bug 737575 - fix arguments['integer'] (r=dvander)
--HG--
extra : rebase_source : 5cb580a47187f2a88a98efc3fa8a88ee4c8bc551
2012-03-20 17:21:58 -07:00
Terrence Cole
73512b7fd7 Bug 737221 - Add a missing pre barrier on jsid strings; r=billm
--HG--
extra : rebase_source : 970b91446c7703966aa6f397ac40d8d9d486f796
2012-03-20 16:03:50 -07:00
Steve Fink
bfb79fbda2 Fix --enable-dtrace build failure from bug 737195. r=npotb, DONTBUILD 2012-03-20 12:48:43 -07:00
Terrence Cole
74008eefc7 Bug 737195 - Add barriers to JSFunction::atom; r=billm
This is only ever initialized, so it needs generational barriers, but not
incremental barriers.
2012-03-19 17:24:05 -07:00
Matthew Gregan
2236c84d27 Bug 734784 - Update system-headers to reflect changes to libvpx includes. r=cpearce 2012-03-15 12:06:02 +13:00
Jeff Walden
7068919618 Back out bug 735313, an invariant was relaxed but not all assertions of it were adjusted properly, and I'm not 100% confident tinderboxen will correctly handle the new failure mode. r=bustage 2012-03-14 15:24:51 -07:00
Jan de Mooij
10fda7523a Backout bug 733030 (desaturate regression on x86) 2012-03-14 13:20:43 +01:00
Jan de Mooij
fb8991aaeb Bug 733030 part 3 - Optimize LiveInterval::addRange. r=sstangl 2012-03-14 10:14:24 +01:00
Jan de Mooij
d3ae4a9a9b Bug 733030 part 2 - Optimize setIntervalRequirement. r=dvander 2012-03-14 10:12:46 +01:00
Jan de Mooij
5c649745f0 Bug 733030 part 1 - Store only intervals with registers in the active/inactive sets. r=sstangl 2012-03-14 10:12:02 +01:00
Marty Rosenberg
b467d516d7 Make boolean negate faster in some cases (bug 733966, r=sstangl) 2012-03-13 21:14:48 -07:00
Marty Rosenberg
6997271de0 fix a typo in CodeGenerator-arm.cpp (no bug, r=red) 2012-03-13 19:09:04 -07:00
Kannan Vijayan
593067a703 Elide DivBy0, NegOverflow, and NegZero checks in LDivI when inputs are appropriate constants (bug 734400, r=jandem). 2012-03-13 16:27:53 -07:00
Stephan Herhut
719dcc2b15 Adds a sequential implementation of the River Trail ParallelArray API (bug 711304, r=jorendorff). 2012-03-13 16:20:44 -07:00
David Anderson
9a1e6c0e42 Merge. 2012-03-13 16:12:31 -07:00
David Anderson
4122314d88 Merge from mozilla-central. 2012-03-13 16:10:05 -07:00
Nicolas Pierron
59cf11c87a Fix Pc recovery in js_DecompileValueGenerator (Bug 732860, r=dvander) 2012-03-13 16:04:36 -07:00
Lukas Blakk
2fe69d3c6f Merging in version bump NO BUG 2012-03-13 13:38:38 -07:00
Kyle Huey
3232e8df17 No bug: Fix ply being stupid, take 2. r=me 2012-03-13 10:31:53 -07:00
David Mandelin
e602973e64 Bug 726794: clean up some WTF Platform.h macros, r=dvander
--HG--
extra : rebase_source : 1969660fdeda9c426c9e37a68fc067786ef79d58
2012-03-16 17:02:52 -07:00
Bill McCloskey
2898570725 Bug 736643 - Add timestamp support to GC/CC JSON output (r=terrence) 2012-03-16 16:36:26 -07:00
Jim Blandy
d3ae4a11e2 Bug 734454: Use a table to declare atoms. r=waldo 2012-03-16 16:15:31 -07:00
Jim Blandy
d437ab862a Bug 734454: Minor cleanups to atom declarations and definitions, in preparation for conversion to a table. r=waldo 2012-03-16 16:15:31 -07:00
Mike Hommey
f6255df92e Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted 2012-03-13 09:47:03 +01:00
Jesse Ruderman
3a63956918 Bug 736795 - Some shell help() messages have extra periods 2012-03-17 22:24:07 -07:00
Nicolas Pierron
4a79013fd4 Avoid removal of type barrier. (Bug 732863, r=dvander) 2012-03-12 23:15:30 -07:00
Hannes Verschore
13fcd12a6a Bug 732859 - Tableswitch should use up-to-date list of successors, r=dvander 2012-03-12 18:29:49 -07:00
David Anderson
ac28fb4700 Test only low 8 bits for bool return values (bug 733248, r=pierron). 2012-03-12 16:46:18 -07:00
Jeff Walden
c47c965e9c Bug 738075 - Remove JSFunction::u::n::clasp, and change associated code accordingly. r=dmandelin 2012-03-12 16:16:40 -07:00
Jeff Walden
81709e7dd8 Bug 738072 - Slot numbers are uint32_t, so use uint32_t rather than unsigned for slot numbers, slot counts, and so on. r=dmandelin
--HG--
extra : rebase_source : f67146dbd510e1e94b1298344d8335c35350b7c8
2012-03-22 11:50:49 -07:00
Jeff Walden
6c0e0d27b1 Bug 728411 - Move private data bits from JSObject to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 69aa2fae9e9a3a43496329ed939468214ee7c9d1
2012-03-21 13:32:55 -07:00
Bill McCloskey
fd165164dd Bug 737384 - Use reserve rather than resize for iterator wrapping (r=luke) 2012-03-26 11:06:49 -07:00
David Anderson
fdaf2c0dca Fix index reading bug in JSOP_DEFVAR (bug 732849, r=sstangl). 2012-03-12 14:01:27 -07:00
David Anderson
5b229cb0de Merge from mozilla-central.
--HG--
rename : accessible/src/base/nsTextAttrs.cpp => accessible/src/base/TextAttrs.cpp
rename : accessible/src/base/nsTextAttrs.h => accessible/src/base/TextAttrs.h
2012-03-12 12:27:40 -07:00
Jan de Mooij
6e8bf6d034 Bug 725241 - Fast paths for iterators. r=dvander 2012-03-12 09:50:50 +01:00
Daniel Holbert
04b172bf20 merge m-c tip over to m-i 2012-03-11 15:40:05 -07:00
Ms2ger
e016675b5e Bug 733872 - Use JS_GetObjectPrototype in XPCWrappedNativeScope::SetGlobal; r=bholley 2012-03-11 09:43:22 +01:00
Nicolas Pierron
ba11f23a0f Add a function to dump JS stack for minimizing bugs. (Bug 729833, r=dvander) 2012-03-10 19:06:09 -08:00
Nicolas Pierron
ab8c435322 Add Inline frame iterator. (Bug 732546, r=dvander) 2012-03-10 19:06:07 -08:00
Jan de Mooij
804f4763ba Bug 732423 - Compile JSOP_CALLELEM. r=dvander 2012-03-10 12:53:45 +01:00
Marty Rosenberg
198464881b Swap the arguments to moveValue() in the arguments rectifier (no bug, r=pierron) 2012-03-09 21:24:26 -08:00
Andrew McCreight
b2648dcd9f Bug 708825 - set mIdentity to null if compartment enter fails. r=bholley 2012-03-09 18:41:13 -08:00
Kannan Vijayan
a9f79c0cd1 Implement JSOP_DELPROP (bug 730977, r=dvander). 2012-03-09 14:00:18 -08:00
David Anderson
ccd74b5c70 Backed out changeset d09133d1bdae 2012-03-09 13:59:15 -08:00
David Anderson
a5dc8bed0d Implement JSOP_DELPROP (bug 730977, r=dvander). 2012-03-09 13:58:02 -08:00
David Anderson
b2dd36b5ec Remove lazy phi placement (bug 732862, r=sstangl). 2012-03-09 13:44:51 -08:00
David Anderson
823ec5dc85 Box undefineds before creating a ToInt32 node (bug 732846, r=jandem). 2012-03-09 13:40:15 -08:00
David Anderson
2e8ee1f955 Merge from mozilla-central. 2012-03-09 13:37:58 -08:00
Nicolas Pierron
2c4f6397e5 Match TypeInferenceOracle assertions for getCallTarget (Bug 732864, r=dvander) 2012-03-09 11:16:21 -08:00
Jan de Mooij
b26fea2f9b Bug 734415 - Specialize phis with int32 and double operands as double. r=dvander 2012-03-09 19:58:28 +01:00
Nicolas Pierron
0e3eb7ee8d Fix layout assumption of condition-less for-loop. (Bug 732861, r=jandem) 2012-03-09 10:33:40 -08:00
Hannes Verschore
601cde74b5 Add testcase for bug 731820, r=me 2012-03-09 13:59:43 +01:00
Igor Bukanov
30d3de8268 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Jeff Walden
bb310a3fde Bug 735313 - StringBuffer still needs length validation. r=luke 2012-03-14 12:41:15 -07:00
Ehsan Akhgari
aad636cb78 Backout changeset ea6be5f60c42 (bug 722946) for breaking Windows builds 2012-03-14 14:29:58 -04:00
Marty Rosenberg
f8a212801a Fix another small correctness bug in GVN (bug 723536, r=sstangl) 2012-03-06 17:52:46 -08:00
Marty Rosenberg
a74b0b2168 New vn fix. (bug 723536, r=sstangl, jbramley) 2012-03-06 02:42:55 -08:00
Nicholas Nethercote
55f276020a Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Jeff Walden
82fef5e2c3 Windows build bustage fix -- looks like Windows doesn't recognize nested method definitions with const, implicitly namespace-nested argument types (?). No bug, r=red, all hail MSVC 2012-03-21 14:55:12 -07:00
Jeff Walden
030a6aa172 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 49934cb03e1cde5ea44bda525d2502227117aa2a
2012-03-21 14:12:51 -07:00
Marty Rosenberg
93a5857445 Fix GVN by implementing congruence classes as a list, attempt 2 (bug 723536, r=dvander) 2012-03-02 09:34:46 -08:00
Jan de Mooij
7348d8e541 Add testcase for bug 732850, remove dis() call from test 2012-03-08 16:11:40 +01:00
Marty Rosenberg
8688514845 Don't attempt to invalidate frames from within an invalidation bailout. (bug 734022, r=jandem) 2012-03-08 06:13:47 -08:00
David Anderson
f095c332fa Fix assert from embedding NULLs (no bug, r=sstangl). 2012-03-07 16:27:06 -08:00