stage2: ignore asm inputs named _
This is a hacky solution but the entire asm syntax is supposed to be reworked anyways.
This commit is contained in:
@@ -5389,7 +5389,9 @@ pub const FuncGen = struct {
|
||||
}
|
||||
llvm_constraints.appendSliceAssumeCapacity(constraint);
|
||||
|
||||
name_map.putAssumeCapacityNoClobber(name, {});
|
||||
if (!std.mem.eql(u8, name, "_")) {
|
||||
name_map.putAssumeCapacityNoClobber(name, {});
|
||||
}
|
||||
llvm_param_i += 1;
|
||||
total_i += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user