Пример #1
0
Oop Squeak_Image_Reader::oop_for_oop(Oop x) {
  return oop_for_relative_addr(x.bits() - (int)oldBaseAddr);
}
Пример #2
0
sqInt fetchPointerofObject(sqInt x, sqInt y) {
  Oop r = Oop::from_bits(y).as_object()->fetchPointer(x);
  if (check_many_assertions) r.verify_oop();
  return r.bits();
}