[Vm-dev] How to convert a Byte to an integer in VMMaker
mathk.sue at gmail.com
Wed Aug 15 12:17:58 UTC 2007
I am in VMMaker and I want to convert the current bytecode to the
How could I do that?
For the time being I have write the following instruction:
closSize := self positive32BitIntegerFor: currentBytecode.
"The following may cause GC!"
self success: (self sufficientSpaceToInstantiate: (self splObj:
ClosureEnvObject) indexableSize: closSize).
successFlag ifTrue: [
self storePointer: 4
withValue:(self instantiateClass: (self splObj: ClosureEnvObject)
But it don't seems to work
Thanks for helping
More information about the Vm-dev