[Top][All Lists]

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

[Lightning] jit_allocai is there

From: Paolo Bonzini
Subject: [Lightning] jit_allocai is there
Date: Mon, 06 Nov 2006 10:11:46 +0100
User-agent: Thunderbird (Macintosh/20060909)

Okay, thanks to Ludovic who started the effort, we have a way to declare stack space in lightning.

Documentation will come later.

There is a big caveat against using jit_allocai and jit_pushr/popr together: there is no guarantee that JIT_FP is not the stack pointer. Therefore, on the PPC for example, between a jit_pushr and a jit_popr, the offsets returned by jit_allocai become invalid. It might be the same on the i386; since we were already using EBP to access the arguments I took the easier path, but if we could really remove jit_pushr/popr we could access arguments and stack variables with ESP.


reply via email to

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