| Age | Commit message (Collapse) | Author | Lines |
|
This requires changing the `PartialOrd`/`Ord` implementations to look at
the chars rather than the symbol index.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mangling impl.
|
|
|
|
|
|
Special-case `.llvm` in mangler
Fixes #60925 and fixes #53912.
r? @michaelwoerister
cc @eddyb
|
|
This commit special cases `.llvm` in the mangler to print `.llvm$6d$`
instead. This will avoid segfaults when names in a user's Rust code are
`llvm`.
|
|
|
|
|
|
|
|
`Symbol` received the same treatment in #60630.
Also, we can derive `PartialEq` for `InternedString`.
|
|
`InternedString::intern(x)` is preferable to
`Symbol::intern(x).as_interned_str()`, because the former involves one
call to `with_interner` while the latter involves two.
The case within InternedString::decode() is particularly hot, and this
change reduces the number of `with_interner` calls by up to 13%.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
check when optional.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
functional changes).
|
|
|
|
|