]> gitweb.factorcode.org Git - factor.git/commitdiff
vm: rename emit_quot to emit_quotation.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Jul 2015 18:21:20 +0000 (11:21 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Jul 2015 18:21:20 +0000 (11:21 -0700)
vm/quotations.cpp
vm/quotations.hpp

index 88b0d227953316d99b9c8ace72ac22c46d0c7bc1..df7ce254df68cedf2faa6df2e40422c705f0bf9d 100644 (file)
@@ -156,7 +156,7 @@ void quotation_jit::emit_epilog(bool safepoint, bool stack_frame) {
 }
 
 /* Allocates memory conditionally */
-void quotation_jit::emit_quot(cell quot_) {
+void quotation_jit::emit_quotation(cell quot_) {
   data_root<quotation> quot(quot_, parent);
 
   array* elements = untag<array>(quot->array);
@@ -236,24 +236,24 @@ void quotation_jit::iterate_quotation() {
           emit_epilog(safepoint, stack_frame);
           tail_call = true;
 
-          emit_quot(array_nth(elements.untagged(), i));
-          emit_quot(array_nth(elements.untagged(), i + 1));
+          emit_quotation(array_nth(elements.untagged(), i));
+          emit_quotation(array_nth(elements.untagged(), i + 1));
           emit(parent->special_objects[JIT_IF]);
 
           i += 2;
         } /* dip */
         else if (fast_dip_p(i, length)) {
-          emit_quot(obj.value());
+          emit_quotation(obj.value());
           emit(parent->special_objects[JIT_DIP]);
           i++;
         } /* 2dip */
         else if (fast_2dip_p(i, length)) {
-          emit_quot(obj.value());
+          emit_quotation(obj.value());
           emit(parent->special_objects[JIT_2DIP]);
           i++;
         } /* 3dip */
         else if (fast_3dip_p(i, length)) {
-          emit_quot(obj.value());
+          emit_quotation(obj.value());
           emit(parent->special_objects[JIT_3DIP]);
           i++;
         } else
index f22c88377c65235a6aed799d2f23101977c84973..3f5de45f1d78e3d2647ccdd6b2f218031793cc5f 100644 (file)
@@ -15,7 +15,7 @@ struct quotation_jit : public jit {
   void emit_mega_cache_lookup(cell methods, fixnum index, cell cache);
   bool primitive_call_p(cell i, cell length);
   bool trivial_quotation_p(array* elements);
-  void emit_quot(cell quot);
+  void emit_quotation(cell quot);
   void emit_prolog(bool safepoint, bool stack_frame);
   void emit_epilog(bool safepoint, bool stack_frame);
   bool fast_if_p(cell i, cell length);