diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp index 53683381f..427447bc5 100644 --- a/libevmasm/Assembly.cpp +++ b/libevmasm/Assembly.cpp @@ -495,6 +495,7 @@ Json::Value Assembly::assemblyJSON(std::vector const& _sources, boo stringstream hexStr; hexStr << hex << i; data[hexStr.str()] = m_subs[i]->assemblyJSON(_sources, false); + data[hexStr.str()]["index"] = static_cast(i); } }