aboutsummaryrefslogtreecommitdiff
path: root/src/framework.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2011-02-22 20:49:21 -0800
committerAlon Zakai <azakai@mozilla.com>2011-02-22 20:49:21 -0800
commit8d224bc085bbfcf626db8fe1da2a9679d13d96f4 (patch)
treee707275bbff04c84e2560815988a7964976c7538 /src/framework.js
parent9efae48667c05a5cd7e699a3a95b7db80539b801 (diff)
optimize type discovery
Diffstat (limited to 'src/framework.js')
-rw-r--r--src/framework.js16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/framework.js b/src/framework.js
index 7873353b..f5eb099d 100644
--- a/src/framework.js
+++ b/src/framework.js
@@ -155,16 +155,12 @@ Actor.prototype = {
var ret = [];
for (var i = 0; i < items.length; i++) {
var item = items[i];
- try {
- Framework.currItem = item;
- var outputs = this.processItem(item);
- Framework.currItem = null; // Do not keep an unneeded reference. Note that we don't care about this if an exception is thrown
- if (outputs) {
- ret = ret.concat(outputs);
- }
- } catch (e) {
- print("Exception in process(), current item is: " + dump(item));
- throw e;
+ dprint('frameworkLines', 'Processing item for llvm line ' + item.lineNum);
+ Framework.currItem = item;
+ var outputs = this.processItem(item);
+ Framework.currItem = null;
+ if (outputs) {
+ ret = ret.concat(outputs);
}
}
return ret;