Reid Spencer | 9737492 | 2004-10-04 11:08:32 +0000 | [diff] [blame] | 1 | //===- Win32/MappedFile.cpp - Win32 MappedFile Implementation ---*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Reid Spencer and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file provides the Win32 specific implementation of the MappedFile |
| 11 | // concept. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #include "Win32.h" |
| 16 | |
| 17 | void MappedFile::initialize() { |
| 18 | } |
| 19 | |
| 20 | void MappedFile::terminate() { |
| 21 | } |
| 22 | |
| 23 | void MappedFile::unmap() { |
| 24 | } |
| 25 | |
| 26 | void* MappedFile::map() { |
| 27 | static char junk[4096]; |
| 28 | return junk; |
| 29 | } |
| 30 | |
| 31 | size_t MappedFile::size() { |
| 32 | return 4096; |
| 33 | } |
| 34 | |
| 35 | void MappedFile::size(size_t new_size) { |
| 36 | } |
| 37 | |
| 38 | // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |