|
From: Julian S. <se...@so...> - 2017-09-27 05:52:27
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=7f7d994cabe0bb869e117d5a2e1878072874409d commit 7f7d994cabe0bb869e117d5a2e1878072874409d Author: Julian Seward <js...@ac...> Date: Tue Sep 26 17:42:18 2017 +0200 stage1(): don't assert when presented with an empty instruction vector. Diff: --- VEX/priv/host_generic_reg_alloc3.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/VEX/priv/host_generic_reg_alloc3.c b/VEX/priv/host_generic_reg_alloc3.c index 7e1e609..528273b 100644 --- a/VEX/priv/host_generic_reg_alloc3.c +++ b/VEX/priv/host_generic_reg_alloc3.c @@ -609,8 +609,6 @@ static Bool find_free_rreg( static UInt stage1(HInstrVec* instrs_in, UInt ii_total_start, UInt n_rregs, RegAllocChunk** first_chunk, const RegAllocControl* con) { - vassert(instrs_in->insns_used > 0); - Short ii_vec_start = 0; RegAllocChunk* chunk = new_chunk(instrs_in, n_rregs); |