ruby-changes:58782
From: Koichi <ko1@a...>
Date: Thu, 14 Nov 2019 01:48:43 +0900 (JST)
Subject: [ruby-changes:58782] 3a408aff57 (master): try to remove vm_core.h
https://git.ruby-lang.org/ruby.git/commit/?id=3a408aff57 From 3a408aff578bcde428ebdd4560d819c1ba792f2c Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Thu, 14 Nov 2019 01:48:08 +0900 Subject: try to remove vm_core.h diff --git a/builtin.h b/builtin.h index 549343c..a31d88b 100644 --- a/builtin.h +++ b/builtin.h @@ -45,7 +45,10 @@ static inline void rb_builtin_function_check_arity15(VALUE (*f)(rb_execution_con https://github.com/ruby/ruby/blob/trunk/builtin.h#L45 VALUE rb_vm_lvar_exposed(rb_execution_context_t *ec, int index); -// inline +// __builtin_inline! + +PUREFUNC(static inline VALUE rb_vm_lvar(rb_execution_context_t *ec, int index)); + static inline VALUE rb_vm_lvar(rb_execution_context_t *ec, int index) { diff --git a/pack.c b/pack.c index a4e0882..c91531f 100644 --- a/pack.c +++ b/pack.c @@ -15,7 +15,6 @@ https://github.com/ruby/ruby/blob/trunk/pack.c#L15 #include <ctype.h> #include <errno.h> #include <float.h> -#include "vm_core.h" #include "builtin.h" /* -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/