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

Unified Diff: include/llvm/Bitcode/NaCl/NaClCompressCodeDist.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/NaClBitcodeDist.h ('k') | lib/Bitcode/NaCl/Reader/CMakeLists.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Bitcode/NaCl/NaClCompressCodeDist.h
diff --git a/include/llvm/Bitcode/NaCl/NaClCompressCodeDist.h b/include/llvm/Bitcode/NaCl/NaClCompressCodeDist.h
index ab9202b32b96cf2125e42661cff98f8c485834bb..71b1775482afd45943d8f40cf74307f67a49fa94 100644
--- a/include/llvm/Bitcode/NaCl/NaClCompressCodeDist.h
+++ b/include/llvm/Bitcode/NaCl/NaClCompressCodeDist.h
@@ -42,8 +42,8 @@ public:
virtual const SmallVectorImpl<NaClBitcodeDist*> *
GetNestedDistributions() const;
- NaClBitcodeDist *GetSizeDist() {
- return &SizeDist;
+ NaClBitcodeDist &GetSizeDist() {
+ return SizeDist;
}
/// The sentinel used to generate instances of this in
« no previous file with comments | « include/llvm/Bitcode/NaCl/NaClBitcodeDist.h ('k') | lib/Bitcode/NaCl/Reader/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698