<div dir="ltr">Looks like I need to fix my editor settings. Thanks Takumi!<div><br></div><div>- Lang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 13, 2015 at 11:58 PM, NAKAMURA Takumi via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: chapuni<br>
Date: Mon Dec 14 01:58:25 2015<br>
New Revision: 255483<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=255483&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=255483&view=rev</a><br>
Log:<br>
Reformat to untabify.<br>
<br>
Modified:<br>
llvm/trunk/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h<br>
llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h<br>
<br>
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h?rev=255483&r1=255482&r2=255483&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h?rev=255483&r1=255482&r2=255483&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h (original)<br>
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h Mon Dec 14 01:58:25 2015<br>
@@ -154,12 +154,12 @@ public:<br>
sys::Memory::MF_WRITE, EC));<br>
assert(!EC && "Failed to allocate resolver block");<br>
<br>
- TargetT::writeResolverCode(static_cast<uint8_t*>(ResolverBlock.base()),<br>
- &reenter, this);<br>
+ TargetT::writeResolverCode(static_cast<uint8_t *>(ResolverBlock.base()),<br>
+ &reenter, this);<br>
<br>
EC = sys::Memory::protectMappedMemory(ResolverBlock.getMemoryBlock(),<br>
- sys::Memory::MF_READ |<br>
- sys::Memory::MF_EXEC);<br>
+ sys::Memory::MF_READ |<br>
+ sys::Memory::MF_EXEC);<br>
assert(!EC && "Failed to mprotect resolver block");<br>
}<br>
<br>
@@ -190,17 +190,16 @@ private:<br>
<br>
uint8_t *TrampolineMem = static_cast<uint8_t*>(TrampolineBlock.base());<br>
TargetT::writeTrampolines(TrampolineMem, ResolverBlock.base(),<br>
- NumTrampolines);<br>
+ NumTrampolines);<br>
<br>
for (unsigned I = 0; I < NumTrampolines; ++I)<br>
this->AvailableTrampolines.push_back(<br>
- static_cast<TargetAddress>(<br>
- reinterpret_cast<uintptr_t>(<br>
- TrampolineMem + (I * TargetT::TrampolineSize))));<br>
+ static_cast<TargetAddress>(reinterpret_cast<uintptr_t>(<br>
+ TrampolineMem + (I * TargetT::TrampolineSize))));<br>
<br>
EC = sys::Memory::protectMappedMemory(TrampolineBlock.getMemoryBlock(),<br>
- sys::Memory::MF_READ |<br>
- sys::Memory::MF_EXEC);<br>
+ sys::Memory::MF_READ |<br>
+ sys::Memory::MF_EXEC);<br>
assert(!EC && "Failed to mprotect trampoline block");<br>
<br>
TrampolineBlocks.push_back(std::move(TrampolineBlock));<br>
<br>
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h?rev=255483&r1=255482&r2=255483&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h?rev=255483&r1=255482&r2=255483&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h (original)<br>
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h Mon Dec 14 01:58:25 2015<br>
@@ -37,13 +37,13 @@ public:<br>
/// @brief Write the resolver code into the given memory. The user is be<br>
/// responsible for allocating the memory and setting permissions.<br>
static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,<br>
- void *CallbackMgr);<br>
+ void *CallbackMgr);<br>
<br>
/// @brief Write the requsted number of trampolines into the given memory,<br>
/// which must be big enough to hold 1 pointer, plus NumTrampolines<br>
/// trampolines.<br>
static void writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,<br>
- unsigned NumTrampolines);<br>
+ unsigned NumTrampolines);<br>
<br>
/// @brief Provide information about stub blocks generated by the<br>
/// makeIndirectStubsBlock function.<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>