| commit | 73575c4d5ee20081768a0876f8bdfb922f09324f | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Tue Jun 21 05:09:39 2016 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Tue Jun 21 05:09:39 2016 +0000 |
| tree | 7ecf3ae60f47dbc264e8de6bfd5956d7df8127a4 | |
| parent | 3f5dd1458e4c775e3c50dfa95c0523852ca2fcc3 [diff] [blame] |
Fix typo in comment. llvm-svn: 273243
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp index 21c0440..3c3fcc3 100644 --- a/lld/ELF/Target.cpp +++ b/lld/ELF/Target.cpp
@@ -681,7 +681,7 @@ uint8_t Reg = Loc[-1] >> 3; uint8_t *RegSlot = Loc - 1; - // Note that LEA with RSP or R12 is converted to ADD instead of LEA + // Note that ADD with RSP or R12 is converted to ADD instead of LEA // because LEA with these registers needs 4 bytes to encode and thus // wouldn't fit the space.