VM Maker: VMMaker.oscog-eem.2191.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker: VMMaker.oscog-eem.2191.mcz

commits-2
 
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2191.mcz

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

Name: VMMaker.oscog-eem.2191
Author: eem
Time: 12 April 2017, 9:44:27.279512 am
UUID: d1e0c31d-4650-4976-b685-7746035e025e
Ancestors: VMMaker.oscog-eem.2190

SistaVI Cogit:
Fix a slip in genExtEnsureAllocatableSlots; get the branch sense right.

Implement glue to access cogCodeZoneThreshold & needGCFlagAddress.

Fix receiver for integerObjectOf: in primitiveVMParameter.

=============== Diff against VMMaker.oscog-eem.2190 ===============

Item was added:
+ ----- Method: CoInterpreter>>needGCFlagAddress (in category 'accessing') -----
+ needGCFlagAddress
+ <doNotGenerate>
+ ^objectMemory needGCFlagAddress!

Item was changed:
  ----- Method: SimpleStackBasedCogit>>genExtEnsureAllocatableSlots (in category 'bytecode generators') -----
  genExtEnsureAllocatableSlots
  "SistaV1 * 236 11101100 iiiiiiii Ensure Allocatable Slots (+ Extend A * 256)"
  | slots skip |
  slots := (extA bitShift: 8) + byte1.
  extA := 0.
  self
  MoveAw: objectMemory freeStartAddress R: TempReg;
  CmpCq: objectMemory getScavengeThreshold - (objectMemory bytesPerOop * slots) R: TempReg.
+ skip := self JumpBelow: 0.
- skip := self JumpAboveOrEqual: 0.
  objectRepresentation genSetGCNeeded.
  self CallRT: ceCheckForInterruptTrampoline.
  skip jmpTarget: self Label.
  self annotateBytecode: skip getJmpTarget.
  ^0!

Item was added:
+ ----- Method: SistaCogit>>getCogCodeZoneThreshold (in category 'accessing') -----
+ getCogCodeZoneThreshold
+ <doNotGenerate>
+ ^methodZone getCogCodeZoneThreshold!

Item was changed:
  ----- Method: StackInterpreterPrimitives>>primitiveVMParameter (in category 'system control primitives') -----
(excessive size, no diff calculated)