mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Tolerate more errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fa84b70c3
commit
e9e326e2eb
@ -1310,7 +1310,8 @@ int SlotMachine::getSlot(const Value *V) {
|
||||
ValueMap::const_iterator FVI = FI->second.map.find(V);
|
||||
// If the value doesn't exist in the function map
|
||||
if ( FVI == FI->second.map.end() ) {
|
||||
// Look up the value in the module map
|
||||
// Look up the value in the module map.
|
||||
if (MI == mMap.end()) return -1;
|
||||
ValueMap::const_iterator MVI = MI->second.map.find(V);
|
||||
// If we didn't find it, it wasn't inserted
|
||||
if (MVI == MI->second.map.end()) return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user