aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2011-02-21 18:46:55 -0800
committerAlon Zakai <azakai@mozilla.com>2011-02-21 18:46:55 -0800
commitb381f9f375aa479dcbd4367af19cb698d4de1b43 (patch)
tree9fba1136be6390a51e170cac6b3331a27df15cf7 /src/analyzer.js
parentcb0b00ff98ba99dd9661de4de89f3225caed766c (diff)
remove slow identinicer
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index b3d311d1..42654502 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -53,7 +53,7 @@ function analyzer(data, givenTypes) {
if (LLVM_STYLE == 'new' && item.items[i+1].intertype !== 'label') {
item.items.splice(i+1, 0, {
intertype: 'label',
- ident: '%entry',
+ ident: '_entry',
lineNum: subItem.lineNum + '.5'
});
}
@@ -79,20 +79,7 @@ function analyzer(data, givenTypes) {
}
}
delete item.items;
- this.forwardItem(item, 'Identinicer');
- }
- });
-
- // IdentiNicer
- substrate.addActor('Identinicer', {
- processItem: function(output) {
- walkJSON(output, function(item) {
- ['', '2', '3', '4', '5'].forEach(function(ext) {
- if (item && item['ident' + ext])
- item['ident' + ext] = toNiceIdent(item['ident' + ext]);
- });
- });
- this.forwardItem(output, 'Typevestigator');
+ this.forwardItem(item, 'Typevestigator');
}
});
@@ -930,7 +917,7 @@ function analyzer(data, givenTypes) {
['memset', 'malloc', 'free'].forEach(function(ident) {
ret.functionStubs.push({
intertype: 'functionStub',
- ident: '@' + ident
+ ident: '_' + ident
});
});
return ret;