diff --git a/tools/OIP.cpp b/tools/OIP.cpp index 5b4b32d..71ce16d 100644 --- a/tools/OIP.cpp +++ b/tools/OIP.cpp @@ -232,6 +232,11 @@ void printFuncDesc(const std::shared_ptr& funcDesc) { printf("\"funcArgs\":["); bool isFirstItem = true; + if (funcDesc->isMethod) { + printFuncArg(funcDesc->getThis()); + isFirstItem = false; + } + for (size_t i = 0; i < funcDesc->numArgs(); ++i) { if (!isFirstItem) { printf(",");