summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-13 05:55:18 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-14 11:57:46 +0900
commit967040ba59799e6b7891168ffbf37cc646988d84 (patch)
tree2f36f519d5c753ccd68dc08c8e6c65ea375ffcc6 /vm_core.h
parentfa63052be19b26d39b22689ad9969aa83909809e (diff)
Introduce negative method cache
pCMC doesn't have negative method cache so this patch implements it.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3892
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index a4c0e874ec..117671bcf1 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -649,6 +649,8 @@ typedef struct rb_vm_struct {
const struct rb_builtin_function *builtin_function_table;
int builtin_inline_index;
+ struct rb_id_table *negative_cme_table;
+
#if USE_VM_CLOCK
uint32_t clock;
#endif