summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index e0d997b834..59c868d366 100644
--- a/insns.def
+++ b/insns.def
@@ -403,7 +403,7 @@ toregexp
(VALUE val)
{
volatile VALUE tmp = str; /* for GC */
- val = rb_reg_new(str, opt);
+ val = rb_reg_new_str(str, opt);
}
/**