compiler/vm/vmhooks

  Source   Edit

Various helpers for interacting with registers from inside a VM callback implementations

Procs

func getBool(a: VmArgs; i: Natural): bool {....raises: [], tags: [].}
  Source   Edit
func getFloat(a: VmArgs; i: Natural): BiggestFloat {....raises: [], tags: [].}
  Source   Edit
func getHandle(a: VmArgs; i: Natural): LocHandle {....raises: [], tags: [].}
  Source   Edit
func getInt(a: VmArgs; i: Natural): BiggestInt {....raises: [], tags: [].}
  Source   Edit
func getNode(a: VmArgs; i: Natural): PNode {....raises: [], tags: [].}
  Source   Edit
func getResultHandle(a: VmArgs): LocHandle {....raises: [], tags: [].}
  Source   Edit
func getString(a: VmArgs; i: Natural): string {....raises: [], tags: [].}
  Source   Edit
proc getVar(a: VmArgs; i: Natural): LocHandle {....raises: [], tags: [].}
  Source   Edit
proc numArgs(a: VmArgs): int {....raises: [], tags: [].}
  Source   Edit
proc setResult(a: VmArgs; v: AbsoluteDir) {....raises: [], tags: [].}
  Source   Edit
proc setResult(a: VmArgs; v: BiggestFloat) {....raises: [], tags: [].}
  Source   Edit
proc setResult(a: VmArgs; v: BiggestInt) {....raises: [], tags: [].}
  Source   Edit
proc setResult(a: VmArgs; v: bool) {....raises: [], tags: [].}
  Source   Edit
proc setResult(a: VmArgs; v: openArray[char]) {....raises: [], tags: [].}
  Source   Edit
proc setResult(a: VmArgs; v: PNode) {....raises: [], tags: [].}
  Source   Edit