Ejemplo n.º 1
0
 public int readFixnum(RubyBasicObject object, boolean condition)
     throws UnexpectedResultException {
   if (isSet(object)) {
     return CompilerDirectives.unsafeGetInt(object, offset, condition, this);
   } else {
     throw new UnexpectedResultException(NilPlaceholder.INSTANCE);
   }
 }