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

commits at source.squeak.org commits at source.squeak.org
Wed Aug 13 13:32:49 UTC 2014


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

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

Name: Cog-eem.189
Author: eem
Time: 13 August 2014, 6:32:31.262 am
UUID: 97a3ff50-653d-4397-a1be-4e8faf1395a8
Ancestors: Cog-eem.188

tweak

=============== Diff against Cog-eem.188 ===============

Item was changed:
  ----- Method: SpurBootstrap class>>BehaviorPROTOTYPEbasicNew (in category 'method prototypes') -----
  BehaviorPROTOTYPEbasicNew
  	"Primitive. Answer an instance of the receiver (which is a class) with no 
  	 indexable variables. Fail if the class is indexable. Essential. See Object 
  	 documentation whatIsAPrimitive.
  	
+ 	 If the primitive fails because space is low then the scavenger will run
+ 	 before the method is activated.  Check that space was low and retry
+ 	 via handleFailingBasicNew if so."
- 	 If the primitive fails because space is low then the scavenger
- 	 will run before the method is activated.  Check that space was low and
- 	 retry via handleFailingBasicNew if so."
  
  	<primitive: 70 error: ec>
  	ec == #'insufficient object memory' ifTrue:
  		[^self handleFailingBasicNew].
  	self isVariable ifTrue: [^self basicNew: 0].
  	self primitiveFailed!



More information about the Vm-dev mailing list