vm: fashion brigade
parent
442923b561
commit
9f137c66d4
|
@ -56,10 +56,10 @@ struct inline_cache_jit : public jit {
|
|||
|
||||
void emit_check(cell klass);
|
||||
void compile_inline_cache(fixnum index,
|
||||
cell generic_word_,
|
||||
cell methods_,
|
||||
cell cache_entries_,
|
||||
bool tail_call_p);
|
||||
cell generic_word_,
|
||||
cell methods_,
|
||||
cell cache_entries_,
|
||||
bool tail_call_p);
|
||||
};
|
||||
|
||||
void inline_cache_jit::emit_check(cell klass)
|
||||
|
@ -76,10 +76,10 @@ void inline_cache_jit::emit_check(cell klass)
|
|||
/* index: 0 = top of stack, 1 = item underneath, etc
|
||||
cache_entries: array of class/method pairs */
|
||||
void inline_cache_jit::compile_inline_cache(fixnum index,
|
||||
cell generic_word_,
|
||||
cell methods_,
|
||||
cell cache_entries_,
|
||||
bool tail_call_p)
|
||||
cell generic_word_,
|
||||
cell methods_,
|
||||
cell cache_entries_,
|
||||
bool tail_call_p)
|
||||
{
|
||||
data_root<word> generic_word(generic_word_,parent);
|
||||
data_root<array> methods(methods_,parent);
|
||||
|
|
|
@ -240,7 +240,7 @@ void quotation_jit::iterate_quotation()
|
|||
push(obj.value());
|
||||
break;
|
||||
case QUOTATION_TYPE:
|
||||
/* 'if' preceeded by two literal quotations (this is why if and ? are
|
||||
/* 'if' preceded by two literal quotations (this is why if and ? are
|
||||
mutually recursive in the library, but both still work) */
|
||||
if(fast_if_p(i,length))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue