aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
diff options
context:
space:
mode:
authorKarl Schimpf <kschimpf@google.com>2013-07-25 12:23:14 -0700
committerKarl Schimpf <kschimpf@google.com>2013-07-25 12:23:14 -0700
commitd0c3e5a5d23f2d7c91a7091918bd85ca495dae19 (patch)
tree0e2cda35ba6a4178bd7432e64c277960ecd37beb /lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
parentea660c168960b06cbcbc4d312a537618a1a8549a (diff)
Remove block address constants form PNaCl bitcode.
Removes block address constants because they are not part of the PNaClABI. Suggested in CL https://codereview.chromium.org/20172002 BUG= https://code.google.com/p/nativeclient/issues/detail?id=3590 R=mseaborn@chromium.org Review URL: https://codereview.chromium.org/20402002
Diffstat (limited to 'lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h')
-rw-r--r--lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
index fe7b5c1e9e..849ca7e506 100644
--- a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
+++ b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h
@@ -155,11 +155,6 @@ class NaClBitcodeReader : public GVMaterializer {
/// stream.
DenseMap<Function*, uint64_t> DeferredFunctionInfo;
- /// BlockAddrFwdRefs - These are blockaddr references to basic blocks. These
- /// are resolved lazily when functions are loaded.
- typedef std::pair<unsigned, GlobalVariable*> BlockAddrRefTy;
- DenseMap<Function*, std::vector<BlockAddrRefTy> > BlockAddrFwdRefs;
-
/// UseRelativeIDs - Indicates that we are using a new encoding for
/// instruction operands where most operands in the current
/// FUNCTION_BLOCK are encoded relative to the instruction number,
@@ -193,8 +188,6 @@ public:
FreeState();
}
- void materializeForwardReferencedFunctions();
-
void FreeState();
/// setBufferOwned - If this is true, the reader will destroy the MemoryBuffer