A lightweight mechanism to provide an *instant kickstart* to a Go web server instance upon changing any Go source files under the project directory (and its subdirectories).

asm_darwin_amd64.s 678B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2009 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build !gccgo
  5. #include "textflag.h"
  6. //
  7. // System call support for AMD64, Darwin
  8. //
  9. // Just jump to package syscall's implementation for all these functions.
  10. // The runtime may know about them.
  11. TEXT ·Syscall(SB),NOSPLIT,$0-56
  12. JMP syscall·Syscall(SB)
  13. TEXT ·Syscall6(SB),NOSPLIT,$0-80
  14. JMP syscall·Syscall6(SB)
  15. TEXT ·Syscall9(SB),NOSPLIT,$0-104
  16. JMP syscall·Syscall9(SB)
  17. TEXT ·RawSyscall(SB),NOSPLIT,$0-56
  18. JMP syscall·RawSyscall(SB)
  19. TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
  20. JMP syscall·RawSyscall6(SB)