Rename @asmname to @_silgen_name.

This reflects the fact that the attribute's only for compiler-internal use, and isn't really equivalent to C's asm attribute, since it doesn't change the calling convention to be C-compatible.
This commit is contained in:
Joe Groff
2015-11-17 13:43:48 -08:00
parent a3b6bef4e5
commit fbd2e4d872
94 changed files with 253 additions and 253 deletions

View File

@@ -894,7 +894,7 @@ namespace decls_block {
AccessibilityKindField, // accessibility
BCArray<IdentifierIDField> // name components
// The record is trailed by:
// - its asmname, if any
// - its _silgen_name, if any
// - its generic parameters, if any
// - body parameter patterns
>;
@@ -1198,10 +1198,10 @@ namespace decls_block {
BCVBR<5> // index
>;
using AsmnameDeclAttrLayout = BCRecordLayout<
Asmname_DECL_ATTR,
using SILGenNameDeclAttrLayout = BCRecordLayout<
SILGenName_DECL_ATTR,
BCFixed<1>, // implicit flag
BCBlob // asmname
BCBlob // _silgen_name
>;
using AlignmentDeclAttrLayout = BCRecordLayout<