aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorEli Bendersky <eliben@chromium.org>2013-02-12 15:24:06 -0800
committerEli Bendersky <eliben@chromium.org>2013-02-12 15:24:06 -0800
commit373dd3979978f4ab853ea638cecd847d99b038b4 (patch)
treec3e9c9331b7b0f52120cbe0397a0058bab29477c /include/llvm/Target
parent421e517aba7ed185ca3aaefcb495a004ae10b72d (diff)
Cleaned up some leftover legacy-JIT localmods.
Ran all sandboxed translator tests for x86 and x64 locally. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3183 Review URL: https://codereview.chromium.org/12224110
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetJITInfo.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h
index f46c956ea0..f9bd0fb9f9 100644
--- a/include/llvm/Target/TargetJITInfo.h
+++ b/include/llvm/Target/TargetJITInfo.h
@@ -129,25 +129,6 @@ namespace llvm {
/// separately allocated heap memory rather than in the same
/// code memory allocated by JITCodeEmitter.
virtual bool allocateSeparateGVMemory() const { return false; }
-
- // @LOCALMOD-START
- // NaCl-specific, target-specific stuff
- typedef struct { uint8_t *ins; int len; } HaltInstruction;
- /// Get a sequence of NOPs of length len. Returns a pointer to a buffer
- /// containing a val
- virtual const uint8_t *getNopSequence(size_t len) const { return NULL; }
- /// Get the length and definition of the halt/roadblock instruction
- virtual const HaltInstruction *getHalt() const { return NULL; }
- virtual int getBundleSize() const { return 0; }
- virtual int32_t getJumpMask() const { return 0; }
-
- /// Relocations cannot happen in-place in NaCl because we can't write to
- /// code. This function takes a pointer to where the code has been emitted,
- /// before it is copied to the code region. The subsequent call to
- /// relocate takes pointers to the target code location, but rewrites the
- /// code in the relocation buffer rather than at the target
- virtual void setRelocationBuffer(unsigned char * BufferBegin) {}
- // @LOCALMOD-END
protected:
bool useGOT;
};