MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / OutputBoolean

Function OutputBoolean

src/Chain/libraries/glua/glua_decompile.cpp:771–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771std::string OutputBoolean(GluaDecompileContextP ctx, Function* F, int* thenaddr, int* endif, int test) {
772 std::string result;
773 LogicExp* exp = nullptr;
774 ctx->error.clear();
775
776 exp = MakeBoolean(ctx, F, thenaddr, endif);
777 if (ctx->error.length()>0) goto OutputBoolean_CLEAR_HANDLER1;
778 result = WriteBoolean(exp, thenaddr, endif, test);
779 if (ctx->error.length()>0) goto OutputBoolean_CLEAR_HANDLER1;
780
781OutputBoolean_CLEAR_HANDLER1:
782 if (exp) DeleteLogicExpTree(exp);
783
784 return result;
785}
786
787void RawAddAstStatement(Function* F, AstStatement* stmt) {
788 if (F->released_local) {

Callers 3

FlushBooleanFunction · 0.85
AssignRegFunction · 0.85
ProcessCodeFunction · 0.85

Calls 5

MakeBooleanFunction · 0.85
WriteBooleanFunction · 0.85
DeleteLogicExpTreeFunction · 0.85
clearMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected