[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 36/36: remove uses of define-inlinable
From: |
Robin Templeton |
Subject: |
[Guile-commits] 36/36: remove uses of define-inlinable |
Date: |
Sun, 26 Jan 2025 17:49:18 -0500 (EST) |
bpt pushed a commit to branch wip-elisp-rebased
in repository guile.
commit 31baf3ef4626ff517c579e6a87b96ea80549ade4
Author: Robin Templeton <robin@terpri.org>
AuthorDate: Fri Dec 13 22:32:16 2024 -0500
remove uses of define-inlinable
* module/language/elisp/runtime.scm (ensure-present!, ensure-desc!)
(schemify): Remove use of `define-inlinable'.
---
module/language/elisp/runtime.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/module/language/elisp/runtime.scm
b/module/language/elisp/runtime.scm
index bf5b36929..cf7524742 100644
--- a/module/language/elisp/runtime.scm
+++ b/module/language/elisp/runtime.scm
@@ -116,13 +116,13 @@
thunk
(lambda () (vector-set! x 4 old)))))
-(define-inlinable (ensure-present! module sym thunk)
+(define (ensure-present! module sym thunk)
(or (module-local-variable module sym)
(let ((variable (make-variable (thunk))))
(module-add! module sym variable)
variable)))
-(define-inlinable (ensure-desc! module sym)
+(define (ensure-desc! module sym)
(ensure-present! module
sym
(lambda ()
@@ -130,7 +130,7 @@
(vector-set! x 0 sym)
x))))
-(define-inlinable (schemify symbol)
+(define (schemify symbol)
(case symbol
((#nil) nil_)
((#t) t_)
- [Guile-commits] branch wip-elisp-rebased updated (ece0f4e78 -> 31baf3ef4), Robin Templeton, 2025/01/26
- [Guile-commits] 09/36: symbol default value procedures, Robin Templeton, 2025/01/26
- [Guile-commits] 20/36: use defsubst, Robin Templeton, 2025/01/26
- [Guile-commits] 33/36: temporarily disable elisp exception tests, Robin Templeton, 2025/01/26
- [Guile-commits] 36/36: remove uses of define-inlinable,
Robin Templeton <=
- [Guile-commits] 02/36: check symbols constants uninterned, Robin Templeton, 2025/01/26
- [Guile-commits] 15/36: compile-elisp fn, Robin Templeton, 2025/01/26
- [Guile-commits] 31/36: update cross-compilation test, Robin Templeton, 2025/01/26
- [Guile-commits] 17/36: defconst, defvar: proclaim special at compile-time, Robin Templeton, 2025/01/26
- [Guile-commits] 13/36: restore special operator handling, Robin Templeton, 2025/01/26
- [Guile-commits] 12/36: define-module for elisp special modules, Robin Templeton, 2025/01/26
- [Guile-commits] 04/36: guile-private-ref, Robin Templeton, 2025/01/26
- [Guile-commits] 11/36: constant-interning fix, Robin Templeton, 2025/01/26
- [Guile-commits] 23/36: degenerate let forms, Robin Templeton, 2025/01/26
- [Guile-commits] 01/36: intern arbitrary constants, Robin Templeton, 2025/01/26