Project

General

Profile

Backport #6736 ยป 0001-Mark-rb_num_zerodiv-as-NORETURN.patch

xi (Xi Wang), 07/15/2012 06:54 PM

View differences:

include/ruby/intern.h
512 512
VALUE rb_marshal_load(VALUE);
513 513
void rb_marshal_define_compat(VALUE newclass, VALUE oldclass, VALUE (*dumper)(VALUE), VALUE (*loader)(VALUE, VALUE));
514 514
/* numeric.c */
515
void rb_num_zerodiv(void);
515
NORETURN(void rb_num_zerodiv(void));
516 516
#define RB_NUM_COERCE_FUNCS_NEED_OPID 1
517 517
VALUE rb_num_coerce_bin(VALUE, VALUE, ID);
518 518
VALUE rb_num_coerce_cmp(VALUE, VALUE, ID);
519
-