Stefan Monnier
5ebfbcdc3f
(byte-optimize-featurep): Also handle `sxemacs'.
2007-08-23 15:11:31 +00:00
Glenn Morris
ab2d877d45
Replace `iff' in doc-strings and comments.
2007-08-08 07:17:12 +00:00
Glenn Morris
e0085d62fa
Switch license to GPLv3 or later.
2007-07-25 04:14:29 +00:00
Chong Yidong
fb67ebdf16
(byte-optimize-form-code-walker): Evaluate pure function calls if possible.
...
(byte-optimize-all-constp): New function.
2007-04-11 17:10:42 +00:00
Glenn Morris
6f7e29f1d2
Markus Triska <markus.triska at gmx.at>:
...
(byte-optimize-backward-char, byte-optimize-backward-word): Remove -
move to bytecomp.el.
2007-04-11 03:57:11 +00:00
Glenn Morris
17975ebf23
Markus Triska <markus.triska at gmx.at>:
...
(byte-optimize-char-before): Remove (move to bytecomp.el as
byte-compile-char-before).
2007-04-10 03:58:03 +00:00
Chong Yidong
e5a858825f
Remove spurious debugging code.
2007-04-09 16:33:01 +00:00
Chong Yidong
c990483162
* emacs-lisp/byte-opt.el (byte-optimize-pure-func): Remove function
...
(originally checked in as byte-optimize-concat on 1997-11-02).
2007-04-06 18:22:23 +00:00
Chong Yidong
1fbb84daed
(byte-optimize-form-code-walker): Print entire form.
2007-04-05 17:57:05 +00:00
Glenn Morris
f0fa15c5e5
Add 2007 to copyright years.
2007-01-21 02:48:43 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Richard M. Stallman
9d8684ddf3
(byte-optimize-form-code-walker): Improve warning message text.
2005-11-16 22:20:03 +00:00
Andreas Schwab
c80eca7195
(byte-optimize-pure-func): Quote the
...
folded value.
2005-11-02 22:18:56 +00:00
Stefan Monnier
4cd305ac33
(byte-optimize-pure-func): Quote the eval'd value so it's not re-eval'd.
2005-11-02 21:56:15 +00:00
Stefan Monnier
cfa1d4c6d1
(string-to-syntax): Mark it as pure.
2005-11-02 19:03:17 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Juanma Barranquero
c1fe651240
(byte-optimize-pure-func): Fix spellings.
2005-06-21 13:45:12 +00:00
Richard M. Stallman
4cead7a206
(byte-optimize-form-code-walker):
...
Use with-no-warnings around compiler-macroexpand.
2004-11-25 02:58:34 +00:00
Stefan Monnier
08d72d137c
(byte-optimize-inline-handler): Simplify.
...
(byte-decompile-bytecode-1): Remove unused vars `tag' and `retcount'.
2004-11-14 06:19:52 +00:00
Stefan Monnier
f61b7b7fb1
(byte-compile-inline-expand): Understand the
...
new byte-compile-function-environment binding to t.
2004-11-12 03:59:26 +00:00
Andreas Schwab
af61a97dd6
(byte-optimize-backward-word): Optimize
...
`(backward-word)' to `(forward-word -1)', not `(forward-char -1)'.
2004-10-10 14:28:19 +00:00
Stefan Monnier
e856a453a1
(byte-compile-log-lap, byte-compile-inline-expand): Use backquote.
...
(byte-optimize-pure-func): Rename from byte-optimize-concat.
(symbol-name, regexp-opt, regexp-quote): Mark as pure.
2004-03-22 15:21:08 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Stefan Monnier
e64e9e6a7f
(byte-optimize-set): Avoid CLism.
2003-03-25 16:48:43 +00:00
Stefan Monnier
66ff289307
(byte-optimize-set): New. Turn set' into
setq' when applicable.
2003-03-25 16:34:00 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Dave Love
56cfa2440e
(byte-optimize-nth)
...
(byte-optimize-nthcdr): Fix for case of wrong-length forms.
2003-01-05 00:28:18 +00:00
Stefan Monnier
e8f3c355cf
(byte-optimize-form-code-walker):
...
Optimize the remaining part of for-effect and/or expressions.
2002-12-13 19:52:46 +00:00
Dave Love
e5c230f42f
(byte-optimize-featurep): New.
2002-12-12 20:28:32 +00:00
Dave Love
d9881cf17f
(side-effect-free-fns): Several
...
additions.
2002-11-19 17:59:30 +00:00
Richard M. Stallman
8c26d7b356
(byte-optimize-form-code-walker): Treat `ignore' specially--prevent
...
warnings about functions called for effect, in its args.
Don't warn when `pop' is used for effect.
2002-10-14 01:33:40 +00:00
Richard M. Stallman
cd63e3a185
Comment change.
2002-09-09 00:28:00 +00:00
Richard M. Stallman
1fc9ee97d3
(side-effect-free-fns, side-effect-and-error-free-fns):
...
Add many functions, remove some.
2002-03-31 16:22:58 +00:00
Pavel Janík
5f11d42cee
(byte-optimize-form-code-walker): Remove mocklisp case.
2001-12-22 13:36:59 +00:00
Pavel Janík
f0529b5b1a
Doc fix.
2001-12-20 19:01:00 +00:00
Gerd Moellmann
3ecf67a184
(byte-optimize-lapcode)
...
<byte-constref-ops>: Consider byte-constant2 and clarify the code.
<const-C varset-X const-C>: Fix car/cdr typo.
2001-10-11 17:25:26 +00:00
Gerd Moellmann
244bbdc57a
Downcase error messages.
2001-10-11 12:57:53 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Stefan Monnier
0abfa90d84
(byte-compile-inline-expand): Complete Dave's
...
patch to correct the error message as well.
2001-05-27 11:34:56 +00:00
Stefan Monnier
28881a56aa
(byte-compile-inline-expand): Fix the arg of `load' again.
2001-05-27 11:12:13 +00:00
Stefan Monnier
b291c86c45
(byte-compile-inline-expand): Undo last change.
2001-05-27 11:02:02 +00:00
Stefan Monnier
a434b175a9
(byte-compile-inline-expand):
...
Fix the arg of `load'. From Dave Love <fx@gnu.org>.
2001-05-25 18:43:50 +00:00
Gerd Moellmann
aefd695aad
(byte-optimize-while)
...
(byte-optimize-form-code-walker): Diagnose too few arguments
for `if' and `while'.
2001-03-26 13:04:11 +00:00
Gerd Moellmann
936ae731f3
(byte-compile-unfold-lambda): Don't
...
recursively optimize body because that can lead to infinite
recursion; see comment there.
2000-11-14 04:41:56 +00:00
Dave Love
944425c0c3
(byte-optimize-lapcode): Don't bind
...
unused vars. Treat byte-constant2 like byte-constant. Fix bogus
comparison of opcode with operand.
2000-10-02 17:44:51 +00:00
Stefan Monnier
72d8b544c6
(byte-compile-log-lap-1)
...
(byte-optimize-inline-handler, byte-optimize-form-code-walker)
(byte-optimize-apply, end of file): Don't quote lambda.
2000-06-12 05:06:37 +00:00
Dave Love
049a65a311
Update side-effect free function lists.
2000-05-21 17:24:19 +00:00
Gerd Moellmann
78ecf55a6a
(byte-compile-inline-expand): Look
...
for function definition in symbol's function value slot first
instead of first consulting byte-compile-function-environment.
Fix byte-compiler warnings format.
2000-03-31 11:25:10 +00:00
Gerd Moellmann
c59a419228
(byte-compile-inline-expand): Fix bug
...
trying to `load' the symbol of an autoload instead of the file
recorded in the autoload. Fix error messages.
2000-03-30 11:38:38 +00:00