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

commits at source.squeak.org commits at source.squeak.org
Thu Mar 27 00:23:33 UTC 2014


Eliot Miranda uploaded a new version of Cog to project VM Maker:
http://source.squeak.org/VMMaker/Cog-eem.146.mcz

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

Name: Cog-eem.146
Author: eem
Time: 26 March 2014, 5:23:18.626 pm
UUID: a5b590b4-e4d5-4c37-bdd6-f537f1b50e50
Ancestors: Cog-eem.145

Spur bootstrap:
growMemoryByAtLeast: should signal OutOfMemory when it fails.

=============== Diff against Cog-eem.145 ===============

Item was changed:
  ----- Method: SpurBootstrap class>>SmalltalkImagePROTOTYPEgrowMemoryByAtLeast: (in category 'method prototypes') -----
  SmalltalkImagePROTOTYPEgrowMemoryByAtLeast: numBytes
  	"Grow memory by at least the requested number of bytes.
+ 	 Primitive.  Essential. Fail if no memory is available."
- 	 Fail if no memory is available."
  	<primitive: 180>
+ 	(numBytes isInteger and: [numBytes > 0]) ifTrue:
+ 		[OutOfMemory signal].
  	^self primitiveFailed!

Item was changed:
  ----- Method: SpurBootstrap class>>SystemDictionaryPROTOTYPEgrowMemoryByAtLeast: (in category 'method prototypes') -----
  SystemDictionaryPROTOTYPEgrowMemoryByAtLeast: numBytes
  	"Grow memory by at least the requested number of bytes.
+ 	 Primitive.  Fail if no memory is available.  Essential."
- 	 Fail if no memory is available."
  	<primitive: 180>
+ 	^(numBytes isInteger and: [numBytes > 0])
+ 		ifTrue: [OutOfMemory signal]
+ 		ifFalse: [self primitiveFailed]!
- 	^self primitiveFailed!



More information about the Vm-dev mailing list