mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Fix recent breakage of win32 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18876 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
efd6bb37a3
commit
3265369ff5
@ -97,7 +97,7 @@ void* MappedFile::map() {
|
||||
return base_;
|
||||
}
|
||||
|
||||
size_t MappedFile::size() {
|
||||
size_t MappedFile::size() const {
|
||||
assert(info_ && "MappedFile not initialized");
|
||||
return info_->size;
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ void* MappedFile::map() {
|
||||
return base_;
|
||||
}
|
||||
|
||||
size_t MappedFile::size() {
|
||||
size_t MappedFile::size() const {
|
||||
assert(info_ && "MappedFile not initialized");
|
||||
return info_->size;
|
||||
}
|
||||
|
@ -243,14 +243,6 @@ Path::isBytecodeFile() const {
|
||||
return 0 == memcmp(buffer,"llvc",4) || 0 == memcmp(buffer,"llvm",4);
|
||||
}
|
||||
|
||||
bool
|
||||
Path::isArchive() const {
|
||||
if (readable()) {
|
||||
return hasMagicNumber("!<arch>\012");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
Path::exists() const {
|
||||
DWORD attr = GetFileAttributes(path.c_str());
|
||||
|
@ -243,14 +243,6 @@ Path::isBytecodeFile() const {
|
||||
return 0 == memcmp(buffer,"llvc",4) || 0 == memcmp(buffer,"llvm",4);
|
||||
}
|
||||
|
||||
bool
|
||||
Path::isArchive() const {
|
||||
if (readable()) {
|
||||
return hasMagicNumber("!<arch>\012");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
Path::exists() const {
|
||||
DWORD attr = GetFileAttributes(path.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user