[squeak-dev] The Trunk: System-dtl.685.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Sep 7 20:59:17 UTC 2014


David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.685.mcz

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

Name: System-dtl.685
Author: dtl
Time: 7 September 2014, 4:58:15.377 pm
UUID: 55eba121-23d3-41cc-9525-52554adac2ec
Ancestors: System-eem.684

Smalltalk isRunningCog should answer false for an interpreter VM

=============== Diff against System-eem.684 ===============

Item was changed:
  ----- Method: SmalltalkImage>>isRunningCog (in category 'system attributes') -----
  isRunningCog
  	"Answers if we're running on a Cog VM (JIT or StackInterpreter)"
  
+ 	^( [self vmParameterAt: 42] on: Error do: [] )
- 	^(self vmParameterAt: 42)
  		ifNil: [false]
  		ifNotNil: [:numStackPages| numStackPages > 0]!



More information about the Squeak-dev mailing list