Arc Forumnew | comments | leaders | submitlogin
1 point by sacado 6070 days ago | link | parent

Hmm... That would work because addresses are on 4 bytes, so they always end with 00, right ? That's a nice idea :) But it wouldn't work on an architecture with addresses on less than 4 bytes, no ? There are not many nowadays, I guess, but I suppose that should be added as an assertion is the code...


0 points by stefano 6070 days ago | link

You have to be sure that every allocated object is at 8 byte boundaries for the pointer to end with 00.

-----