Compare commits
2 Commits
3cd4121951
...
1dd4bbbb05
Author | SHA1 | Date | |
---|---|---|---|
1dd4bbbb05 | |||
8cbc65422e |
@ -6,7 +6,7 @@ use std::{
|
||||
};
|
||||
|
||||
use crate::{
|
||||
CmpPredicate, Context, Instr, InstructionData, TerminatorKind, Type,
|
||||
CmpPredicate, Context, Instr, InstructionData, TerminatorKind,
|
||||
builder::*,
|
||||
debug_information::{
|
||||
DebugArrayType, DebugBasicType, DebugFieldType, DebugInformation, DebugLocalVariable, DebugLocation,
|
||||
|
@ -193,7 +193,10 @@ impl AnalysisState {
|
||||
|
||||
pub fn new_symbol(&mut self, definition: usize, kind: SemanticKind) -> SymbolId {
|
||||
let id = SymbolId(self.symbol_table.len());
|
||||
self.symbol_table.push(Symbol { kind, definition });
|
||||
self.symbol_table.push(Symbol {
|
||||
kind,
|
||||
_definition: definition,
|
||||
});
|
||||
id
|
||||
}
|
||||
|
||||
@ -217,7 +220,7 @@ impl AnalysisState {
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Symbol {
|
||||
pub kind: SemanticKind,
|
||||
pub definition: usize,
|
||||
pub _definition: usize,
|
||||
}
|
||||
|
||||
pub struct AnalysisScope<'a> {
|
||||
|
Loading…
Reference in New Issue
Block a user