diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-17 14:01:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-23 14:33:24 -0700 |
commit | 1b11ed219f38d2eb10007382f45eeebbc14435fb (patch) | |
tree | 3b38aed46f4670f66f26dfb81c2ead1c77af4442 /src/jsifier.js | |
parent | d2a26a8c026360bd4a051f576eb994623000e80e (diff) |
remove unused type jsifying code
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index c65dfdcc..c7318524 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -138,21 +138,6 @@ function JSify(data, functionsOnly, givenFunctions) { // Actors - // type - // FIXME: This is no longer used, we do not actually need to JSify on types. TODO: Remove this and related code - substrate.addActor('Type', { - processItem: function(item) { - var type = Types.types[item.name_]; - var niceName = toNiceIdent(item.name_); - // We might export all of Types.types, cleaner that way, but do not want slowdowns in accessing flatteners - item.JS = 'var ' + niceName + '___SIZE = ' + Types.types[item.name_].flatSize + '; // ' + item.name_ + '\n'; - if (type.needsFlattening && !type.flatFactor) { - item.JS += 'var ' + niceName + '___FLATTENER = ' + JSON.stringify(Types.types[item.name_].flatIndexes) + ';'; - } - return [item]; - } - }); - function makeEmptyStruct(type) { var ret = []; var typeData = Types.types[type]; |