commit | e61c7fd3bf510660bc4d7f129d3ad7f1536ea3e8 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Wed Sep 02 13:32:02 2015 -0700 |
committer | Natalie Weizenbaum <nweiz@google.com> | Wed Sep 02 13:32:02 2015 -0700 |
tree | 2b4eb261f5c097c85a2433b7269701df81c040ff | |
parent | 7d0ff863609f07a8bf994c948ec0803c05aaa6ac [diff] |
Add SourceLocationMixin and SourceLocationBase. This allows FileLocation to avoid extending SourceLocation at all, which avoids unused line, column, and sourceUrl fields. This produces a speed improvement of approximately 5% in the YAML parser, and will likely do more in code that uses locations more heavily relative to spans. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1307123004 .