blob: d106eb16ad2c006a829e0d50d45aa8156d0cefca [file] [log] [blame]
Reid Spencer97374922004-10-04 11:08:32 +00001//===- 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
17void MappedFile::initialize() {
18}
19
20void MappedFile::terminate() {
21}
22
23void MappedFile::unmap() {
24}
25
26void* MappedFile::map() {
27 static char junk[4096];
28 return junk;
29}
30
31size_t MappedFile::size() {
32 return 4096;
33}
34
35void MappedFile::size(size_t new_size) {
36}
37
38// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab