summaryrefslogtreecommitdiff
path: root/vm_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_exec.h')
-rw-r--r--vm_exec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm_exec.h b/vm_exec.h
index 4362ace..e0ceb64 100644
--- a/vm_exec.h
+++ b/vm_exec.h
@@ -189,4 +189,7 @@ default: \
#define CHECK_VM_STACK_OVERFLOW_FOR_INSN(cfp, margin)
#endif
+#define INSN_LABEL2(insn, name) INSN_LABEL_ ## insn ## _ ## name
+#define INSN_LABEL(x) INSN_LABEL2(NAME_OF_CURRENT_INSN, x)
+
#endif /* RUBY_VM_EXEC_H */