From ee00ba0b36dbc599672670857ce07bdfa8e6ffdf Mon Sep 17 00:00:00 2001 From: Pawel Murias Date: Wed, 28 Oct 2015 11:29:15 +0100 Subject: [PATCH] [js] Remove some dead and/or commented out code. --- src/vm/js/nqp-runtime/reprs.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/vm/js/nqp-runtime/reprs.js b/src/vm/js/nqp-runtime/reprs.js index 29d0932bfe..f981353eb9 100644 --- a/src/vm/js/nqp-runtime/reprs.js +++ b/src/vm/js/nqp-runtime/reprs.js @@ -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); @@ -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}); }