diff options
-rw-r--r-- | test/ruby/test_gc.rb | 2 | ||||
-rw-r--r-- | vm_callinfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 9442041ee5..77f5d8caaa 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -96,7 +96,7 @@ class TestGc < Test::Unit::TestCase ObjectSpace.count_objects(count) # repeat same methods invocation for cache object creation. GC.stat(stat) - ObjectSpace.count_objects(count) + ObjectSpace.count_objects(count) assert_equal(count[:TOTAL]-count[:FREE], stat[:heap_live_slots]) assert_equal(count[:FREE], stat[:heap_free_slots]) diff --git a/vm_callinfo.h b/vm_callinfo.h index 32b0131fa1..9b170bb297 100644 --- a/vm_callinfo.h +++ b/vm_callinfo.h @@ -225,7 +225,7 @@ typedef VALUE (*vm_call_handler)( // imemo_callcache struct rb_callcache { - const VALUE flags; + const VALUE flags; /* inline cache: key */ const VALUE klass; // should not mark it because klass can not be free'd |