updated all api to use new function id system
fixed a codegen bug in function ids removed extra native status, simplified native binding --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40169
This commit is contained in:
@@ -1965,10 +1965,10 @@ restart:
|
||||
lval1->ident=iCONSTEXPR;
|
||||
/* Generate a quick pseudo-tag! */
|
||||
if (usage == uPUBLIC) {
|
||||
lval1->constval=(n>>1)|(1<<1);
|
||||
lval1->constval=(n<<1)|1;
|
||||
snprintf(faketag, sizeof(faketag)-1, "$Func@%d", n);
|
||||
} else {
|
||||
lval1->constval=(code_addr>>1)|(1<<0);
|
||||
lval1->constval=(code_addr<<1)|0;
|
||||
snprintf(faketag, sizeof(faketag)-1, "$Func!%d", code_addr);
|
||||
}
|
||||
lval1->tag=pc_addfunctag(faketag);
|
||||
|
||||
Reference in New Issue
Block a user