Created
April 30, 2019 21:44
-
-
Save jrfondren/b6880682527925d0fc4743d911c80166 to your computer and use it in GitHub Desktop.
boolToBit compilation result
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
N_LIB_PRIVATE N_NIMCALL(tyEnum_Bit_Q53NEIqnxcWDjgP5Z05A2g, boolToBit_cZktsx9a1AGbIDxpJ9cOgSUw)(NIM_BOOL inp) { | |
tyEnum_Bit_Q53NEIqnxcWDjgP5Z05A2g result; | |
tyArray_nHXaesL0DJZHyVS07ARPRA T6_; | |
NimStringDesc* T7_; | |
NimStringDesc* T8_; | |
nimfr_("boolToBit", "wtfval.nim"); | |
result = (tyEnum_Bit_Q53NEIqnxcWDjgP5Z05A2g)0; | |
nimln_(7, "wtfval.nim"); | |
{ | |
if (!inp) goto LA3_; | |
result = ((tyEnum_Bit_Q53NEIqnxcWDjgP5Z05A2g) 1); | |
} | |
goto LA1_; | |
LA3_: ; | |
{ | |
result = ((tyEnum_Bit_Q53NEIqnxcWDjgP5Z05A2g) 0); | |
} | |
LA1_: ; | |
nimln_(11, "wtfval.nim"); | |
nimZeroMem((void*)T6_, sizeof(tyArray_nHXaesL0DJZHyVS07ARPRA)); | |
T7_ = (NimStringDesc*)0; | |
T8_ = (NimStringDesc*)0; | |
T8_ = nimBoolToStr(inp); | |
T7_ = rawNewString((T8_ ? T8_->Sup.len : 0) + (reprEnum((NI)result, (&NTI_Q53NEIqnxcWDjgP5Z05A2g_)) ? reprEnum((NI)result, (&NTI_Q53NEIqnxcWDjgP5Z05A2g_))->Sup.len : 0) + 27); | |
appendString(T7_, ((NimStringDesc*) &TM_BJu2ScE2e0yppvBULZmcOQ_2)); | |
appendString(T7_, T8_); | |
appendString(T7_, ((NimStringDesc*) &TM_BJu2ScE2e0yppvBULZmcOQ_3)); | |
appendString(T7_, reprEnum((NI)result, (&NTI_Q53NEIqnxcWDjgP5Z05A2g_))); | |
T6_[0] = T7_; | |
echoBinSafe(T6_, 1); | |
popFrame(); | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment