Merge pull request #1066 from xxuejie/static_inline_top_env

Make topenv() static inlined to avoid compiling error when using clang and -O0 mode
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-03-25 02:53:32 -07:00
+1 -1
View File
@@ -175,7 +175,7 @@ is_strict(mrb_state *mrb, struct REnv *e)
return 0;
}
inline struct REnv*
static inline struct REnv*
top_env(mrb_state *mrb, struct RProc *proc)
{
struct REnv *e = proc->env;