diff options
Diffstat (limited to 'lld/lib/Core/LinkingContext.cpp')
-rw-r--r-- | lld/lib/Core/LinkingContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/Core/LinkingContext.cpp b/lld/lib/Core/LinkingContext.cpp index 5d5d34fb149..22a9ccf6e05 100644 --- a/lld/lib/Core/LinkingContext.cpp +++ b/lld/lib/Core/LinkingContext.cpp @@ -76,11 +76,11 @@ bool LinkingContext::createInternalFiles( return true; } -void LinkingContext::setResolverState(uint32_t state) const { +void LinkingContext::setResolverState(uint32_t state) { _currentInputElement->setResolverState(state); } -ErrorOr<File &> LinkingContext::nextFile() const { +ErrorOr<File &> LinkingContext::nextFile() { // When nextFile() is called for the first time, _currentInputElement is not // initialized. Initialize it with the first element of the input graph. if (_currentInputElement == nullptr) { |