diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-12 22:10:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-12 22:10:57 +0000 |
commit | 1432ef864e363e91890bb1f9678f499f866dda0f (patch) | |
tree | d2f1697774254d49628dddcdc47ac334a08c731d /llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp | |
parent | cb2752bb5d0d75c7e1799f1cde17546986ba4fbb (diff) | |
download | bcm5719-llvm-1432ef864e363e91890bb1f9678f499f866dda0f.tar.gz bcm5719-llvm-1432ef864e363e91890bb1f9678f499f866dda0f.zip |
This void is implicit in C++.
llvm-svn: 78848
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp index 3f38f9c241a..f40e67d90c1 100644 --- a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp @@ -521,14 +521,14 @@ namespace { /// setMemoryWritable - When code generation is in progress, /// the code pages may need permissions changed. - void setMemoryWritable(void) + void setMemoryWritable() { for (unsigned i = 0, e = CodeSlabs.size(); i != e; ++i) sys::Memory::setWritable(CodeSlabs[i]); } /// setMemoryExecutable - When code generation is done and we're ready to /// start execution, the code pages may need permissions changed. - void setMemoryExecutable(void) + void setMemoryExecutable() { for (unsigned i = 0, e = CodeSlabs.size(); i != e; ++i) sys::Memory::setExecutable(CodeSlabs[i]); |