[Vm-dev] VM Maker: VMMaker-dtl.416.mcz

commits at source.squeak.org commits at source.squeak.org
Sat May 30 21:03:05 UTC 2020


David T. Lewis uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker-dtl.416.mcz

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

Name: VMMaker-dtl.416
Author: dtl
Time: 30 May 2020, 5:02:53.744 pm
UUID: 3ac9deb8-7142-4269-96bd-a9455f13f32d
Ancestors: VMMaker-dtl.415

Apply fix by K K Subbu for simulator initialization.
allowAccessBeyondSP is initialized in Interpreter but not in InterpreterSimulator. When the simulator is started on Squeak32-3.8g-6548
image, this triggers an undefined reference in EshouldBoundAccessWithinStackFor:withFormat:

=============== Diff against VMMaker-dtl.415 ===============

Item was changed:
  ----- Method: InterpreterSimulator>>test (in category 'testing') -----
  test
  	transcript clear.
  	byteCount := 0.
  	quitBlock := [^ self].
+ 	allowAccessBeyondSP := self useOldPrimitives. "some old images must disable stack bounds check"
  	self internalizeIPandSP.
  	self fetchNextBytecode.
  	[true] whileTrue:
  		[self dispatchOn: currentBytecode in: BytecodeTable.
  		byteCount := byteCount + 1.
  		byteCount \\ 10000 = 0 ifTrue: [self fullDisplay]].
  	self externalizeIPandSP.
  !



More information about the Vm-dev mailing list