asm/AJStdCallCallInfo.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 15 Dec 2015 23:18:02 +0000
changeset 3 483729eb4432
child 23 d2d9a2d4d6bf
permissions -rw-r--r--
Initial port ot Igor Stasenko's AsmJit

"{ Package: 'jv:dragonfly/asm' }"

"{ NameSpace: Smalltalk }"

AJCallInfo subclass:#AJStdCallCallInfo
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'AsmJit-StackManagement'
!

AJStdCallCallInfo comment:'stdcall calling convention.
Used on windows. No need for stack cleanup after call. No need to align stack before making call.'
!

!AJStdCallCallInfo methodsFor:'emitting code'!

emitAlignment
    "do nothing"
    
    "stdcall calling convention requires no stack alignment, no stack cleanup after call"
!

emitAlignmentIfNeeded
    "do nothing"
    
    "stdcall calling convention requires no stack alignment, no stack cleanup after call"
! !