From 28f5e12c24edda376c863090c09406185373167b Mon Sep 17 00:00:00 2001
From: naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Sun, 8 May 2016 17:44:51 +0000
Subject: * configure.in: check function attirbute const and pure,   and define
 CONSTFUNC and PUREFUNC if available.   Note that I don't add those options as
 default because   it still shows many false-positive (it seems not to
 consider   longjmp).

* vm_eval.c (stack_check): get rb_thread_t* as an argument
  to avoid duplicate call of GET_THREAD().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 insns.def | 2 --
 1 file changed, 2 deletions(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index 65410e1451..d34a66342c 100644
--- a/insns.def
+++ b/insns.def
@@ -2088,8 +2088,6 @@ opt_not
 (VALUE recv)
 (VALUE val)
 {
-    extern VALUE rb_obj_not(VALUE obj);
-
     vm_search_method(ci, cc, recv);
 
     if (check_cfunc(cc->me, rb_obj_not)) {
-- 
cgit v1.2.3

