We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a34f58 commit 35e0ff3Copy full SHA for 35e0ff3
rvm.c
@@ -166,9 +166,9 @@ signed rvm_exec(struct rvm *RVM_RESTRICT ctx)
166
#include "impl.h"
167
#undef DEF
168
169
- return -RVM_ERR;
+ vmbrk -RVM_ERR;
170
_notimpl:
171
- return -RVM_EUINST;
+ vmbrk -RVM_EUINST;
172
173
174
/* Fallback to switch dispatch. */
@@ -181,9 +181,9 @@ signed rvm_exec(struct rvm *RVM_RESTRICT ctx)
181
# define DEF(op) case (RVM_OP_##op):
182
# include "impl.h"
183
# undef DEF
184
- default: return -RVM_EUINST;
+ default: vmbrk -RVM_EUINST;
185
}
186
187
188
#endif
189
0 commit comments