about summary refs log tree commit diff stats
path: root/miasm2/jitter/vm_mngr.h
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/jitter/vm_mngr.h')
-rw-r--r--miasm2/jitter/vm_mngr.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/miasm2/jitter/vm_mngr.h b/miasm2/jitter/vm_mngr.h
index 757c3b3e..71ecc246 100644
--- a/miasm2/jitter/vm_mngr.h
+++ b/miasm2/jitter/vm_mngr.h
@@ -216,8 +216,6 @@ unsigned int umul16_hi(unsigned short a, unsigned short b);
 
 uint64_t rot_left(uint64_t size, uint64_t a, uint64_t b);
 uint64_t rot_right(uint64_t size, uint64_t a, uint64_t b);
-unsigned int rcl_rez_op(unsigned int size, unsigned int a, unsigned int b, unsigned int cf);
-unsigned int rcr_rez_op(unsigned int size, unsigned int a, unsigned int b, unsigned int cf);
 
 
 #define UDIV(sizeA)						\
@@ -226,7 +224,7 @@ unsigned int rcr_rez_op(unsigned int size, unsigned int a, unsigned int b, unsig
 		uint ## sizeA ## _t r;					\
 		if (b == 0) {						\
 			fprintf(stderr, "Should not happen\n");		\
-			exit(0);					\
+			exit(EXIT_FAILURE);				\
 		}							\
 		r = a/b;						\
 		return r;						\
@@ -239,7 +237,7 @@ unsigned int rcr_rez_op(unsigned int size, unsigned int a, unsigned int b, unsig
 		uint ## sizeA ## _t r;					\
 		if (b == 0) {						\
 			fprintf(stderr, "Should not happen\n");		\
-			exit(0);					\
+			exit(EXIT_FAILURE);				\
 		}							\
 		r = a%b;						\
 		return r;						\
@@ -252,7 +250,7 @@ unsigned int rcr_rez_op(unsigned int size, unsigned int a, unsigned int b, unsig
 		int ## sizeA ## _t r;					\
 		if (b == 0) {						\
 			fprintf(stderr, "Should not happen\n");		\
-			exit(0);					\
+			exit(EXIT_FAILURE);				\
 		}							\
 		r = a/b;						\
 		return r;						\
@@ -265,7 +263,7 @@ unsigned int rcr_rez_op(unsigned int size, unsigned int a, unsigned int b, unsig
 		int ## sizeA ## _t r;					\
 		if (b == 0) {						\
 			fprintf(stderr, "Should not happen\n");		\
-			exit(0);					\
+			exit(EXIT_FAILURE);				\
 		}							\
 		r = a%b;						\
 		return r;						\