diff options
Diffstat (limited to 'src/stateless/cp/trex_stream_vm.h')
-rw-r--r-- | src/stateless/cp/trex_stream_vm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stateless/cp/trex_stream_vm.h b/src/stateless/cp/trex_stream_vm.h index 0484693f..e65a87e3 100644 --- a/src/stateless/cp/trex_stream_vm.h +++ b/src/stateless/cp/trex_stream_vm.h @@ -927,6 +927,10 @@ public: } + bool is_vm_empty() { + return (m_inst_list.size() == 0); + } + /** * add new instruction to the VM * @@ -961,11 +965,7 @@ public: * return true of success, o.w false * */ - bool compile(); - - - void compile_next(); - + void compile(); ~StreamVm(); |