A understanding question: In Bitmap #decompress:fromByteArray:at:
primitiveFailed shouldn't be : primitiveFail ? if no, where is define primitiveFailed ( in VM code source ), and what the use of it ( personal understanding )
JB
On 06.11.2009, at 14:34, arnaud Jean Baptiste wrote:
A understanding question: In Bitmap #decompress:fromByteArray:at:
primitiveFailed shouldn't be : primitiveFail ? if no, where is define primitiveFailed ( in VM code source ), and what the use of it ( personal understanding )
Load VMMaker to see the VM source code:
primitiveFail successFlag := false.
It causes the primitive to fail.
- Bert -
thank you, but is not exactly that i want to know
i just want to know if the call primitiveFailed in #decompress:fromByteArray:at: question (In class bitmap) is correct or if it must be call primitiveFail( in replacement ).
because after generating vm with vmmaker, that always name primitivesFailed() and then i don't find any method when i browse the source code (the C code)
On Nov 6, 2009, at 4:31 PM, Bert Freudenberg wrote:
On 06.11.2009, at 14:34, arnaud Jean Baptiste wrote:
A understanding question: In Bitmap #decompress:fromByteArray:at:
primitiveFailed shouldn't be : primitiveFail ? if no, where is define primitiveFailed ( in VM code source ), and what the use of it ( personal understanding )
Load VMMaker to see the VM source code:
primitiveFail successFlag := false.
It causes the primitive to fail.
- Bert -
It is primitiveFail in the Trunk image, and must be. The method has not been touched since 2001.
- Bert -
On 06.11.2009, at 17:17, arnaud Jean Baptiste wrote:
thank you, but is not exactly that i want to know
i just want to know if the call primitiveFailed in #decompress:fromByteArray:at: question (In class bitmap) is correct or if it must be call primitiveFail( in replacement ).
because after generating vm with vmmaker, that always name primitivesFailed() and then i don't find any method when i browse the source code (the C code)
On Nov 6, 2009, at 4:31 PM, Bert Freudenberg wrote:
On 06.11.2009, at 14:34, arnaud Jean Baptiste wrote:
A understanding question: In Bitmap #decompress:fromByteArray:at:
primitiveFailed shouldn't be : primitiveFail ? if no, where is define primitiveFailed ( in VM code source ), and what the use of it ( personal understanding )
Load VMMaker to see the VM source code:
primitiveFail successFlag := false.
It causes the primitive to fail.
- Bert -
ok thk a lot.
On Nov 6, 2009, at 5:31 PM, Bert Freudenberg wrote:
It is primitiveFail in the Trunk image, and must be. The method has not been touched since 2001.
- Bert -
On 06.11.2009, at 17:17, arnaud Jean Baptiste wrote:
thank you, but is not exactly that i want to know
i just want to know if the call primitiveFailed in #decompress:fromByteArray:at: question (In class bitmap) is correct or if it must be call primitiveFail( in replacement ).
because after generating vm with vmmaker, that always name primitivesFailed() and then i don't find any method when i browse the source code (the C code)
On Nov 6, 2009, at 4:31 PM, Bert Freudenberg wrote:
On 06.11.2009, at 14:34, arnaud Jean Baptiste wrote:
A understanding question: In Bitmap #decompress:fromByteArray:at:
primitiveFailed shouldn't be : primitiveFail ? if no, where is define primitiveFailed ( in VM code source ), and what the use of it ( personal understanding )
Load VMMaker to see the VM source code:
primitiveFail successFlag := false.
It causes the primitive to fail.
- Bert -
vm-dev@lists.squeakfoundation.org