diff options
| author | Stefan Monnier | 2011-03-16 16:08:39 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-03-16 16:08:39 -0400 |
| commit | ca1055060d5793e368c1a165c412944d6800c3a6 (patch) | |
| tree | 81c850f1a6fdee4a2faea041d72212569bc6ff4f /src/bytecode.c | |
| parent | 2663659f1f1a8566cf0f602969f85965a398f618 (diff) | |
| download | emacs-ca1055060d5793e368c1a165c412944d6800c3a6.tar.gz emacs-ca1055060d5793e368c1a165c412944d6800c3a6.zip | |
Remove bytecomp- prefix, plus misc changes.
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Make it work to
inline lexbind interpreted functions into lexbind code.
(bytedecomp-bytes): Not a dynamic var any more.
(disassemble-offset): Get the bytes via an argument instead.
(byte-decompile-bytecode-1): Use push.
* lisp/emacs-lisp/bytecomp.el: Remove the bytecomp- prefix now that we use
lexical-binding.
(byte-compile-outbuffer): Rename from bytecomp-outbuffer.
* lisp/emacs-lisp/cl-macs.el (load-time-value):
* lisp/emacs-lisp/cl.el (cl-compiling-file): Adjust to new name.
* lisp/emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
Add byte-code-function-p.
(pcase--u1): Remove left-over code from early development.
Fix case of variable shadowing in guards and predicates.
(pcase--u1): Add a new `let' pattern.
* src/image.c (parse_image_spec): Use Ffunctionp.
* src/lisp.h: Declare Ffunctionp.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index b19f9687cdc..ba3c012bd1a 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -939,27 +939,27 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 939 | save_restriction_save ()); | 939 | save_restriction_save ()); |
| 940 | break; | 940 | break; |
| 941 | 941 | ||
| 942 | case Bcatch: | 942 | case Bcatch: /* FIXME: ill-suited for lexbind */ |
| 943 | { | 943 | { |
| 944 | Lisp_Object v1; | 944 | Lisp_Object v1; |
| 945 | BEFORE_POTENTIAL_GC (); | 945 | BEFORE_POTENTIAL_GC (); |
| 946 | v1 = POP; | 946 | v1 = POP; |
| 947 | TOP = internal_catch (TOP, eval_sub, v1); /* FIXME: lexbind */ | 947 | TOP = internal_catch (TOP, eval_sub, v1); |
| 948 | AFTER_POTENTIAL_GC (); | 948 | AFTER_POTENTIAL_GC (); |
| 949 | break; | 949 | break; |
| 950 | } | 950 | } |
| 951 | 951 | ||
| 952 | case Bunwind_protect: | 952 | case Bunwind_protect: /* FIXME: avoid closure for lexbind */ |
| 953 | record_unwind_protect (Fprogn, POP); /* FIXME: lexbind */ | 953 | record_unwind_protect (Fprogn, POP); |
| 954 | break; | 954 | break; |
| 955 | 955 | ||
| 956 | case Bcondition_case: | 956 | case Bcondition_case: /* FIXME: ill-suited for lexbind */ |
| 957 | { | 957 | { |
| 958 | Lisp_Object handlers, body; | 958 | Lisp_Object handlers, body; |
| 959 | handlers = POP; | 959 | handlers = POP; |
| 960 | body = POP; | 960 | body = POP; |
| 961 | BEFORE_POTENTIAL_GC (); | 961 | BEFORE_POTENTIAL_GC (); |
| 962 | TOP = internal_lisp_condition_case (TOP, body, handlers); /* FIXME: lexbind */ | 962 | TOP = internal_lisp_condition_case (TOP, body, handlers); |
| 963 | AFTER_POTENTIAL_GC (); | 963 | AFTER_POTENTIAL_GC (); |
| 964 | break; | 964 | break; |
| 965 | } | 965 | } |