parrotcode: Functions for writing out packfiles | |
Contents | C |
src/packout.c - Functions for writing out packfiles
opcode_t PackFile_pack_size(struct PackFile *self)
void PackFile_pack(struct PackFile *self, opcode_t *cursor)
PackFile_pack_size()
.PackFile_pack_size()
before PackFile_pack()
size_t PackFile_ConstTable_pack_size(struct PackFile_Segment *seg)
opcode_t *PackFile_ConstTable_pack(struct PackFile_Segment *seg, opcode_t *cursor)
PackFile_pack_size()
.PackFile_pack_size()
before PackFile_ConstTable_pack()
static int find_in_const(PMC *key, int type)
PARROT_ARG_SC
key constant is in constant table,
so we have to search for it.opcode_t *PackFile_Constant_pack(struct PackFile_Constant *self, opcode_t *cursor)
PackFile_pack_size()
.PackFile_pack_size()
before PackFile_Constant_pack()
Rework by Melvin; new bytecode format, make bytecode portable. (Do endian conversion and wordsize transforms on the fly.)
leo: rewrite to use new dirctory based format.
|