Re: [PATCH] Make save work for sizeof(opcode_t) != sizeof(INTVAL) (caveat) [APPLIED]

2002-01-11 Thread Dan Sugalski
At 06:49 PM 1/10/2002 -0600, David M. Lloyd wrote: > > The problem is that when you save an int constant on the stack in a > > mixed 32/64-bit system, the int type is 8 bytes but the pointer points > > to four bytes of int constant and four bytes of... something else. So > > it has to be copied o

Re: [PATCH] Make save work for sizeof(opcode_t) != sizeof(INTVAL)(caveat)

2002-01-10 Thread David M. Lloyd
On Thu, 10 Jan 2002, David M. Lloyd wrote: > The problem is that when you save an int constant on the stack in a > mixed 32/64-bit system, the int type is 8 bytes but the pointer points > to four bytes of int constant and four bytes of... something else. So > it has to be copied out into a temp

[PATCH] Make save work for sizeof(opcode_t) != sizeof(INTVAL) (caveat)

2002-01-10 Thread David M. Lloyd
This patch will clash with Steve Fink's stacks patch, but you get the idea. Also, there's gonna be a small speed hit that I don't know how to get around. The problem is that when you save an int constant on the stack in a mixed 32/64-bit system, the int type is 8 bytes but the pointer points to