]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/cpu-x86.cpp
io.streams.256color: faster by caching styles
[factor.git] / vm / cpu-x86.cpp
index 5afac917e9b5b103af0694e979ecec857f63472c..c7169d26fd78da25120650321d616c8bf061f339 100644 (file)
@@ -70,8 +70,7 @@ void factor_vm::dispatch_resumable_signal(cell* sp, cell* pc, cell handler) {
   *sp = new_sp;
   *(cell*)new_sp = *pc;
 
-  tagged<word> handler_word = tagged<word>(special_objects[index]);
-  *pc = (cell)handler_word->entry_point;
+  *pc = untag<word>(special_objects[index])->entry_point;
 }
 
 void factor_vm::dispatch_signal_handler(cell* sp, cell* pc, cell handler) {