C++: IR translation for non-runtime-initialized static local variables.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-04-18 19:19:59 +01:00
parent 4bf03e7962
commit d14ee931e1
10 changed files with 50 additions and 28 deletions

View File

@@ -6,7 +6,7 @@ private import IRFunctionBaseInternal
private newtype TIRFunction =
TFunctionIRFunction(Language::Function func) { IRConstruction::Raw::functionHasIR(func) } or
TVarInitIRFunction(Language::GlobalVariable var) { IRConstruction::Raw::varHasIRFunc(var) }
TVarInitIRFunction(Language::Variable var) { IRConstruction::Raw::varHasIRFunc(var) }
/**
* The IR for a function. This base class contains only the predicates that are the same between all