Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: src/sksl/SkSLToken.h

Issue 2442063002: Reduced skslc memory consumption (Closed)
Patch Set: added a few more functions Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/sksl/SkSLParser.cpp ('k') | src/sksl/ir/SkSLFunctionCall.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sksl/SkSLToken.h
diff --git a/src/sksl/SkSLToken.h b/src/sksl/SkSLToken.h
index b8a364c2691db6a368d78d32232bc8bd22469669..76a1df7f665fd7ae3edae20f908991b3c33a3564 100644
--- a/src/sksl/SkSLToken.h
+++ b/src/sksl/SkSLToken.h
@@ -157,6 +157,8 @@ struct Token {
Position fPosition;
Kind fKind;
+ // will be the empty string unless the token has variable text content (identifiers, numeric
+ // literals, and directives)
std::string fText;
};
« no previous file with comments | « src/sksl/SkSLParser.cpp ('k') | src/sksl/ir/SkSLFunctionCall.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698