Update of /cvsroot/squeak/squeak/platforms/Mac OS/vm/specialChangeSets
In directory sc8-pr-cvs1:/tmp/cvs-serv30441/squeak/platforms/Mac OS/vm/specialChangeSets
Added Files:
ArraysToGlobalStruct-JMM.1.cs
Log Message:
3.6.0b2 additional changesets for Mac VM performance reasons
--- NEW FILE: ArraysToGlobalStruct-JMM.1.cs ---
'From Squeak3.6beta of ''4 July 2003'' [latest update: #5373] on 8 August 2003 at 7:48:15 pm'!
!CCodeGeneratorGlobalStructure methodsFor: 'C code generator' stamp: 'JMM 8/8/2003 19:08'!
placeInStructure: var
"See if we should put this array into a structure
This has hard coded vars, should go somewhere else!!
The variables listed are hardcoded as C in the interpreter thus they don't get resolved via TVariableNode logic
Also Lets ignore variables that have special definitions that require initialization,
and the function def which has problems"
| check |
check _ variableDeclarations at: var ifAbsent: [''].
(check includes: $=) ifTrue: [^false].
(check includes: $() ifTrue: [^false].
(#( 'showSurfaceFn' 'memory' 'extraVMMemory' 'interpreterProxy') includes: var) ifTrue: [^false].
^true.
! !
|