Floating point division is now relying on underlying FPU and IEEE for behavior with respect to divide by 0
Showing the changes to src/include/debug.h (1 of 11 files). Show all
Unified · Split
| @@ -91,7 +91,7 @@ namespace disvm · 90 unmodified lines | |||
| 91 | { | 91 | { |
| 92 | #ifndef NDEBUG | 92 | #ifndef NDEBUG |
| 93 | assert(t != nullptr); | 93 | assert(t != nullptr); |
| 94 | *t = reinterpret_cast<T *>(0xbada110c); | 94 | assign_debug_memory(t, sizeof(t)); |
| 95 | #endif | 95 | #endif |
| 96 | } | 96 | } |
| 97 | } | 97 | } |