X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSystem%2FMemory.cpp;h=054cc966a3e7b71bb1dd75d6d634bed11d6f9111;hb=ebcba612b537f45a033ccd9a60bee0c45e2e2ded;hp=6aa5cbc73ee464ad9164f2b06a4f2116f2876287;hpb=cbad701d0b6fd42112e121e2d7af9c70aaee7440;p=oota-llvm.git diff --git a/lib/System/Memory.cpp b/lib/System/Memory.cpp index 6aa5cbc73ee..054cc966a3e 100644 --- a/lib/System/Memory.cpp +++ b/lib/System/Memory.cpp @@ -1,10 +1,10 @@ //===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the -// University of Illinois Open Source License. See LICENSE.TXT for details. -// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// //===----------------------------------------------------------------------===// // // This file defines some helpful functions for allocating memory and dealing @@ -13,18 +13,22 @@ //===----------------------------------------------------------------------===// #include "llvm/System/Memory.h" +#include "llvm/Config/config.h" namespace llvm { using namespace sys; //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system -//=== independent code. +//=== independent code. //===----------------------------------------------------------------------===// } // Include the platform-specific parts of this class. -#include "platform/Memory.cpp" - -// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab +#ifdef LLVM_ON_UNIX +#include "Unix/Memory.inc" +#endif +#ifdef LLVM_ON_WIN32 +#include "Win32/Memory.inc" +#endif