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

Unified Diff: include/llvm/Bitcode/NaCl/NaClBitcodeDist.h

Issue 154603002: Make pnacl-bccompress add abbreviations for obvious constants. (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Fixs nits associated with Patch Set 4. Created 6 years, 10 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 | « include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h ('k') | include/llvm/Bitcode/NaCl/NaClCompressCodeDist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Bitcode/NaCl/NaClBitcodeDist.h
diff --git a/include/llvm/Bitcode/NaCl/NaClBitcodeDist.h b/include/llvm/Bitcode/NaCl/NaClBitcodeDist.h
index b75fac320138362b4b93d51dc2e8a9ecf98fe67b..54b16a4cac361f0584ae5118eeb628704d60bd03 100644
--- a/include/llvm/Bitcode/NaCl/NaClBitcodeDist.h
+++ b/include/llvm/Bitcode/NaCl/NaClBitcodeDist.h
@@ -312,7 +312,7 @@ public:
/// Builds the distribution associated with the distribution map.
/// Warning: The distribution is cached, and hence, only valid while
/// it's contents is not changed.
- Distribution *GetDistribution() const {
+ const Distribution *GetDistribution() const {
if (CachedDistribution == 0) Sort();
return CachedDistribution;
}
« no previous file with comments | « include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h ('k') | include/llvm/Bitcode/NaCl/NaClCompressCodeDist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698