}
case Blength:
- printf("Blength\n");
+ POP1;
+ res = jit_emit_call ("Flength", comp.lisp_obj_type, 1, args);
+ PUSH (gcc_jit_lvalue_as_rvalue (res));
break;
case Baref:
printf("Baref\n");
(should (= comp-tests-var1 55)))
+(ert-deftest comp-tests-length ()
+ "Testing length."
+ (defun comp-tests-length-f ()
+ (length '(1 2 3)))
+ (byte-compile #'comp-tests-length-f)
+ (native-compile #'comp-tests-length-f)
+
+ (should (= (comp-tests-length-f) 3)))
+
(ert-deftest comp-tests-ffuncall ()
"Testing varset."
(defun comp-tests-ffuncall-callee-f (x y z)