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

commits at source.squeak.org commits at source.squeak.org
Mon Oct 3 21:21:58 UTC 2011


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

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

Name: VMMaker.oscog-eem.131
Author: eem
Time: 3 October 2011, 2:20:08.437 pm
UUID: 7a963469-105d-4374-9162-62c6dbd745f4
Ancestors: VMMaker.oscog-eem.130

Make a couple of comments more honest.

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

Item was changed:
  ----- Method: CoInterpreter>>interpretAddress (in category 'trampoline support') -----
  interpretAddress
  	"This is used for asserts that check that inline cache editing results in valid addresses.
+ 	 In the C VM interpret is presumed to come before any primitives and so it constitutes
- 	 In the C VM primitiveFail is presumed to come before any primitives and so it constitutes
  	 the lowest address in C code that machine code should be linked.  In the simulator
  	 we just answer something not low."
  	<api>
  	<returnTypeC: #usqInt>
  	^self cCode: [(self addressOf: #interpret asSymbol) asUnsignedInteger]
  		inSmalltalk: [heapBase]!

Item was changed:
  ----- Method: CoInterpreter>>primitiveFailAddress (in category 'trampoline support') -----
  primitiveFailAddress
  	"This is used for asserts that check that inline cache editing results in valid addresses.
+ 	 In the C VM interpret is presumed to come before any primitives and so it constitutes
+ 	 the lowest address in C code that machine code should be linked, but optimizing
+ 	 compilers change things around.  In the simulator we just answer something not low."
- 	 In the C VM primitiveFail is presumed to come before any primitives and so it constitutes
- 	 the lowest address in C code that machine code should be linked.  In the simulator
- 	 we just answer something not low."
  	<api>
  	<returnTypeC: #usqInt>
  	^self cCode: [(self addressOf: #primitiveFail asSymbol) asUnsignedInteger]
  		inSmalltalk: [heapBase]!



More information about the Vm-dev mailing list