Update instrumentation signature to support runtime.Source_Code_Location as last parameter.

This commit is contained in:
gingerBill
2024-01-09 11:01:18 +00:00
parent f4782157d3
commit 67dcd916e8
3 changed files with 20 additions and 7 deletions
+2
View File
@@ -565,6 +565,8 @@ gb_internal String lb_filepath_ll_for_module(lbModule *m);
gb_internal LLVMTypeRef lb_type_internal_for_procedures_raw(lbModule *m, Type *type);
gb_internal lbValue lb_emit_source_code_location_as_global_ptr(lbProcedure *p, String const &procedure, TokenPos const &pos);
gb_internal LLVMTypeRef llvm_array_type(LLVMTypeRef ElementType, uint64_t ElementCount) {
#if LB_USE_NEW_PASS_SYSTEM
return LLVMArrayType2(ElementType, ElementCount);