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 | ef4b4491240b7991c20b6cb0d9096021f6be998b (patch) | |
| tree | 81003864ecdf52e85f3973779dbab6ad74b3bf57 /compiler-rt/lib/interception | |
| parent | c7bf646a994949f9bf31cb5577575653b7414027 (diff) | |
| download | bcm5719-llvm-ef4b4491240b7991c20b6cb0d9096021f6be998b.tar.gz bcm5719-llvm-ef4b4491240b7991c20b6cb0d9096021f6be998b.zip | |
fix incorrect constant (from http://reviews.llvm.org/D22111)
llvm-svn: 275136
Diffstat (limited to 'compiler-rt/lib/interception')
| -rw-r--r-- | compiler-rt/lib/interception/interception_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/interception/interception_win.cc b/compiler-rt/lib/interception/interception_win.cc index 5d7b6536c38..96b56770793 100644 --- a/compiler-rt/lib/interception/interception_win.cc +++ b/compiler-rt/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. |

