|
|
@ -52,7 +52,8 @@ instrumenter.instrumentConditionalExpression = function instrumentConditionalExp |
|
|
|
// Very sad, this is the coolest thing in here.
|
|
|
|
// Very sad, this is the coolest thing in here.
|
|
|
|
return; |
|
|
|
return; |
|
|
|
// ----------------------------------------------------------------------------------------------
|
|
|
|
// ----------------------------------------------------------------------------------------------
|
|
|
|
contract.branchId += 1; |
|
|
|
|
|
|
|
|
|
|
|
/*contract.branchId += 1; |
|
|
|
|
|
|
|
|
|
|
|
const startline = (contract.instrumented.slice(0, expression.start).match(/\n/g) || []).length + 1; |
|
|
|
const startline = (contract.instrumented.slice(0, expression.start).match(/\n/g) || []).length + 1; |
|
|
|
const startcol = expression.start - contract.instrumented.slice(0, expression.start).lastIndexOf('\n') - 1; |
|
|
|
const startcol = expression.start - contract.instrumented.slice(0, expression.start).lastIndexOf('\n') - 1; |
|
|
@ -107,7 +108,7 @@ instrumenter.instrumentConditionalExpression = function instrumentConditionalExp |
|
|
|
}); |
|
|
|
}); |
|
|
|
createOrAppendInjectionPoint(contract, expression.alternate.end, { |
|
|
|
createOrAppendInjectionPoint(contract, expression.alternate.end, { |
|
|
|
type: 'closeParen', |
|
|
|
type: 'closeParen', |
|
|
|
}); |
|
|
|
});*/ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
instrumenter.instrumentStatement = function instrumentStatement(contract, expression) { |
|
|
|
instrumenter.instrumentStatement = function instrumentStatement(contract, expression) { |
|
|
|