Turn off name mangling in DSLParser
Not a big deal from a performance standpoint, but it's still unnecessary work that produces uglier code. Change-Id: Id0153fffe0bac7275f8d2b0d68fb6977de5f9e8c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/449676 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
This commit is contained in:
parent
4f3ca106c9
commit
ae9b446bb4
@ -106,6 +106,8 @@ DSLParser::DSLParser(Compiler* compiler, const ProgramSettings& settings, Progra
|
||||
// We don't want to have to worry about manually releasing all of the objects in the event that
|
||||
// an error occurs
|
||||
fSettings.fAssertDSLObjectsReleased = false;
|
||||
// We manage our symbol tables manually, so no need for name mangling
|
||||
fSettings.fDSLMangling = false;
|
||||
fLexer.start(*fText);
|
||||
static const bool layoutMapInitialized = []{ InitLayoutMap(); return true; }();
|
||||
(void) layoutMapInitialized;
|
||||
|
Loading…
Reference in New Issue
Block a user