add global_count inference counter that is always incremented (#2009)
This commit is contained in:
@@ -329,6 +329,8 @@ enum SystemClauseType {
|
||||
InstallSCCCleaner,
|
||||
#[strum_discriminants(strum(props(Arity = "3", Name = "$install_inference_counter")))]
|
||||
InstallInferenceCounter,
|
||||
#[strum_discriminants(strum(props(Arity = "1", Name = "$inference_count")))]
|
||||
InferenceCount,
|
||||
#[strum_discriminants(strum(props(Arity = "1", Name = "$lh_length")))]
|
||||
LiftedHeapLength,
|
||||
#[strum_discriminants(strum(props(Arity = "3", Name = "$load_library_as_stream")))]
|
||||
@@ -1720,6 +1722,7 @@ fn generate_instruction_preface() -> TokenStream {
|
||||
&Instruction::CallHeadIsDynamic |
|
||||
&Instruction::CallInstallSCCCleaner |
|
||||
&Instruction::CallInstallInferenceCounter |
|
||||
&Instruction::CallInferenceCount |
|
||||
&Instruction::CallLiftedHeapLength |
|
||||
&Instruction::CallLoadLibraryAsStream |
|
||||
&Instruction::CallModuleExists |
|
||||
@@ -1954,6 +1957,7 @@ fn generate_instruction_preface() -> TokenStream {
|
||||
&Instruction::ExecuteHeadIsDynamic |
|
||||
&Instruction::ExecuteInstallSCCCleaner |
|
||||
&Instruction::ExecuteInstallInferenceCounter |
|
||||
&Instruction::ExecuteInferenceCount |
|
||||
&Instruction::ExecuteLiftedHeapLength |
|
||||
&Instruction::ExecuteLoadLibraryAsStream |
|
||||
&Instruction::ExecuteModuleExists |
|
||||
|
||||
Reference in New Issue
Block a user