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

Unified Diff: lib/Bitcode/NaCl/Analysis/NaClCompressBlockDist.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 side-by-side diff with in-line comments
Download patch
Index: lib/Bitcode/NaCl/Analysis/NaClCompressBlockDist.cpp
diff --git a/lib/Bitcode/NaCl/Analysis/NaClCompressBlockDist.cpp b/lib/Bitcode/NaCl/Analysis/NaClCompressBlockDist.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..32694feac7ab3c2a3b261c68d5028c38b54e6340
--- /dev/null
+++ b/lib/Bitcode/NaCl/Analysis/NaClCompressBlockDist.cpp
@@ -0,0 +1,28 @@
+//===-- NaClCompressBlockDist.cpp --------------------------------------------===//
+// Implements distribution maps used to collect block and record
+// distributions for tool pnacl-bccompress.
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Bitcode/NaCl/NaClCompressBlockDist.h"
+
+using namespace llvm;
+
+NaClCompressBlockDistElement::~NaClCompressBlockDistElement() {}
+
+NaClBitcodeDistElement* NaClCompressBlockDistElement::
+CreateElement(NaClBitcodeDistValue Value) const {
+ return new NaClCompressBlockDistElement(Value);
+}
+
+const SmallVectorImpl<NaClBitcodeDist*> *NaClCompressBlockDistElement::
+GetNestedDistributions() const {
+ return &NestedDists;
+}
+
+NaClCompressBlockDistElement NaClCompressBlockDistElement::Sentinel;
« no previous file with comments | « lib/Bitcode/NaCl/Analysis/NaClBitcodeValueDist.cpp ('k') | lib/Bitcode/NaCl/Analysis/NaClCompressCodeDist.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698