VM Maker: VMMaker.oscog-eem.130.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.130.mcz

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

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

Name: VMMaker.oscog-eem.130
Author: eem
Time: 3 October 2011, 2:13:49.813 pm
UUID: 1460ba33-1ef5-45e4-a761-45df38a32de5
Ancestors: VMMaker.oscog-eem.129

Slang strikes again.  #interpret => #interpret asSymbol.

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

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 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]
- ^self cCode: [(self addressOf: #interpret) 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 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]
- ^self cCode: [(self addressOf: #primitiveFail) asUnsignedInteger]
  inSmalltalk: [heapBase]!