Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
seop1284-kr authored Nov 13, 2019
1 parent 9c8dd2b commit 69b4c53
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions aaaa
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
private def processWU: WorkUnit[T, S] => Unit = { wu =>
if (wu.needProcess(handler)) {
try {
wu.initFn()
if (wu.needHeapSummary) {
generateHeapSummary(wu.method) match {
case Some(w) =>
wu match {
case dfw: DataFlowWu[T, S] =>
dfw.setIDFG(w.getIDFG, w.getHeapMap)
case _ =>
}
case None =>
}
}
val summary = wu.generateSummary(suGen)
sm.register(wu.method.getSignature, summary)
} catch {
case e: Exception =>
if(debug) {
e.printStackTrace()
}
} finally {
wu.finalFn()
}
}
}

0 comments on commit 69b4c53

Please sign in to comment.