Closed Bug 416399 Opened 16 years ago Closed 16 years ago

Massive reworking of the front end

Categories

(Tamarin Graveyard :: Self-hosting compiler (ESC), defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lhansen, Unassigned)

Details

Attachments

(1 file)

Massive reworking of the entire front end for performance and clarity:

  - switch-based lexer with optimizations for common cases
  - unthreading of the token stream in the parser
  - removal of debugging calls in parser (the compiler could insert this code)
  - lexer/parser interface has limited-length token queue, avoiding consing
  - concretization of token representation to avoid function calls on critical path
  - hash tables instead of linear lists to hash cons (!) tokens
  - allow esc.es to compile multiple files in one go to avoid JIT warmup
  - and more

This patch assumes that #416248 has been applied.  It subsumes #416249.
Attached patch Big patchSplinter Review
Attachment #302152 - Flags: review?(tierney)
Attachment #302152 - Flags: review?(tierney)
Attachment #302152 - Flags: review+
Changeset 370
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: