Commit f51b56d8 authored by yann300's avatar yann300

remove unused var declaration

parent a3e99b82
...@@ -73,9 +73,8 @@ class InternalCallTree { ...@@ -73,9 +73,8 @@ class InternalCallTree {
var scopeId = util.findLowerBoundValue(vmtraceIndex, scopes) var scopeId = util.findLowerBoundValue(vmtraceIndex, scopes)
scopeId = this.scopeStarts[scopeId] scopeId = this.scopeStarts[scopeId]
var scope = this.scopes[scopeId] var scope = this.scopes[scopeId]
var reg = /(.\d|\d)$/
while (scope.lastStep && scope.lastStep < vmtraceIndex) { while (scope.lastStep && scope.lastStep < vmtraceIndex) {
var matched = scopeId.match(reg) var matched = scopeId.match(/(.\d|\d)$/)
scopeId = scopeId.replace(matched[1], '') scopeId = scopeId.replace(matched[1], '')
scope = this.scopes[scopeId] scope = this.scopes[scopeId]
} }
......
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