« Previous | Next » 

Revision 43dc2a64

ID43dc2a645e00e6761a741e3d16c27c5b5a373b66

Added by Blue Swirl about 13 years ago

Replace assert(0) with abort() or cpu_abort()

When building with -DNDEBUG, assert(0) will not stop execution
so it must not be used for abnormal termination.

Use cpu_abort() when in CPU context, abort() otherwise.

Signed-off-by: Blue Swirl <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences