Commit d122a40f authored by soad003's avatar soad003

Static Analysis: add comments

parent a6c4a38c
...@@ -406,6 +406,11 @@ function isBuiltinFunctionCall (node) { ...@@ -406,6 +406,11 @@ function isBuiltinFunctionCall (node) {
return isLocalCall(node) && builtinFunctions[getLocalCallName(node) + '(' + getFunctionCallTypeParameterType(node) + ')'] === true return isLocalCall(node) && builtinFunctions[getLocalCallName(node) + '(' + getFunctionCallTypeParameterType(node) + ')'] === true
} }
/**
* True if node is a call to selfdestruct
* @node {ASTNode} some AstNode
* @return {bool}
*/
function isSelfdestructCall (node) { function isSelfdestructCall (node) {
return isBuiltinFunctionCall(node) && getLocalCallName(node) === 'selfdestruct' return isBuiltinFunctionCall(node) && getLocalCallName(node) === 'selfdestruct'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment