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
Dave Love
e1f0df6214
Change old backquote syntax.
...
(byte-compile-trueconstp): Include keywords.
(byte-optimize-quote, byte-optimize-lapcode): Use
byte-compile-const-symbol-p.
(byte-optimize-char-before): New optimization.
2000-02-23 12:28:09 +00:00
Dave Love
2412aadb49
Don't put optimization info on `eql'.
...
(side-effect-free-fns): Add gethash, hash-table-count.
(side-effect-and-error-free-fns): Add hash-table-p.
1999-12-18 17:28:36 +00:00
Dave Love
f34bba6922
(byte-optimize-backward-char, byte-optimize-backward-word): New
...
optimizations.
(side-effect-free-fns, side-effect-and-error-free-fns): Extra entries.
1999-09-09 20:04:17 +00:00
Dave Love
e5b69caa66
(byte-boolean-vars): Removed. (Now primitive.)
1999-09-06 11:10:35 +00:00
Dave Love
e89a34decc
(byte-boolean-vars): Add several w32 and redisplay variables.
1999-08-31 16:23:24 +00:00
Karl Heuer
1ffa428601
Provide byte-optimize', not
byte-opt'.
1999-08-10 17:13:38 +00:00
Richard M. Stallman
ea9d637111
(byte-optimize-plus): Fix 1-arg case.
1999-05-17 01:37:04 +00:00
Andreas Schwab
f20f3ac73b
(byte-boolean-vars): Add
...
unibyte-display-via-language-environment.
1999-05-10 13:02:09 +00:00
Markus Rost
c144230d0c
Require bytecomp for byte-goto-ops.
1998-12-05 18:18:50 +00:00
Karl Heuer
223a2a6298
(byte-compile-inline-expand):
...
If the function definition is not a lambda, return original FORM
with no error.
1998-09-04 19:57:32 +00:00