Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/coreclr/ilasm/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ extern "C" int _cdecl wmain(int argc, _In_ WCHAR **argv)
bool bClock = false;
Clockwork cw;

#ifdef HOST_WINDOWS
// SWI has requested that the exact form of the function call below be used. For details
// see http://swi/SWI%20Docs/Detecting%20Heap%20Corruption.doc
(void)HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
#endif

memset(pwzInputFiles,0,1024*sizeof(WCHAR*));
memset(pwzDeltaFiles,0,1024*sizeof(WCHAR*));
memset(&cw,0,sizeof(Clockwork));
Expand Down
5 changes: 0 additions & 5 deletions src/coreclr/ildasm/windasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,6 @@ int main(int argc, char* argv[])
}
#endif

#ifdef HOST_WINDOWS
// SWI has requested that the exact form of the function call below be used. For details see http://swi/SWI%20Docs/Detecting%20Heap%20Corruption.doc
(void)HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
#endif

#ifdef _DEBUG
DisableThrowCheck();
#endif
Expand Down