aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 07:40:09 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 07:40:09 +0000
commit91b26ffa2b1d23be74b57d0928d4b01e128f7b9c (patch)
tree01cb4dbe9e0d1afd1d4f9310d091a7e5da95e5c0
parentb2ac0f9c7d8ce2aee4730a5ccc4f35a17a1d36d9 (diff)
downloadruby-91b26ffa2b1d23be74b57d0928d4b01e128f7b9c.tar.gz
merge revision(s) 54028: [Backport #12158]
* insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--insns.def2
-rw-r--r--version.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3d9b6fc319..1d69680972 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Mar 29 16:29:44 2016 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * insns.def (opt_mod): show its method name on ZeroDivisionError.
+ [Bug #12158]
+
Tue Mar 29 16:25:27 2016 Anthony Dmitriyev <antstorm@gmail.com>
* net/ftp.rb: add NullSocket#closed? to fix closing not opened
diff --git a/insns.def b/insns.def
index df65aa8efd..c25fc76eea 100644
--- a/insns.def
+++ b/insns.def
@@ -1547,7 +1547,7 @@ opt_mod
long div, mod;
if (y == 0)
- rb_num_zerodiv();
+ goto INSN_LABEL(normal_dispatch);
if (y < 0) {
if (x < 0)
div = -x / -y;
diff --git a/version.h b/version.h
index cefecd8e07..615611c362 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.3.0"
#define RUBY_RELEASE_DATE "2016-03-29"
-#define RUBY_PATCHLEVEL 35
+#define RUBY_PATCHLEVEL 36
#define RUBY_RELEASE_YEAR 2016
#define RUBY_RELEASE_MONTH 3