1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

More style nittiness.

llvm-svn: 118971
This commit is contained in:
Daniel Dunbar 2010-11-13 02:48:46 +00:00
parent 8b2d88846b
commit 5517a3a720

View File

@ -6,10 +6,6 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines the JITMemoryManagerInterface
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_EXECUTION_ENGINE_JIT_MEMMANAGER_H
#define LLVM_EXECUTION_ENGINE_JIT_MEMMANAGER_H
@ -29,8 +25,8 @@ namespace llvm {
class JITMemoryManager {
protected:
bool HasGOT;
public:
public:
JITMemoryManager() : HasGOT(false) {}
virtual ~JITMemoryManager();
@ -48,7 +44,7 @@ public:
/// setPoisonMemory - Setting this flag to true makes the memory manager
/// garbage values over freed memory. This is useful for testing and
/// debugging, and is be turned on by default in debug mode.
/// debugging, and may be turned on by default in debug mode.
virtual void setPoisonMemory(bool poison) = 0;
//===--------------------------------------------------------------------===//
@ -61,7 +57,6 @@ public:
virtual void AllocateGOT() = 0;
/// isManagingGOT - Return true if the AllocateGOT method is called.
///
bool isManagingGOT() const {
return HasGOT;
}
@ -111,7 +106,6 @@ public:
virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) = 0;
/// allocateGlobal - Allocate memory for a global.
///
virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0;
/// deallocateFunctionBody - Free the specified function body. The argument