vm: fashion brigade

db4
Joe Groff 2011-12-21 13:25:05 -08:00
parent 442923b561
commit 9f137c66d4
2 changed files with 9 additions and 9 deletions

View File

@ -56,10 +56,10 @@ struct inline_cache_jit : public jit {
void emit_check(cell klass); void emit_check(cell klass);
void compile_inline_cache(fixnum index, void compile_inline_cache(fixnum index,
cell generic_word_, cell generic_word_,
cell methods_, cell methods_,
cell cache_entries_, cell cache_entries_,
bool tail_call_p); bool tail_call_p);
}; };
void inline_cache_jit::emit_check(cell klass) 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 /* index: 0 = top of stack, 1 = item underneath, etc
cache_entries: array of class/method pairs */ cache_entries: array of class/method pairs */
void inline_cache_jit::compile_inline_cache(fixnum index, void inline_cache_jit::compile_inline_cache(fixnum index,
cell generic_word_, cell generic_word_,
cell methods_, cell methods_,
cell cache_entries_, cell cache_entries_,
bool tail_call_p) bool tail_call_p)
{ {
data_root<word> generic_word(generic_word_,parent); data_root<word> generic_word(generic_word_,parent);
data_root<array> methods(methods_,parent); data_root<array> methods(methods_,parent);

View File

@ -240,7 +240,7 @@ void quotation_jit::iterate_quotation()
push(obj.value()); push(obj.value());
break; break;
case QUOTATION_TYPE: 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) */ mutually recursive in the library, but both still work) */
if(fast_if_p(i,length)) if(fast_if_p(i,length))
{ {