From f389f174481df676c841ebcc87a7b8b313921bbc Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 17 Sep 2018 16:11:31 +0530 Subject: add importset and getContainer to combined.js --- js/IntegerOp/BITSET.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'js/IntegerOp/BITSET.js') diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js index 46a5273b..fa2e3276 100644 --- a/js/IntegerOp/BITSET.js +++ b/js/IntegerOp/BITSET.js @@ -97,4 +97,11 @@ function BITSET() { BITSET.prototype.get_popup_title = function BITSET() { return this.set_param_popup_title; } + BITSET.prototype.importset = function BITSET() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Datatype = ary[0]; + this.bit = ary[1]; + } + BITSET.prototype.getContainer = function BITSET() { return new BasicBlock(this.x); } } -- cgit