• Russ Cox's avatar
    6g: simplify trampoline by postponing load. · 5a67ea38
    Russ Cox authored
    	TEXT tramp
    		MOVQ 8(SP), AX
    		ADDQ $40, AX
    		MOVQ AX, 8(SP)
    		JMP oldfunc
    
    	is now
    
    	TEXT tramp
    		ADDQ $40, 8(SP)
    		JMP oldfunc
    
    	and if s/40/0/, then it simplifies to
    
    	TEXT tramp
    		JMP oldfunc
    
    	(the tramp is still needed to satisfy
    	symbol references from other object files)
    
    R=ken
    OCL=28377
    CL=28381
    5a67ea38
Name
Last commit
Last update
..
Makefile Loading commit data...
align.c Loading commit data...
cgen.c Loading commit data...
gen.c Loading commit data...
gg.h Loading commit data...
gsubr.c Loading commit data...
list.c Loading commit data...
obj.c Loading commit data...
opt.h Loading commit data...
peep.c Loading commit data...
reg.c Loading commit data...