Skip to content

Commit 2b60378

Browse files
committed
Fix bug with handling of OOM while processing jit transfer data
1 parent 10e8371 commit 2b60378

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

lib/Runtime/Base/FunctionBody.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8215,12 +8215,9 @@ namespace Js
82158215
// corresponding fields on the entryPointInfo should be rolled back here.
82168216
this->runtimeTypeRefs = nullptr;
82178217
this->FreePropertyGuards();
8218-
if (this->equivalentTypeCaches != nullptr)
8219-
{
8220-
this->equivalentTypeCacheCount = 0;
8221-
this->equivalentTypeCaches = nullptr;
8222-
this->UnregisterEquivalentTypeCaches();
8223-
}
8218+
this->equivalentTypeCacheCount = 0;
8219+
this->equivalentTypeCaches = nullptr;
8220+
this->UnregisterEquivalentTypeCaches();
82248221

82258222
this->ResetOnNativeCodeInstallFailure();
82268223
}

0 commit comments

Comments
 (0)