How does #primitiveChangeClassTo: for LargePositiveInteger work in WriteBarrier

Yar Hwee Boon hboon at motionobj.com
Fri Dec 31 05:21:16 UTC 2004


Storing a LargePositiveInteger in GOODS with WriteBarrier works, whereas  
when I try to step through the appropriate code in WriteBarrier, the  
primitive fails. Running the following code in a workspace gets the same  
error. Anyone knows why? Thanks.

========
x := 123456789012.
wb := WriteBarrier new.
x primitiveChangeClassTo: (wb barrierClassForClass: x class) basicNew
========

-- 
Regards
HweeBoon
MotionObj



More information about the Squeak-dev mailing list