[Vm-dev] VM Maker: VMMaker-jcg.182.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Tue Jun 15 00:17:42 UTC 2010


Joshua Gargus uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker-jcg.182.mcz

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

Name: VMMaker-jcg.182
Author: jcg
Time: 14 June 2010, 3:17:32 am
UUID: a90f8eaa-cb37-4f2d-8b25-93240caf0823
Ancestors: VMMaker-dtl.181

Fix stack-imbalance in FFIPlugin>>primitiveDestroyManualSurface.

=============== Diff against VMMaker-dtl.181 ===============

Item was changed:
  ----- Method: FFIPlugin>>primitiveDestroyManualSurface (in category 'primitives - surfaces') -----
  primitiveDestroyManualSurface
  	"arguments: name(type, stack offset)
  		surfaceID(Integer, 0)"
  	| surfaceID result |
  	self export: true.
  	
  	interpreterProxy methodArgumentCount == 1 ifFalse: [^interpreterProxy primitiveFail].
  	surfaceID := interpreterProxy stackIntegerValue: 0.
  	interpreterProxy failed ifTrue: [^nil].
  	result := self destroyManualSurface: surfaceID.
  	result = 0 ifTrue: [^interpreterProxy primitiveFail].
+ 	^interpreterProxy pop: 1
- 	^interpreterProxy pop: 2
  	!



More information about the Vm-dev mailing list