mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Use positive values since the value type is unsigned. Fixes a warning on the
llvm-gcc-native-mingw32 builder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
119af20c7b
commit
b90e1d5aaf
@ -31,7 +31,7 @@ namespace llvm {
|
||||
/// not equal to the tombstone key or DebugLoc().
|
||||
static DebugLoc getEmptyKey() {
|
||||
DebugLoc DL;
|
||||
DL.LineCol = -1;
|
||||
DL.LineCol = 1;
|
||||
return DL;
|
||||
}
|
||||
|
||||
@ -39,7 +39,7 @@ namespace llvm {
|
||||
/// is not equal to the empty key or DebugLoc().
|
||||
static DebugLoc getTombstoneKey() {
|
||||
DebugLoc DL;
|
||||
DL.LineCol = -2;
|
||||
DL.LineCol = 2;
|
||||
return DL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user