Skip to content
This repository
Browse code

Set method missing reason from cache entry

Fixes #1938
  • Loading branch information...
commit ccc3b0aff987b8122d1fcebf630f130eae27bdb9 1 parent 63dd2a3
Dirkjan Bussink authored October 30, 2012

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  vm/inline_cache.cpp
2  vm/inline_cache.cpp
@@ -628,6 +628,7 @@ namespace rubinius {
628 628
     if(likely(ic)) {
629 629
       args.unshift(state, cache->name);
630 630
 
  631
+      state->vm()->set_method_missing_reason(entry->method_missing());
631 632
       Executable* meth = entry->method();
632 633
       Module* mod = entry->stored_module();
633 634
       ic->hit();
@@ -676,6 +677,7 @@ namespace rubinius {
676 677
     {
677 678
       args.unshift(state, cache->name);
678 679
 
  680
+      state->vm()->set_method_missing_reason(entry->method_missing());
679 681
       Executable* meth = entry->method();
680 682
       Module* mod = entry->stored_module();
681 683
       ic->hit();

0 notes on commit ccc3b0a

Please sign in to comment.
Something went wrong with that request. Please try again.