... | ... |
@@ -1146,41 +1146,32 @@ int cli_vm_execute(const struct cli_bc *bc, struct cli_bc_ctx *ctx, const struct |
1146 | 1146 |
DEFINE_OP(OP_BC_MEMCPY) { |
1147 | 1147 |
int64_t arg3; |
1148 | 1148 |
void *arg1, *arg2; |
1149 |
- int64_t res=0; |
|
1150 | 1149 |
|
1151 | 1150 |
READ32(arg3, inst->u.three[2]); |
1152 | 1151 |
READPOP(arg1, inst->u.three[0], arg3); |
1153 | 1152 |
READPOP(arg2, inst->u.three[1], arg3); |
1154 | 1153 |
memcpy(arg1, arg2, (int32_t)arg3); |
1155 |
-/* READ64(res, inst->u.three[0]);*/ |
|
1156 |
-/* WRITE64(inst->dest, res);*/ |
|
1157 | 1154 |
break; |
1158 | 1155 |
} |
1159 | 1156 |
DEFINE_OP(OP_BC_MEMMOVE) { |
1160 | 1157 |
int64_t arg3; |
1161 | 1158 |
void *arg1, *arg2; |
1162 |
- int64_t res=0; |
|
1163 | 1159 |
|
1164 | 1160 |
READ64(arg3, inst->u.three[2]); |
1165 | 1161 |
READPOP(arg1, inst->u.three[0], arg3); |
1166 | 1162 |
READPOP(arg2, inst->u.three[1], arg3); |
1167 | 1163 |
memmove(arg1, arg2, (int32_t)arg3); |
1168 |
-/* READ64(res, inst->u.three[0]);*/ |
|
1169 |
-/* WRITE64(inst->dest, res);*/ |
|
1170 | 1164 |
break; |
1171 | 1165 |
} |
1172 | 1166 |
DEFINE_OP(OP_BC_MEMSET) { |
1173 | 1167 |
int64_t arg3; |
1174 | 1168 |
int32_t arg2; |
1175 | 1169 |
void *arg1; |
1176 |
- int64_t res=0; |
|
1177 | 1170 |
|
1178 | 1171 |
READ64(arg3, inst->u.three[2]); |
1179 | 1172 |
READPOP(arg1, inst->u.three[0], arg3); |
1180 | 1173 |
READ32(arg2, inst->u.three[1]); |
1181 | 1174 |
memset(arg1, arg2, (int32_t)arg3); |
1182 |
-/* READ64(res, inst->u.three[0]);*/ |
|
1183 |
-/* WRITE64(inst->dest, res);*/ |
|
1184 | 1175 |
break; |
1185 | 1176 |
} |
1186 | 1177 |
DEFINE_OP(OP_BC_BSWAP16) { |