25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

20 satır
754B

  1. ; ifcalls.inc - interface call site constants (E06-S05).
  2. ;
  3. ; A call through an interface type knows the interface and the method at
  4. ; compile time, so it also knows the declaration slot: slot n is at
  5. ; table + IF_SLOT_SIZE*n (interfaces.inc). src/compiler/interfaces.s resolves
  6. ; that slot from the parser tables with iface_slot; the table pointer half of
  7. ; the fat reference is read at run time, so two classes answering the same
  8. ; slot reach different methods.
  9. ;
  10. ; A call site that cannot resolve a slot reports an error rather than emitting
  11. ; a call that would dispatch through whatever bytes sit at that offset.
  12. .ifndef IFCALLS_INC
  13. IFCALLS_INC = 1
  14. IS_OK = 0
  15. IS_ERR_METHOD = 1 ; the interface declares no such method
  16. .endif

Powered by TurnKey Linux.