help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re : [Help-smalltalk] How to convert a Cobject in C


From: Paolo Bonzini
Subject: Re: Re : [Help-smalltalk] How to convert a Cobject in C
Date: Tue, 24 Aug 2010 16:57:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5

On 08/24/2010 04:34 PM, Mathieu Suen wrote:
Paolo help me to find the bug.
It was a faulty declaration of the jit_local_state.

But now there is conflit beween the jit_local_state from gst and the one from
gnu lightning.
For example in i386 arch the gnu lightning jit_local_state is:

struct jit_local_state {
   int    framesize;
   int    argssize;
   int    alloca_offset;
   int    alloca_slack;
};

will in gst it is:

struct jit_local_state {
   int    framesize;
   int    argssize;
}

This is not in gst, it is in your version of gst.

If it is so tied to lightning, it should just include lightning.h and not meddle with these problems.

Alternatively, use

struct _jit_stack {
    jit_insn *codeBuffer;
    jit_state state;
}

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]