| commit | eb54b5973e2bd1cb174140d330d26cc3e1d7b063 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Jul 10 06:34:27 2006 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Jul 10 06:34:27 2006 +0000 |
| tree | 3fded61f69745f196382345eb782ae664d53262e | |
| parent | 03f83485bd1855bd72c4eeedf7ceec3ae85aedd1 [diff] |
Add simple optimization: check for (and skip) spaces and tabs immediately before lexing a token. This speeds the common case where tokens are separated by small amount of whitespace. This makes a slight but reproducible positive effect lexing a preprocessed carbon.h. llvm-svn: 38691