Commit 9f77e7ea authored by Russ Cox's avatar Russ Cox

runtime: dummy gettime for mingw/386.

Fixes #598.

R=adg
CC=golang-dev
https://golang.org/cl/206089
parent a75ebe19
...@@ -85,3 +85,12 @@ TEXT setldt(SB),7,$0 ...@@ -85,3 +85,12 @@ TEXT setldt(SB),7,$0
MOVL address+4(FP), CX MOVL address+4(FP), CX
MOVL CX, 0x2c(FS) MOVL CX, 0x2c(FS)
RET 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment