diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-07-12 01:30:58 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-07-12 01:30:58 +0000 |
commit | fb8ec515526354b3d7bc4f90e5ef91f993f940b6 (patch) | |
tree | 986d0fe31bb903588edf21db325fe37384671557 | |
parent | 3e3f7da05ecff5798c252a3bba17138ffb636fcf (diff) | |
download | compiler-rt-fb8ec515526354b3d7bc4f90e5ef91f993f940b6.tar.gz |
fix incorrect constant (from http://reviews.llvm.org/D22111)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@275136 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/interception/interception_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/interception/interception_win.cc b/lib/interception/interception_win.cc index 5d7b6536c..96b567707 100644 --- a/lib/interception/interception_win.cc +++ b/lib/interception/interception_win.cc @@ -339,7 +339,7 @@ static uptr AllocateMemoryForTrampoline(uptr image_address, size_t size) { // In 64-bits, the memory space must be allocated within 2G boundary. uptr next_address = current->content + current->allocated_size; if (next_address < image_address || - next_address - image_address >= 0x7FFFF0000) + next_address - image_address >= 0x7FFF0000) continue; #endif // The space can be allocated in the current region. |