projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4d17eb
)
Removed an '#ifdef COMMENTARY' in toke.c
author
Brian Fraser
<fraserbn@gmail.com>
Sat, 7 Sep 2013 03:37:19 +0000
(
00:37
-0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Sat, 21 Sep 2013 11:47:39 +0000
(08:47 -0300)
This was added as a micro-optimiaztion twenty years ago.
toke.c
patch
|
blob
|
history
diff --git
a/toke.c
b/toke.c
index
ce4a1ce
..
cd9d51e
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-4770,11
+4770,9
@@
Perl_yylex(pTHX)
} );
switch (PL_lex_state) {
-#ifdef COMMENTARY
- case LEX_NORMAL: /* Some compilers will produce faster */
- case LEX_INTERPNORMAL: /* code if we comment these out. */
+ case LEX_NORMAL:
+ case LEX_INTERPNORMAL:
break;
-#endif
/* when we've already built the next token, just pull it out of the queue */
case LEX_KNOWNEXT: