Branch: Tag:

2014-08-18

2014-08-18 17:17:14 by Martin Nilsson <nilsson@opera.com>

Reuse the new type pike strings where possible and easy.

1033:    */   static void mpzmod__is_type(INT32 UNUSED(args))   { -  struct pike_string *int_t; +     int is_int; -  MAKE_CONST_STRING(int_t,"int"); -  is_int = Pike_sp[-1].u.string == int_t ? 1 : 0; +  is_int = Pike_sp[-1].u.string == literal_int_string ? 1 : 0;    pop_stack();    push_int( is_int );   }