summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:46:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:46:39 +0000
commit3acea39853d1a5ef2f3920c27f5748778fe53af9 (patch)
treef93b4e1c0fcdb02cf6c80b8e894f0f3b92f1bcac /llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h
parentb6e7d64f3070db641c332ca495215b8c3b887882 (diff)
downloadbcm5719-llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.tar.gz
bcm5719-llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.zip
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix. llvm-svn: 210835
Diffstat (limited to 'llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h')
-rw-r--r--llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h b/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h
index f24bb4d5a52..136856390b2 100644
--- a/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h
+++ b/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h
@@ -21,7 +21,6 @@
#include "llvm/Support/Memory.h"
namespace llvm {
-
/// This is a simple memory manager which implements the methods called by
/// the RuntimeDyld class to allocate memory for section-based loading of
/// objects, usually those generated by the MCJIT execution engine.
@@ -93,8 +92,8 @@ private:
uint8_t *allocateSection(MemoryGroup &MemGroup, uintptr_t Size,
unsigned Alignment);
- error_code applyMemoryGroupPermissions(MemoryGroup &MemGroup,
- unsigned Permissions);
+ std::error_code applyMemoryGroupPermissions(MemoryGroup &MemGroup,
+ unsigned Permissions);
MemoryGroup CodeMem;
MemoryGroup RWDataMem;
OpenPOWER on IntegriCloud