Commit Graph

16284 Commits

Author SHA1 Message Date
Jeff Walden
37632bfcb5 Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke 2011-09-15 11:44:10 -07:00
Jeff Walden
ddb8886dc3 Bug 687621 - Introduce js::SpecialId, encapsulating the non-index, non-string bizarro property names. r=luke 2011-09-20 14:34:11 -07:00
Jeff Walden
9d85b7ddf3 Add PropertyName to the string-types tree in vm/String.h, and beef up the comment by PropertyName itself to better explain its utility. rs=luke 2011-09-21 15:37:43 -07:00
Jeff Walden
229554194a Bug 687621 - Further split ObjectOps to add a third property type (and temporarily a fourth to use for a property of indeterminate type), to encapsulate object-valued jsids and properties that don't fit in the property name/element distinction. r=luke
--HG--
extra : rebase_source : 4cfd216dcbff77750cb54ea48b546e83bd555513
2011-08-12 14:26:48 -04:00
Jeff Walden
00521e3dfd Bug 687642 - Rename JSFlatString::isElement to JSFlatString::isIndex. This better comports with other terminology being thrown around, and it makes it simpler to distinguish between the value used as the property name (the index, potentially) and the value the property contains (the element). r=dvander
--HG--
extra : rebase_source : e66315100fc331a4bd961a2cd281c36ed23ce471
2011-09-19 13:57:33 -07:00
Paul Biggar
d8fd60d75c Change in-tree users of Array.prototype.splice to not rely on non-standard behavior of deleting all elements from |k| onward for |arr.splice(k)|. r=jwalden
--HG--
extra : rebase_source : b2f041ab27c500636598fe6213481c1a5f0989e8
2011-09-22 15:43:11 -07:00
Bill McCloskey
e5701ded7e Bug 677431 - Clean up MarkAndSweep code in GC (r=igor) 2011-08-05 10:25:51 -07:00
Igor Bukanov
abe648ab25 bug 688551 - specialize ~Anchor for Value only outside GCC. r=luke 2011-09-22 21:01:49 +02:00
Bill McCloskey
ee58d4bd06 Bug 674776 - Replace giganto test with code to generate it (rs=jorendorff) 2011-09-21 16:37:30 -07:00
Terrence Cole
59f4dc6032 Bug 685315 - Remove the GETGLOBAL opcode; r=dvander
This was a nice and simple way to get a perf boost in the
interpreter and JM, but JSOP_GETGNAME has the same
information and more. TI doesn't need it, JM technically
doesn't, and IM won't either. We can just do a normal
property lookup during compilation.
2011-09-22 17:35:25 +01:00
Brian Hackett
e29e34dc29 Try to release native call stubs on GC, bug 688292. r=dvander 2011-09-22 07:26:14 -07:00
Sean Stangl
94e87deaa3 Correct typo in NumberDiv. (Bug 686323, r=dvander) 2011-09-21 20:51:18 -07:00
Boris Zbarsky
342e93102b Merge backout of revision adceb7fb0fce (bug 660233) 2011-09-21 23:06:22 -04:00
Boris Zbarsky
8846761995 Backed out changeset adceb7fb0fce (bug 660233) due to test failures. 2011-09-21 23:05:42 -04:00
Andreas Gal
50f364a16d Bug 660233. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper. r=mrbkap 2011-09-21 21:30:27 -04:00
Mark Hammond
c055f5481f Bug 683400 - SandboxDump should flush stderr after writing output. r=mrbkap 2011-09-21 20:56:20 +02:00
Ehsan Akhgari
7c4401c2bc Merge mozilla-central and mozilla-inbound 2011-09-21 13:13:10 -04:00
Mike Hommey
e47f41066a Bug 687805 - Allow DIST_FILES, DIST_CHROME_FILES and PREF_JS_EXPORTS to be in objdir. r=khuey 2011-09-21 18:06:14 +02:00
Landry Breuil
4c2a5bcfec Bug 684559 - Don't include now missing jswtfbridge.h on non-YARR JIT architectures (NPOTDB); r=dmandelin 2011-09-21 13:41:17 +01:00
Marco Bonardo
7a5befcc01 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-21 10:35:19 +02:00
Brian Hackett
9aa0e92fea Verify range against previous stub when linking getter PIC stubs, bug 688090. r=dvander 2011-09-20 21:33:35 -07:00
Brian Hackett
4f83e99a93 Don't clobber callee-save register when testing pushed value after stub calls, bug 687856. r=dvander 2011-09-20 20:14:28 -07:00
Luke Wagner
61f76ef0bd Bug 684526 - Remove Jsvalify/Valueify (r=waldo)
--HG--
extra : rebase_source : a3047338ed088c26a93486addd0be8092fe52934
2011-09-20 11:40:24 -07:00
Ehsan Akhgari
41c2a18909 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Brian Hackett
ca868dfc21 Merge MC -> JM 2011-09-19 15:29:22 -07:00
Luke Wagner
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Blake Kaplan
5a81c92645 Bug 679861 - Normalize jsvals before handing them to APIs. r=gal 2011-09-21 19:22:34 -07:00
Brian Hackett
ce5b96c240 [INFER] Reapply 7db908db3669 (bug 684084) 19ed9da5789d (bug 684824) a250c3cb749a (bug 686178) 820f11a3fdb1 (bug 686179) e678ced82a6a (bug 686418) 300e1f974f55 (bug 669715) 5c131d458c53 (bug 686396) 3a8b5e4a286b (bug 683140). 2011-09-18 07:36:51 -07:00
Brian Hackett
c844837710 [INFER] Reapply f1c585415dd4 7c89b0ff453d 19794de530f1 (bug 686000). 2011-09-17 19:31:33 -07:00
Brian Hackett
68a462f79a [INFER] Reapply c1f0817e5cb4 (bug 557358), 353b160fb804 (bug 685313), 9459096a263a b31b25125429 (bug 669715), a887241aed3a (bug 684404). 2011-09-17 19:24:19 -07:00
Brian Hackett
dd56af6e09 [INFER] Reapply c2726640029f 3330521cfa4a b68281262e15 (bug 557358), 6a8947bcc821 (bug 684943), 50d4f6fa00ce (bug 683714), f3dd7cf2d0b3 (bug 683999). 2011-09-17 19:14:22 -07:00
Ed Morley
3b89aa779a Backout latest JM merge for OSX 10.5 M-oth permaorange (see bug 687257) on a CLOSED TREE 2011-09-17 16:32:43 +01:00
Brian Hackett
f2651fd01e [INFER] Backout 3a8b5e4a286b for suspected M-oth orange. 2011-09-16 20:31:54 -07:00
Brian Hackett
7c7d9ac81c Merge MC -> JM 2011-09-16 08:51:41 -07:00
Ehsan Akhgari
97e0f80e7f Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-16 09:31:43 -04:00
Mike Hommey
28463360ac Bug 685130 - Build libffi with the same flags as the rest. r=ted 2011-09-16 10:01:03 +02:00
Brian Hackett
a2daad7e2e [INFER] Fix red. 2011-09-15 17:19:57 -07:00
Brian Hackett
797b88a50d [INFER] Don't change prototype of new objects when reusing type in Array.{slice,splice,concat}. bug 683140. 2011-09-15 17:16:57 -07:00
Kyle Huey
75aa6eed7a Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Brian Hackett
0d13c1627d [INFER] Add jitcode assertions for type correctness around property accesses, bug 685186. 2011-09-15 16:19:38 -07:00
Brian Hackett
72e409987d [INFER] Decouple constraints generating callee types and 'this' types of those callees for CALLELEM, bug 686396. 2011-09-15 12:50:19 -07:00
Brian Hackett
42f96c43bb [INFER] Fail compilation rather than assert if a constant pool is dumped while generating an IC, bug 669715. 2011-09-15 12:11:03 -07:00
Brian Hackett
df83129530 [INFER] Backout bug 685358. 2011-09-14 22:09:40 -07:00
Hari R
82b52e08fa Bug 684083 - Avoid null dereference when using Components.utils.getWeakReference(undefined). r=mrbkap 2011-09-14 23:13:00 -04:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Brian Hackett
dc9404d8a6 [INFER] Fix code discarding for JM+TM integration, bug 685358. 2011-09-13 15:01:46 -07:00
Chris Leary
12c65c3fc1 Fix SpiderMonkey build warning.
--HG--
extra : rebase_source : dfb62c170abef907f3584697cf5d40b37f93be5a
2011-09-14 17:43:02 -07:00
Chris Leary
d8356af29a Bug 670049 - JSParseNode accessors. (r=dherman)
--HG--
extra : rebase_source : c83d7bafafe951e2365573c459e2fab2d5ba4362
2011-09-13 22:32:14 -07:00
Chris Leary
fa6b47ea65 Bug 685025 - Shell should be able to read from stdin. (r=brendan)
--HG--
extra : rebase_source : 9ddc8e09ddb00baa50bccef395330f846a2ce531
2011-09-14 17:00:59 -07:00
Tom Schuster
22acbaaabb Bug 686323: Put JSOP_DIV logic into its own function r=dvander
--HG--
extra : rebase_source : 782f70b7af3d8f0866517f17af23c4c4d11fb9cd
2011-09-14 20:47:08 +02:00