/* * jit-apply-alpha.h - Special definitions for alpha function application. * * Copyright (C) 2006 Southern Storm Software, Pty Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _JIT_APPLY_ALPHA_H #define _JIT_APPLY_ALPHA_H /* * The maximum number of bytes that are needed to represent a closure, * and the alignment to use for the closure. */ #define jit_closure_size (32 /* instructions */ * 4 /* bytes per instruction */) #define jit_closure_align 32 /* * The number of bytes that are needed for a redirector stub. * This includes any extra bytes that are needed for alignment. */ #define jit_redirector_size (100 /* instructions */ * 4 /* bytes per instruction */) /* * We should pad unused code space with NOP's. */ #define jit_should_pad 1 #endif /* _JIT_APPLY_ALPHA_H */