| commit | 3f5dd1458e4c775e3c50dfa95c0523852ca2fcc3 | [log] [tgz] | 
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Tue Jun 21 05:01:31 2016 +0000 | 
| committer | Rui Ueyama <ruiu@google.com> | Tue Jun 21 05:01:31 2016 +0000 | 
| tree | f95f46eb02da0f19f72e15fa90e9ae8f21eeedb8 | |
| parent | 9cc0bca23c490561af9b14dbefff32e14d8ecda3 [diff] [blame] | 
Unbreak buildbots. llvm-svn: 273242
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp index 2db5225..21c0440 100644 --- a/lld/ELF/Target.cpp +++ b/lld/ELF/Target.cpp
@@ -679,7 +679,7 @@ uint64_t Val) const { uint8_t *Inst = Loc - 3; uint8_t Reg = Loc[-1] >> 3; - uint8_t RegSlot = Loc - 1; + uint8_t *RegSlot = Loc - 1; // Note that LEA with RSP or R12 is converted to ADD instead of LEA // because LEA with these registers needs 4 bytes to encode and thus