public Xobject Index(Xobject i) { if (type.isArray() || value.code == Xcode.VAR_ADDR || value.code == Xcode.ARRAY_ADDR) return Xcons.PointerRef(Xcons.binaryOp(Xcode.PLUS_EXPR, Ref(), i)); if (type.isPointer()) return Xcons.PointerRef(Xcons.binaryOp(Xcode.PLUS_EXPR, value, i)); XmLog.fatal("Index: not Pointer"); return null; }