Assert that the offset in MachineLocation::set() is always 0. (NFC)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2017-08-02 14:45:50 +00:00
parent e279499faf
commit 1c11c833ab

View File

@ -67,6 +67,7 @@ public:
IsRegister = false; IsRegister = false;
Register = R; Register = R;
Offset = O; Offset = O;
assert(O == 0 && "offset is expected to always be zero");
} }
}; };