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

Unified Diff: include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.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/NaClBitCodes.h ('k') | include/llvm/Bitcode/NaCl/NaClBitcodeDist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h
diff --git a/include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h b/include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h
index 782d3d42fcb215b15caa1613c4e61553a0ac29ef..742f868ee864cad0068433cec2e9d10889dacbd2 100644
--- a/include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h
+++ b/include/llvm/Bitcode/NaCl/NaClBitcodeAbbrevDist.h
@@ -65,8 +65,8 @@ public:
virtual const SmallVectorImpl<NaClBitcodeDist*> *
GetNestedDistributions() const;
- NaClBitcodeDist *GetCodeDist() {
- return &CodeDist;
+ NaClBitcodeDist &GetCodeDist() {
+ return CodeDist;
}
private:
« no previous file with comments | « include/llvm/Bitcode/NaCl/NaClBitCodes.h ('k') | include/llvm/Bitcode/NaCl/NaClBitcodeDist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698