Add optimization_mode attribute for procedures

Allowed modes: "none", "minimal", "size", "speed"
Currently: none == minimal and size == speed
This commit is contained in:
gingerBill
2021-04-22 00:04:47 +01:00
parent c7d92562c2
commit 65551ba8fb
5 changed files with 67 additions and 4 deletions
+1
View File
@@ -112,6 +112,7 @@ struct AttributeContext {
String thread_local_model;
String deprecated_message;
DeferredProcedure deferred_procedure;
u32 optimization_mode; // ProcedureOptimizationMode
struct TypeAtomOpTable *atom_op_table;
};