I had a quick look at this, and I think that instead of trying to fiddle around with undefined behavior and/or memcpy we should fix the underlying design: Why do we need both Instr and Instruction? One of them seems to be superfluous. If we really want to keep both, Instruction should probably be just a decorator for Instr, i.e. carry around the underlying integer. No need for funny casts and memcpy then...
-- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" 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.
