[Vm-dev] VM Maker: Cog-eem.332.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Nov 29 02:46:29 UTC 2016

Eliot Miranda uploaded a new version of Cog to project VM Maker:

==================== Summary ====================

Name: Cog-eem.332
Author: eem
Time: 28 November 2016, 6:45:50.501077 pm
UUID: f03c7758-477b-4ab1-a087-b34314331352
Ancestors: Cog-nice.331

Fix a comment.

=============== Diff against Cog-nice.331 ===============

Item was changed:
  ----- Method: BochsX64Alien>>postCallArgumentsNumArgs:in: (in category 'execution') -----
  postCallArgumentsNumArgs: numArgs "<Integer>" in: memory "<ByteArray|Bitmap>"
+ 	"Answer an argument vector of the requested size after a Win64 or SysV
- 	"Answer an argument vector of the requested size after a vanilla
  	 ABI call.  On X64 this simply means accessing register arguments.
  	 For compatibility with Cog/Slang we answer unsigned values."
+ 	self assert: numArgs <= 4.
- 	self assert: numArgs <= 4. "Microsoft & System V agree for the first 4 reg args oinly"
  	^((CogX64Compiler isSysV
  				ifTrue: [#(rdi rsi rdx rcx r8 r9)]
  				ifFalse: [#(rcx rdx r8 r9)]) copyFrom: 1 to: numArgs) collect:
  		self perform: getter]!

More information about the Vm-dev mailing list