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

Side by Side Diff: lib/Bitcode/NaCl/Analysis/NaClCompressCodeDist.cpp

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 //===-- NaClCompressCodeDist.cpp ------------------------------------------===//
2 // Implements distribution maps for record codes for pnacl-bccompress.
3 //
4 // The LLVM Compiler Infrastructure
5 //
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10
11 #include "llvm/Bitcode/NaCl/NaClCompressCodeDist.h"
12
13 using namespace llvm;
14
15 NaClCompressCodeDistElement::~NaClCompressCodeDistElement() {}
16
17 NaClBitcodeDistElement *NaClCompressCodeDistElement::CreateElement(
18 NaClBitcodeDistValue Value) const {
19 return new NaClCompressCodeDistElement();
20 }
21
22 void NaClCompressCodeDistElement::AddRecord(const NaClBitcodeRecord &Record) {
23 NaClBitcodeCodeDistElement::AddRecord(Record);
24 SizeDist.AddRecord(Record);
25 }
26
27 const SmallVectorImpl<NaClBitcodeDist*> *
28 NaClCompressCodeDistElement::GetNestedDistributions() const {
29 return &NestedDists;
30 }
31
32 NaClCompressCodeDistElement NaClCompressCodeDistElement::Sentinel;
OLDNEW
« no previous file with comments | « lib/Bitcode/NaCl/Analysis/NaClCompressBlockDist.cpp ('k') | lib/Bitcode/NaCl/Analysis/NaClObjDump.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698