Revert "Add uc_ctl_get/set_tcg_buffer_size"
This reverts commit 3145e3c426 because not
properly co-authoer-ed.
This commit is contained in:
@@ -1085,7 +1085,6 @@ static inline void code_gen_alloc(struct uc_struct *uc, size_t tb_size)
|
||||
tcg_ctx->code_gen_buffer = alloc_code_gen_buffer(uc);
|
||||
tcg_ctx->initial_buffer = tcg_ctx->code_gen_buffer;
|
||||
tcg_ctx->initial_buffer_size = tcg_ctx->code_gen_buffer_size;
|
||||
uc->tcg_buffer_size = tcg_ctx->initial_buffer_size;
|
||||
if (tcg_ctx->code_gen_buffer == NULL) {
|
||||
fprintf(stderr, "Could not allocate dynamic translator buffer\n");
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user