[ClavaLaraApi] Potential fix in hls/TraceInstrumentation
@@ -85,7 +85,8 @@ TraceInstrumentation.instrument = function(funName) {
function explore(children) {
for (var i = 0; i < children.length; i++) {
var child = children[i];
- if (child.joinPointType == "statement") {
+ //if (child.joinPointType == "statement") {
+ if (child.instanceOf("statement") {
if (child.children.length == 1) {
handleStatement(child.children[0]);
}
