Skip to content

Commit

Permalink
Missing call to MVMVECTOR_INIT
Browse files Browse the repository at this point in the history
Can't be sure of zeroed memory on the C stack.
  • Loading branch information
jnthn committed Aug 10, 2018
1 parent 6e7b215 commit 004d2f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spesh/manipulate.c
Expand Up @@ -377,6 +377,7 @@ MVMSpeshOperand MVM_spesh_manipulate_split_version(MVMThreadContext *tc, MVMSpes
MVMSpeshIns *at) {
MVMSpeshOperand new_version = MVM_spesh_manipulate_new_version(tc, g, split.reg.orig);
MVM_VECTOR_DECL(MVMSpeshBB *, bbq);
MVM_VECTOR_INIT(bbq, 1);
MVM_VECTOR_PUSH(bbq, bb);
while (MVM_VECTOR_ELEMS(bbq)) {
MVMuint32 i;
Expand Down

0 comments on commit 004d2f3

Please sign in to comment.