Hello, v8 devs, after several months of being offline i'm coming back into the world and a colleague pointed out this change to me:
https://code.google.com/p/v8/source/detail?r=12849&path=/branches/bleeding_edge/include/v8.h Summary: Added highly efficient Object::SetAlignedPointerInInternalField and Object::GetAlignedPointerFromInternalField functions for 2-byte-aligned pointers. Their non-aligned counterparts Object::GetPointerFromInternalField and Object::SetPointerInInternalField are now deprecated utility functions. So we did a drop-in replace of those routines with their new equivalents and now get (on x64, but not i32) alignment assertions on objects created using the system allocator (new T). demo.cpp:199:MyType(): MyType::MyType() @ 0x1fba880 # # Fatal error in v8::Object::SetAlignedPointerInInternalField() # Pointer is not aligned # Is there a known problem for x64 with these routines or is there another replacement we should be using instead of the deprecated SetPointerInInternalField()? gcc 4.6.3 on Ubuntu 12.04, Linux 3.2.0 on x64. v8 trunk r13274. :-? -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
