diff options
author | Matt Valentine-House <[email protected]> | 2023-02-17 13:32:51 +0000 |
---|---|---|
committer | Matt Valentine-House <[email protected]> | 2023-04-06 11:07:16 +0100 |
commit | d91a82850ac337c80807743bc0841369a8a1748c (patch) | |
tree | 6895a67099d8e77b3c25db7ee25fdfcc1a3b557a /yjit.c | |
parent | b0297feb1f487d466ad1186898b4e36209fcd59e (diff) |
Pull the shape tree out of the vm object
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7393
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1105,7 +1105,7 @@ static VALUE object_shape_count(rb_execution_context_t *ec, VALUE self) { // next_shape_id starts from 0, so it's the same as the count - return ULONG2NUM((unsigned long)GET_VM()->next_shape_id); + return ULONG2NUM((unsigned long)GET_SHAPE_TREE()->next_shape_id); } // Assert that we have the VM lock. Relevant mostly for multi ractor situations. |