[llvm-commits] [llvm] r118971 - /llvm/trunk/include/llvm/ExecutionEngine/JITMemoryManager.h
Daniel Dunbar
daniel at zuster.org
Fri Nov 12 18:48:46 PST 2010
Author: ddunbar
Date: Fri Nov 12 20:48:46 2010
New Revision: 118971
URL: http://llvm.org/viewvc/llvm-project?rev=118971&view=rev
Log:
More style nittiness.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/JITMemoryManager.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/JITMemoryManager.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/JITMemoryManager.h?rev=118971&r1=118970&r2=118971&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/JITMemoryManager.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/JITMemoryManager.h Fri Nov 12 20:48:46 2010
@@ -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 @@
class JITMemoryManager {
protected:
bool HasGOT;
-public:
+public:
JITMemoryManager() : HasGOT(false) {}
virtual ~JITMemoryManager();
@@ -48,7 +44,7 @@
/// 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 @@
virtual void AllocateGOT() = 0;
/// isManagingGOT - Return true if the AllocateGOT method is called.
- ///
bool isManagingGOT() const {
return HasGOT;
}
@@ -111,7 +106,6 @@
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
More information about the llvm-commits
mailing list