summaryrefslogtreecommitdiffstats
path: root/lib/Support/StreamableMemoryObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/StreamableMemoryObject.cpp')
-rw-r--r--lib/Support/StreamableMemoryObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/StreamableMemoryObject.cpp b/lib/Support/StreamableMemoryObject.cpp
index c23f07b..fe3752a 100644
--- a/lib/Support/StreamableMemoryObject.cpp
+++ b/lib/Support/StreamableMemoryObject.cpp
@@ -20,7 +20,7 @@ class RawMemoryObject : public StreamableMemoryObject {
public:
RawMemoryObject(const unsigned char *Start, const unsigned char *End) :
FirstChar(Start), LastChar(End) {
- assert(LastChar > FirstChar && "Invalid start/end range");
+ assert(LastChar >= FirstChar && "Invalid start/end range");
}
virtual uint64_t getBase() const { return 0; }
OpenPOWER on IntegriCloud