aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h b/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
index 5ac19bb..b525165 100644
--- a/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
+++ b/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
@@ -47,8 +47,7 @@ public:
// the address space/sizes we're compiling on are the same as what we're
// compiling for, so it uses pointer types for its addresses. Explicit
// casts between them to deal with that.
- return JMM->endFunctionBody(F, (uint8_t*)FunctionStart,
- (uint8_t*)FunctionEnd);
+ JMM->endFunctionBody(F, (uint8_t*)FunctionStart, (uint8_t*)FunctionEnd);
}
};