Removed param_names from Fn inside Module.zig
Removed the copy of param_names inside of Fn and changed to implementation of getParamName to fetch to parameter name from the ZIR. The signature of getParamName was also changed to take an additional *Module argument.
This commit is contained in:
@@ -7313,7 +7313,7 @@ pub const FuncGen = struct {
|
||||
const lbrace_col = func.lbrace_column + 1;
|
||||
const di_local_var = dib.createParameterVariable(
|
||||
self.di_scope.?,
|
||||
func.getParamName(src_index).ptr, // TODO test 0 bit args
|
||||
func.getParamName(self.dg.module, src_index).ptr, // TODO test 0 bit args
|
||||
self.di_file.?,
|
||||
lbrace_line,
|
||||
try self.dg.object.lowerDebugType(inst_ty, .full),
|
||||
|
||||
Reference in New Issue
Block a user