The registers were declared in a .h file, and defined in a .cc file. The kScratchRegister was declared and defined as equal to r10 in a .h file, that only referenced .h files. When the value of r10 was copied to make kScratchRegister, it had not been initialized yet (to 10), and had the value 0. These named registers should all just be constant integers between 0 and 15, and do not need to be stored in memory and fetched from memory locations.
On Wed, Feb 24, 2010 at 6:34 AM, <[email protected]> wrote: > > Comment #26 on issue 615 by [email protected]: "instanceof" operator broken > on x64 > > http://code.google.com/p/v8/issues/detail?id=615 > > Very happy to report that I just grabbed the trunk (3935) and rebuilt > everything > standard. Now both the "[] instanceof Array" and the cloneObj() issues I've > reported > are fixed! Hooray! Really appreciate how you guys stuck with it and found > the fix, > even though I seemed at most times like just a corner case problem. :) > > Btw, I would love (just out of curiosity) to know why having the registers > as > constants fixes the issue? What was it that was causing my system to get > them mixed > up, whereas most everyone else wasn't suffering that same fate? > > -- > You received this message because you are listed in the owner > or CC fields of this issue, or because you starred this issue. > You may adjust your issue notification preferences at: > http://code.google.com/hosting/settings > > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > -- William Hesse Software Engineer [email protected] Google Denmark ApS Frederiksborggade 20B, 1 sal 1360 København K Denmark CVR nr. 28 86 69 84 If you received this communication by mistake, please don't forward it to anyone else (it may contain confidential or privileged information), please erase all copies of it, including all attachments, and please let the sender know it went to the wrong person. Thanks. -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
