Still playing with Native Boost assembler.
This code instantly crashes Pharo 1.4 with NB installed:
TestAssem swapDoubFirst: 1.0 withSecond: 2.0.
TestAssem>>swapDoubFirst: r1 withSecond: r2
^ NBFFICallout cdecl: #( double ( double r1, double r2 ))
emitCall: [:gen | | asm proxy
Most probably it generates invalid opcode.
Need to check that with disassembler.
On 22 July 2012 05:27, Lawson English wrote:
> Still playing with Native Boost assembler.
>
> This code instantly crashes Pharo 1.4 with NB installed:
>
> TestAssem swapDoubFirst: 1.0 withSecond: 2.0.
>
>
>
> TestAss