lib/embed/abort_: Use mp_raise_msg helper function.

This commit is contained in:
Damien George 2017-09-22 11:31:00 +10:00
parent e2ba45c35f
commit d36539df06
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@
NORETURN void abort_(void);
NORETURN void abort_(void) {
nlr_raise(mp_obj_new_exception_msg(&mp_type_RuntimeError, "abort() called"));
mp_raise_msg(&mp_type_RuntimeError, "abort() called");
}