Change SymbolName::name from InternedString to Symbol.
This requires changing the `PartialOrd`/`Ord` implementations to look at the chars rather than the symbol index.
This commit is contained in:
parent
b8214e9b44
commit
dddacf1eb3
5 changed files with 32 additions and 22 deletions
|
|
@ -221,7 +221,7 @@ impl CodegenCx<'ll, 'tcx> {
|
|||
def_id);
|
||||
|
||||
let ty = instance.ty(self.tcx);
|
||||
let sym = self.tcx.symbol_name(instance).name.as_symbol();
|
||||
let sym = self.tcx.symbol_name(instance).name;
|
||||
|
||||
debug!("get_static: sym={} instance={:?}", sym, instance);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue