Skip to content

Commit

Permalink
vm: fashion brigade
Browse files Browse the repository at this point in the history
  • Loading branch information
jckarter committed Dec 21, 2011
1 parent 05bf24c commit 7ed8569
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions vm/inline_cache.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion vm/quotations.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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))
{ {
Expand Down

0 comments on commit 7ed8569

Please sign in to comment.