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

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

Issue 940243003: PNaCl localmod mods in LLVM to 223109 (local files only) (Closed)
Patch Set: xx 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
« no previous file with comments | « no previous file | include/llvm/Bitcode/NaCl/NaClBitstreamReader.h » ('j') | tools/pnacl-llc/pnacl-llc.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Bitcode/NaCl/NaClBitcodeHeader.h
diff --git a/include/llvm/Bitcode/NaCl/NaClBitcodeHeader.h b/include/llvm/Bitcode/NaCl/NaClBitcodeHeader.h
index 0bfbcbe3c1f17412a2230a89e0baedd3ca295df5..dcca6643ca2dc59f8141191b981b9d08cf5f158b 100644
--- a/include/llvm/Bitcode/NaCl/NaClBitcodeHeader.h
+++ b/include/llvm/Bitcode/NaCl/NaClBitcodeHeader.h
@@ -23,7 +23,7 @@
#include <vector>
namespace llvm {
-class StreamableMemoryObject;
+class MemoryObject;
// Class representing a variable-size metadata field in the bitcode header.
// Also contains the list of known (typed) Tag IDs.
@@ -75,7 +75,7 @@ public:
/// \brief Write field into Buf[BufLen].
bool Write(uint8_t *Buf, size_t BufLen) const;
- /// \brief Read field form Buf[BufLen].
+ /// \brief Read field from Buf[BufLen].
bool Read(const uint8_t *Buf, size_t BufLen);
/// \brief Returns string describing field.
@@ -177,7 +177,7 @@ public:
// \brief Read the PNaCl bitcode header, recording the fields found
// in the header. Returns false if able to read (all of) the bitcode header.
- bool Read(StreamableMemoryObject *Bytes);
+ bool Read(MemoryObject *Bytes);
// \brief Returns the number of bytes read to consume the header.
size_t getHeaderSize() { return HeaderSize; }
« no previous file with comments | « no previous file | include/llvm/Bitcode/NaCl/NaClBitstreamReader.h » ('j') | tools/pnacl-llc/pnacl-llc.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698