pointers in the interpreter are of the form:
| pointer id | pointer offset |, where pointer id is an offset into an array
that contains information about the pointer like its bounds.
... | ... |
@@ -769,7 +769,8 @@ static int parseTypes(struct cli_bc *bc, unsigned char *buffer) |
769 | 769 |
return CL_EMALFDB; |
770 | 770 |
} |
771 | 771 |
if (t == 5) { |
772 |
- ty->size = ty->align = sizeof(void*); |
|
772 |
+ /* for interpreter, pointers 64-bit there */ |
|
773 |
+ ty->size = ty->align = 8; |
|
773 | 774 |
} else { |
774 | 775 |
ty->size = ty->numElements*typesize(bc, ty->containedTypes[0]); |
775 | 776 |
ty->align = typealign(bc, ty->containedTypes[0]); |