Commit 44cdb668 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Cleanup

parent 5500b773
......@@ -46,7 +46,6 @@ class UnwindInfo;
typedef VRegMap<CompilerVariable*> SymbolTable;
typedef VRegMap<llvm::Value*> DefinednessTable;
typedef VRegMap<CompilerVariable*> SortedSymbolTable;
typedef VRegMap<ConcreteCompilerVariable*> ConcreteSymbolTable;
extern const std::string CREATED_CLOSURE_NAME;
......
......@@ -329,26 +329,6 @@ public:
}
}
#if 0
//llvm::ArrayRef<StackMap::Record::Location> findLocations(llvm::StringRef name) {
llvm::ArrayRef<StackMap::Record::Location> findLocations(const LocationMap::LocationTable& table) {
assert(id.type == PythonFrameId::COMPILED);
CompiledFunction* cf = getCF();
uint64_t ip = getId().ip;
assert(ip > cf->code_start);
unsigned offset = ip - cf->code_start;
//const LocationMap::LocationTable& table = cf->location_map->names[name];
auto entry = table.findEntry(offset);
if (!entry)
return {};
assert(entry->locations.size());
return entry->locations;
}
#endif
AST_stmt* getCurrentStatement() {
assert(getFrameInfo()->stmt);
return getFrameInfo()->stmt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment