mirror of
https://github.com/golang/go
synced 2024-11-21 20:34:40 -07:00
runtime: dummy gettime for mingw/386.
Fixes #598. R=adg CC=golang-dev https://golang.org/cl/206089
This commit is contained in:
parent
a75ebe192e
commit
9f77e7ea3c
@ -85,3 +85,12 @@ TEXT setldt(SB),7,$0
|
||||
MOVL address+4(FP), CX
|
||||
MOVL CX, 0x2c(FS)
|
||||
RET
|
||||
|
||||
// for now, return 0,0. only used for internal performance monitoring.
|
||||
TEXT gettime(SB),7,$0
|
||||
MOVL sec+0(FP), DI
|
||||
MOVL $0, (DI)
|
||||
MOVL $0, 4(DI) // zero extend 32 -> 64 bits
|
||||
MOVL usec+4(FP), DI
|
||||
MOVL $0, (DI)
|
||||
RET
|
||||
|
Loading…
Reference in New Issue
Block a user