diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-03-22 20:53:36 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-03-22 20:53:36 -0400 |
commit | 29a4dcb06d4bd78db96d6305f7434ce464aff8a4 (patch) | |
tree | 483a56b4db104ebab3874abf5b9017c43662d2f4 /lisp/emacs-lisp/edebug.el | |
parent | cafdcef32d55cbb44389d7e322e7f973cbb72dfd (diff) | |
download | emacs-29a4dcb06d4bd78db96d6305f7434ce464aff8a4.tar.gz emacs-29a4dcb06d4bd78db96d6305f7434ce464aff8a4.tar.bz2 emacs-29a4dcb06d4bd78db96d6305f7434ce464aff8a4.zip |
Clean up left over Emacs-18/19 code, inline byte-code-functions.
* lisp/emacs-lisp/byte-opt.el (byte-inline-lapcode): Move to bytecomp.el.
(byte-compile-inline-expand): Inline all bytecompiled functions.
Unify the inlining code of the lexbind and dynbind interpreted functions.
(byte-compile-unfold-lambda): Don't handle byte-compiled functions at all.
(byte-optimize-form-code-walker): Don't optimize byte-compiled inlined
functions here.
(byte-compile-splice-in-already-compiled-code): Remove.
(byte-code): Don't optimize it any more.
(byte-decompile-bytecode-1): Remove unused bytedecomp-bytes.
Leave `byte-return's even for `make-spliceable'.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
byte-compile-lambda now always returns a byte-code-function.
(byte-compile-byte-code-maker, byte-compile-byte-code-unmake)
(byte-compile-closure): Remove.
(byte-compile-lambda): Always return a byte-code-function.
(byte-compile-top-level): Don't handle `byte-code' forms specially.
(byte-compile-inline-lapcode): New function, taken from byte-opt.el.
(byte-compile-unfold-bcf): New function.
(byte-compile-form): Use it to optimize inline byte-code-functions.
(byte-compile-function-form, byte-compile-defun): Simplify.
(byte-compile-defmacro): Don't bother calling
byte-compile-byte-code-maker.
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions