Commit 201b1249 authored by Alex Brainman's avatar Alex Brainman

[dev.cc] runtime: remove comma at the end of DIVL instruction (fixes windows build)

Change-Id: Ia47e1e387acd30f30559d766aa6fca18cbb098f9
Reviewed-on: https://go-review.googlesource.com/5010Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 412ce1f7
...@@ -248,7 +248,7 @@ TEXT runtime·callbackasm1+0(SB),NOSPLIT,$0 ...@@ -248,7 +248,7 @@ TEXT runtime·callbackasm1+0(SB),NOSPLIT,$0
SUBL $runtime·callbackasm(SB), AX SUBL $runtime·callbackasm(SB), AX
MOVL $0, DX MOVL $0, DX
MOVL $5, BX // divide by 5 because each call instruction in runtime·callbacks is 5 bytes long MOVL $5, BX // divide by 5 because each call instruction in runtime·callbacks is 5 bytes long
DIVL BX, DIVL BX
// find correspondent runtime·cbctxts table entry // find correspondent runtime·cbctxts table entry
MOVL runtime·cbctxts(SB), BX MOVL runtime·cbctxts(SB), BX
......
...@@ -287,7 +287,7 @@ TEXT runtime·callbackasm1(SB),NOSPLIT,$0 ...@@ -287,7 +287,7 @@ TEXT runtime·callbackasm1(SB),NOSPLIT,$0
SUBQ DX, AX SUBQ DX, AX
MOVQ $0, DX MOVQ $0, DX
MOVQ $5, CX // divide by 5 because each call instruction in runtime·callbacks is 5 bytes long MOVQ $5, CX // divide by 5 because each call instruction in runtime·callbacks is 5 bytes long
DIVL CX, DIVL CX
// find correspondent runtime·cbctxts table entry // find correspondent runtime·cbctxts table entry
MOVQ runtime·cbctxts(SB), CX MOVQ runtime·cbctxts(SB), CX
......
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