From 4900a0d4845a67afeed28c7b8a1e3662425c838b Mon Sep 17 00:00:00 2001 From: Drahflow Date: Wed, 4 Sep 2013 11:34:26 +0200 Subject: 16% faster library built time (regex optimization) --- compiler/elymasAsmLib.ey | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/elymasAsmLib.ey') diff --git a/compiler/elymasAsmLib.ey b/compiler/elymasAsmLib.ey index 1c04d4e..a2eba57 100644 --- a/compiler/elymasAsmLib.ey +++ b/compiler/elymasAsmLib.ey @@ -633,13 +633,18 @@ /rdi /ecx :movlMemReg 8 /rdi :addqImm8Reg 16 /rcx :subqImm8Reg + @markFunctionCodeLoop + /rdi /r11 :cmpqMemReg + /codePartNotObject :jbeLbl32 # pointing above the heap /rdi :pushqReg /rcx :pushqReg /rdi /rdi :movqMemReg /markObject :callqLbl32 /rcx :popqReg /rdi :popqReg + + @codePartNotObject /rdi :incqReg /markFunctionCodeLoop :loopLbl8 :retn -- cgit v1.2.3