diff options
author | Ori Bernstein <ori@eigenstate.org> | 2013-04-04 21:23:11 -0400 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2013-04-04 21:23:15 -0400 |
commit | a2c579cf237bd9b76acda6862a5c52976bbbc66c (patch) | |
tree | 5d4822c8a7e6a606d8a82d1456f697fa228a4ea5 | |
parent | 21265af6b02141e340a953540e760b2e683de562 (diff) | |
download | mc-a2c579cf237bd9b76acda6862a5c52976bbbc66c.tar.gz |
Fix mixed tabs and spaces.
-rw-r--r-- | libstd/util.s | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libstd/util.s b/libstd/util.s index 718430b..5e21575 100644 --- a/libstd/util.s +++ b/libstd/util.s @@ -14,18 +14,19 @@ _std$cstring: std$cstring: movq (%rsp),%r15 /* ret addr */ movq 8(%rsp),%rsi /* src */ - movq %rsp,%rdi /* dest */ + movq %rsp,%rdi /* dest */ movq %rsp,%rax /* ret val */ movq 16(%rsp),%rcx /* len */ - + + subq $16,%rsp /* "unpop" the args */ subq %rcx,%rsp /* get stack */ - subq $1,%rsp /* nul */ - andq $(~15),%rsp /* align */ - + subq $1,%rsp /* nul */ + andq $(~15),%rsp /* align */ + cld rep movsb - movb $0,(%rdi) /* terminate */ - + movb $0,(%rdi) /* terminate */ + pushq %r15 /* ret addr */ ret |