diff --git a/src/mapleall/maple_be/include/cg/cg_option.h b/src/mapleall/maple_be/include/cg/cg_option.h index a511d3854cf741bb451e16fc1c62020a5caaced0..ab507c43946428233b3a3c6bf1813e55131bb450 100644 --- a/src/mapleall/maple_be/include/cg/cg_option.h +++ b/src/mapleall/maple_be/include/cg/cg_option.h @@ -40,7 +40,7 @@ class CGOptions : public MapleDriverOptionBase { kGenPic = 1ULL << 4, kGenPie = 1ULL << 5, kVerboseAsm = 1ULL << 6, - kInsertCall = 1ULL << 7, + kGenInsertCall = 1ULL << 7, kAddDebugTrace = 1ULL << 8, kGenYieldPoint = 1ULL << 9, kGenLocalRc = 1ULL << 10, @@ -239,7 +239,7 @@ class CGOptions : public MapleDriverOptionBase { } bool NeedInsertInstrumentationFunction() const { - return (options & kInsertCall) != 0; + return (options & kGenInsertCall) != 0; } bool InstrumentWithDebugTraceCall() const { diff --git a/src/mapleall/maple_be/src/cg/cg_option.cpp b/src/mapleall/maple_be/src/cg/cg_option.cpp index 516b0a53d46c3ea54c3b058f198b60e2d8a85283..ed3e922e98847baa391cfb30d4f357b9b1c82871 100644 --- a/src/mapleall/maple_be/src/cg/cg_option.cpp +++ b/src/mapleall/maple_be/src/cg/cg_option.cpp @@ -1213,6 +1213,7 @@ bool CGOptions::SolveOptions(const std::vector