Paste: locals

Author: mrjbq7
Mode: factor
Date: Tue, 20 Sep 2011 17:04:46
Plain Text |
( scratchpad ) : foo ( x y -- z ) + ;

( scratchpad ) :: bar ( x y -- z ) x y + ;

( scratchpad ) USE: compiler.tree.debugger

( scratchpad ) \ foo optimized.
[ + ]

( scratchpad ) \ bar optimized.
[ "COMPLEX SHUFFLE" "COMPLEX SHUFFLE" R> + ]

( scratchpad ) \ foo disassemble
00000001115de7b0: 488d1d05000000  lea rbx, [rip+0x5]
00000001115de7b7: e9e49439ff      jmp 0x110977ca0 (+)
00000001115de7bc: 0000            add [rax], al
00000001115de7be: 0000            add [rax], al

( scratchpad ) \ bar disassemble
00000001115ef620: 488d1d05000000  lea rbx, [rip+0x5]
00000001115ef627: e9748638ff      jmp 0x110977ca0 (+)
00000001115ef62c: 0000            add [rax], al
00000001115ef62e: 0000            add [rax], al

New Annotation

Summary:
Author:
Mode:
Body: