bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Major rewrite of abstract syntax trees

RESOLVED FIXED

Status

Tamarin
Self-hosting compiler (ESC)
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: Lars T Hansen, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Created attachment 313016 [details] [diff] [review]
Big patch

This patch converts the ASTs to be based mainly on classes and interfaces (plus arrays and primitive data).

The new classes are self-serializing and deserializing, with the help of a little glue code, so ast-encode.es and ast-decode.es disappear completely.

AST tag types that were defined as classes and recognized by 'switch type' in the code generator have been recast as numeric values (aids serialization, probably aids performance eventually).
Attachment #313016 - Flags: review?(jodyer)

Comment 1

10 years ago
Comment on attachment 313016 [details] [diff] [review]
Big patch

I miss the union types already, but I'll take one for the team ;) This will speed things up a bit and provide better (shape) checking.
Attachment #313016 - Flags: review?(jodyer) → review+
(Reporter)

Comment 2

10 years ago
Changeset 490:a19e076c7620.  New binaries, too.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.