Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive
Closed
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
5 changes: 4 additions & 1 deletion src/rt/deh.d
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,10 @@ Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD *exceptionRecord)
pti = new Error("Integer Divide by Zero");
break;

case STATUS_INTEGER_OVERFLOW: // eg, int.min % -1
pti = new Error("Integer Overflow");
break;

case STATUS_FLOAT_DIVIDE_BY_ZERO:
pti = new Error("Float Divide by Zero");
break;
Expand Down Expand Up @@ -687,7 +691,6 @@ Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD *exceptionRecord)
pti = new Error("Win32 In Page Exception");
break;
/*
case STATUS_INTEGER_OVERFLOW: // not supported on any x86 processor
case STATUS_INVALID_DISPOSITION:
case STATUS_NONCONTINUABLE_EXCEPTION:
case STATUS_SINGLE_STEP:
Expand Down