mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-03 12:18:00 +00:00
the bytecode reader supports dematerializeFunction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35475 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1636,8 +1636,6 @@ bool BytecodeReader::ParseFunction(Function* Func, std::string* ErrMsg) {
|
||||
BlockEnd = Fi->second.EndBuf;
|
||||
assert(Fi->first == Func && "Found wrong function?");
|
||||
|
||||
LazyFunctionLoadMap.erase(Fi);
|
||||
|
||||
this->ParseFunctionBody(Func);
|
||||
return false;
|
||||
}
|
||||
@@ -1668,7 +1666,6 @@ bool BytecodeReader::ParseAllFunctionBodies(std::string* ErrMsg) {
|
||||
ParseFunctionBody(Func);
|
||||
++Fi;
|
||||
}
|
||||
LazyFunctionLoadMap.clear();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user