arm: only reset IT block for ARM
diff --git a/cs.c b/cs.c
index 2e011ca..1fbb2fb 100644
--- a/cs.c
+++ b/cs.c
@@ -563,7 +563,8 @@
 	handle->errnum = CS_ERR_OK;
 
 	// reset IT block of ARM structure
-	handle->ITBlock.size = 0;
+	if (handle->arch == CS_ARCH_ARM)
+		handle->ITBlock.size = 0;
 
 #ifdef CAPSTONE_USE_SYS_DYN_MEM
 	if (count > 0 && count <= INSN_CACHE_SIZE)