Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set method missing reason from cache entry

Fixes #1938
  • Loading branch information...
commit ccc3b0aff987b8122d1fcebf630f130eae27bdb9 1 parent 63dd2a3
Dirkjan Bussink dbussink authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  vm/inline_cache.cpp
2  vm/inline_cache.cpp
View
@@ -628,6 +628,7 @@ namespace rubinius {
if(likely(ic)) {
args.unshift(state, cache->name);
+ state->vm()->set_method_missing_reason(entry->method_missing());
Executable* meth = entry->method();
Module* mod = entry->stored_module();
ic->hit();
@@ -676,6 +677,7 @@ namespace rubinius {
{
args.unshift(state, cache->name);
+ state->vm()->set_method_missing_reason(entry->method_missing());
Executable* meth = entry->method();
Module* mod = entry->stored_module();
ic->hit();
Please sign in to comment.
Something went wrong with that request. Please try again.