[Vm-dev] Integer overflow with BitBlt rule 20 and depth 32

David T. Lewis lewis at mail.msen.com
Sat Oct 24 17:00:29 UTC 2009


On Sat, Oct 24, 2009 at 10:40:17AM -0300, Juan Vuletich wrote:
> 
> What worries me a bit is the other changes I needed to do to be able to 
> run the Smalltalk BitBlt simulation and to do the translation. These are:
> BitBltSimulator >> #oopForPointer:   "May be harmless"
> CArrayAccessor >> #long32At:         "Why is this needed?"
> CArrayAccessor >> #long32At:put:      "Why is this needed?"

I am just guessing here, but I think that BitBltSimulator expects to
be used with an interpreter simulator, so perhaps if you initialize it
with a simulator there will be no need to add these methods.

  sim := BitBltSimulator new setInterpreter: InterpreterSimulator new

Dave



More information about the Vm-dev mailing list