Example #1
0
 void obj_at_put(int which, oop contents, bool cs = true) {
   assert(which > 0 && which <= length(), "index out of bounds");
   assert(!is_symbol(), "shouldn't be modifying a canonical string");
   assert(contents->verify(), "check contents");
   if (cs) {
     STORE_OOP(objs(which), contents);
   } else {
     *objs(which) = contents;
   }
 }