]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.cc] runtime: remove comma at the end of DIVL instruction (fixes windows build)
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 17 Feb 2015 05:48:31 +0000 (16:48 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 17 Feb 2015 08:15:13 +0000 (08:15 +0000)
Change-Id: Ia47e1e387acd30f30559d766aa6fca18cbb098f9
Reviewed-on: https://go-review.googlesource.com/5010
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/sys_windows_386.s
src/runtime/sys_windows_amd64.s

index 9c2692b93d5972a274865c799beb7221f29cfed4..5f4a63bcdd036267f7fedbfd096fbbce3df4ff16 100644 (file)
@@ -248,7 +248,7 @@ TEXT runtime·callbackasm1+0(SB),NOSPLIT,$0
        SUBL    $runtime·callbackasm(SB), AX
        MOVL    $0, DX
        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
        MOVL    runtime·cbctxts(SB), BX
index 27e48bf9c28dd0f87e79098f954fbf612167152e..dd81ce055af31c60a2f6b90ad60e5e304bf2cfac 100644 (file)
@@ -287,7 +287,7 @@ TEXT runtime·callbackasm1(SB),NOSPLIT,$0
        SUBQ    DX, AX
        MOVQ    $0, DX
        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
        MOVQ    runtime·cbctxts(SB), CX