path: root/vm_insnhelper.c
diff options
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-29 06:47:05 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-29 06:47:05 (GMT)
commit9a8b38cacfa029aa9bbc5f1600b1ead3903a8c88 (patch)
treee7e453f3dc0f360a00e2bf406b4e76134f177433 /vm_insnhelper.c
parent582951e2c8995d6bab5ddaf98cd3816310f8d506 (diff)
extensive use of instruction attributes
Instead of using magic numbers, let us define a series of attributes and use them from the VM core. Proper function declarations makes these attributes inlined in most modern compilers. On my machine exact same binary is generated with or without this changeset. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 1ba3cce..9903bcc 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -10,6 +10,7 @@
/* finish iseq array */
#include ""
+#include ""
#include <math.h>
#include "constant.h"
#include "internal.h"