]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
stage1(): don't assert when presented with an empty instruction vector.
authorJulian Seward <jseward@acm.org>
Tue, 26 Sep 2017 15:42:18 +0000 (17:42 +0200)
committerJulian Seward <jseward@acm.org>
Tue, 26 Sep 2017 15:42:18 +0000 (17:42 +0200)
VEX/priv/host_generic_reg_alloc3.c

index 7e1e6099d39792802f34a5136c4d166c3c17a09d..528273b9ea0617813b9db5c3705bdaf7bd3d39e8 100644 (file)
@@ -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);