Skip to content

Commit

Permalink
[js] Remove some dead and/or commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Oct 28, 2015
1 parent 11d9d69 commit ee00ba0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/vm/js/nqp-runtime/reprs.js
Expand Up @@ -347,9 +347,9 @@ P6opaque.prototype.compose = function(STable, repr_info_hash) {

if (attr.associative_delegate) {
this.associative_delegate_slot = curAttr;
this.assocDelegateSlot = curAttr;
this._STable.setAssociativeDelegate(attr.name);
}

/* TODO think if we want to flatten some things */
/*if (attrType.st.REPR.get_storage_spec(tc, attrType.st).inlineable == StorageSpec.INLINED)
flattenedSTables.add(attrType.st);
Expand Down Expand Up @@ -379,17 +379,8 @@ P6opaque.prototype.compose = function(STable, repr_info_hash) {
break;
}
}*/
/*if (info.posDelegate)
((P6OpaqueREPRData)st.REPRData).posDelSlot = curAttr;
if (info.assDelegate)
((P6OpaqueREPRData)st.REPRData).assDelSlot = curAttr;
*/
curAttr++;
}
/*classHandles.add(type);
attrIndexes.add(indexes);*/
/* FIXME*/
this.name_to_index_mapping.push({class_key: type, slots: slots, names: names});
}

Expand Down

0 comments on commit ee00ba0

Please sign in to comment.