[IE][VPU]: KW fixes in myriad plugin WW48'20 (#3312)

This commit is contained in:
Maksim Doronin 2020-11-24 16:44:32 +03:00 committed by GitHub
parent b2714f18af
commit 7aa931fde8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,7 @@ uint32_t md_parser_t::evaluate_expr(const md_expr_t *expression,
case md_type_op_xor:
case md_type_op_shl:
case md_type_op_lshr:
assert(values.size() >= 2);
uint32_t rhs = values.rbegin()[0];
uint32_t lhs = values.rbegin()[1];
values.pop_back();