[Vm-dev] VM Maker: VMMaker.oscog-eem.2692.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 31 01:29:14 UTC 2020


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

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

Name: VMMaker.oscog-eem.2692
Author: eem
Time: 30 January 2020, 5:29:02.126339 pm
UUID: 63be09a4-63a7-465c-8f34-48d50ba631f8
Ancestors: VMMaker.oscog-eem.2691

Cogit: fix a regression in initializeCodeZoneFrom:upTo: when simulating.

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

Item was changed:
  ----- Method: Cogit>>initializeCodeZoneFrom:upTo: (in category 'initialization') -----
  initializeCodeZoneFrom: startAddress upTo: endAddress
  	<api>
  	self initializeBackend.
  	backEnd stopsFrom: startAddress to: endAddress - 1.
  	self sqMakeMemoryExecutableFrom: startAddress
  		To: endAddress
  		CodeToDataDelta: (self addressOf: codeToDataDelta put: [:v| codeToDataDelta := v]).
  	self cCode: '' inSmalltalk:
+ 		[self initializeProcessor.
+ 		 backEnd stopsFrom: 0 to: guardPageSize - 1].
- 		[backEnd stopsFrom: 0 to: guardPageSize - 1.
- 		 self initializeProcessor].
  	codeBase := methodZoneBase := startAddress.
  	minValidCallAddress := (codeBase min: coInterpreter interpretAddress)
  								min: coInterpreter primitiveFailAddress.
  	methodZone manageFrom: methodZoneBase to: endAddress.
  	self assertValidDualZone.
  	self maybeGenerateCheckFeatures.
  	self maybeGenerateCheckLZCNT.
  	self maybeGenerateICacheFlush.
  	self generateVMOwnerLockFunctions.
  	self genGetLeafCallStackPointer.
  	self generateStackPointerCapture.
  	self generateTrampolines.
  	self computeEntryOffsets.
  	self computeFullBlockEntryOffsets.
  	self generateClosedPICPrototype.
  	self alignMethodZoneBase.
  	"repeat so that now the methodZone ignores the generated run-time"
  	methodZone manageFrom: methodZoneBase to: endAddress.
  	"N.B. this is assumed to be the last thing done in initialization; see Cogit>>initialized"
  	self generateOpenPICPrototype!



More information about the Vm-dev mailing list