I am sorry. I am not sure what I was seeing, but today I actually needed to store a NULL pointer and it worked. I have no idea what I was seeing before; I was using this in a number of places. I guess I had a odd number flag lingering but failed to spot that in GDB.
Thanks. On Friday, February 8, 2013 3:51:10 AM UTC-5, Sven Panne wrote: > > On Thu, Feb 7, 2013 at 8:22 PM, Stuart Allen <[email protected]<javascript:> > > wrote: > >> This error occurs if the pointer is 0. That's an even number last time I >> looked. >> >> I have been using this facility to storing flags to avoid Object >> overhead, now all my flags have to be >0 and even :) >> > > I don't think so, we even have a unit test that checks that you can store > and retrieve NULL: > > > https://code.google.com/p/v8/source/browse/branches/bleeding_edge/test/cctest/test-api.cc#2061 > > Perhaps something else is wrong. Can you provide detailed reproduction > steps? > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
