<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Working on the JS engine</title>
	<atom:link href="http://blog.mozilla.com/mrbkap/2009/06/30/working-on-the-js-engine/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/mrbkap/2009/06/30/working-on-the-js-engine/</link>
	<description>A blog about wrappers</description>
	<lastBuildDate>Wed, 01 Jul 2009 01:36:11 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeff Walden</title>
		<link>http://blog.mozilla.com/mrbkap/2009/06/30/working-on-the-js-engine/comment-page-1/#comment-13</link>
		<dc:creator>Jeff Walden</dc:creator>
		<pubDate>Wed, 01 Jul 2009 01:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/mrbkap/2009/06/30/working-on-the-js-engine/#comment-13</guid>
		<description>Dude, it&#039;s so much more intelligible when you spit it out on one line:

(gdb) p ((JSString*)((uintptr_t)$.atom&amp;~7))-&gt;mLength&amp;~(1&lt;&lt;29)
$11 = 4
(gdb) x/4ch ((JSString*)((uintptr_t)$.atom&amp;~7))-&gt;mChars
0xaf434970:	97 &#039;a&#039;	98 &#039;b&#039;	99 &#039;c&#039;	100 &#039;d&#039;

(there may be typos above, I didn&#039;t bother firing up a debugger to record a real such sequence, but I think those are all the right field names and bitmasks :-) )</description>
		<content:encoded><![CDATA[<p>Dude, it&#8217;s so much more intelligible when you spit it out on one line:</p>
<p>(gdb) p ((JSString*)((uintptr_t)$.atom&amp;~7))-&gt;mLength&amp;~(1&lt;&lt;29)<br />
$11 = 4<br />
(gdb) x/4ch ((JSString*)((uintptr_t)$.atom&amp;~7))-&gt;mChars<br />
0xaf434970:	97 &#8216;a&#8217;	98 &#8216;b&#8217;	99 &#8216;c&#8217;	100 &#8216;d&#8217;</p>
<p>(there may be typos above, I didn&#8217;t bother firing up a debugger to record a real such sequence, but I think those are all the right field names and bitmasks <img src='http://blog.mozilla.com/mrbkap/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
</channel>
</rss>
