From bcf84ac2e2b0d815e907257ba97409ad28d6725d Mon Sep 17 00:00:00 2001 From: Drahflow Date: Thu, 13 Oct 2016 11:56:28 +0200 Subject: Correctly handle empty string in str .split --- compiler/elymasGlobalStr.ey | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/elymasGlobalStr.ey b/compiler/elymasGlobalStr.ey index 4e9861a..e5a4b3c 100644 --- a/compiler/elymasGlobalStr.ey +++ b/compiler/elymasGlobalStr.ey @@ -287,7 +287,6 @@ /rcx /rcx :testqRegReg /nonEmptyInitialString :jnzLbl8 /rdi :pushqReg - /rdi :incqReg /rdi :pushqReg 1 /rbp :movqImmReg /finalCharacterNotSeparator :jmpLbl8 -- cgit v1.2.3