-/* Compile elisp into native code.
+/* Compile Emacs Lisp into native code.
Copyright (C) 2019-2021 Free Software Foundation, Inc.
Author: Andrea Corallo <akrl@sdf.org>
return;
}
- /* This is to have deferred compilaiton able to compile comp
+ /* This is to have deferred compilation able to compile comp
dependencies breaking circularity. */
if (!NILP (Ffeaturep (Qcomp, Qnil)))
{
/* In case another load of the same CU is active on the stack
all ephemeral data is hold by that frame. Re-writing
'data_ephemeral_vec' would be not only a waste of cycles but
- more importanly would lead to crashed if the contained data
+ more importantly would lead to crashed if the contained data
is not cons hashed. */
if (!recursive_load)
{
(comp-tests-throw-f 3)))))
(comp-deftest gc ()
- "Try to do some longer computation to let the gc kick in."
+ "Try to do some longer computation to let the GC kick in."
(dotimes (_ 100000)
(comp-tests-cons-cdr-f 3))
(should (= (comp-tests-cons-cdr-f 3) 3)))
(should (string= (comp-tests-string-trim-f "dsaf ") "dsaf")))
(comp-deftest trampoline-removal ()
- ;; This tests that we can can call primitives with no dedicated bytecode.
+ ;; This tests that we can call primitives with no dedicated bytecode.
;; At speed >= 2 the trampoline will not be used.
(should (hash-table-p (comp-tests-trampoline-removal-f))))
(should (string= " ➊" (comp-test-45342-f 1))))
(comp-deftest assume-double-neg ()
- "In fwprop assumtions (not (not (member x))) /= (member x)."
+ "In fwprop assumptions (not (not (member x))) /= (member x)."
(should-not (comp-test-assume-double-neg-f "bar" "foo")))
(comp-deftest assume-in-loop-1 ()
(defvar comp-test-primitive-advice)
(comp-deftest primitive-advice ()
- "Test effectiveness of primitive advicing."
+ "Test effectiveness of primitive advising."
(let (comp-test-primitive-advice
(f (lambda (&rest args)
(setq comp-test-primitive-advice args))))