commit | b779b12caa044baf1f5849d8201cd00c5a425ea0 | [log] [tgz] |
---|---|---|
author | Jamie Madill <jmadill@chromium.org> | Wed Jun 20 11:46:43 2018 -0400 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 26 17:57:44 2018 +0000 |
tree | 81f06509949c53d1bfdbe84ed098afbbe72d6293 | |
parent | 0bb940a80e12cce3a967104c99746a357dce8d85 [diff] [blame] |
Add kEmptyImmutableString. We can use this instead of ImmutableString(""). Bug: angleproject:2665 Change-Id: I8b3d5d3075838b9f2caa1627071202e48a5fdc83 Reviewed-on: https://chromium-review.googlesource.com/1108085 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Luc Ferron <lucferron@chromium.org>
diff --git a/src/compiler/translator/Symbol.cpp b/src/compiler/translator/Symbol.cpp index 12d0ef3..b2c4110 100644 --- a/src/compiler/translator/Symbol.cpp +++ b/src/compiler/translator/Symbol.cpp
@@ -184,7 +184,7 @@ mParametersVector->push_back(p); mParameters = mParametersVector->data(); mParamCount = mParametersVector->size(); - mMangledName = ImmutableString(""); + mMangledName = kEmptyImmutableString; } void TFunction::shareParameters(const TFunction ¶metersSource)