summaryrefslogtreecommitdiff
path: root/js/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources')
-rw-r--r--js/Sources/CLKINV_f.js2
-rw-r--r--js/Sources/CLKIN_f.js2
-rw-r--r--js/Sources/CLOCK_c.js2
-rw-r--r--js/Sources/CLOCK_f.js2
-rw-r--r--js/Sources/CONST.js2
-rw-r--r--js/Sources/CONST_f.js2
-rw-r--r--js/Sources/CONST_m.js2
-rw-r--r--js/Sources/CURV_f.js2
-rw-r--r--js/Sources/Counter.js2
-rw-r--r--js/Sources/FROMWSB.js2
-rw-r--r--js/Sources/FROMWS_c.js2
-rw-r--r--js/Sources/GENSIN_f.js2
-rw-r--r--js/Sources/GENSQR_f.js2
-rw-r--r--js/Sources/GEN_SQR.js2
-rw-r--r--js/Sources/Ground_g.js2
-rw-r--r--js/Sources/INIMPL_f.js2
-rw-r--r--js/Sources/IN_f.js2
-rw-r--r--js/Sources/Modulo_Count.js2
-rw-r--r--js/Sources/PULSE_SC.js2
-rw-r--r--js/Sources/RAMP.js2
-rw-r--r--js/Sources/RAND_f.js2
-rw-r--r--js/Sources/RAND_m.js2
-rw-r--r--js/Sources/READAU_f.js2
-rw-r--r--js/Sources/READC_f.js2
-rw-r--r--js/Sources/RFILE_f.js2
-rw-r--r--js/Sources/SAWTOOTH_f.js2
-rw-r--r--js/Sources/STEP.js2
-rw-r--r--js/Sources/STEP_FUNCTION.js2
-rw-r--r--js/Sources/SampleCLK.js2
-rw-r--r--js/Sources/Sigbuilder.js2
-rw-r--r--js/Sources/TIME_f.js2
-rw-r--r--js/Sources/TKSCALE.js2
32 files changed, 64 insertions, 0 deletions
diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js
index 9eb73a81..5d68df08 100644
--- a/js/Sources/CLKINV_f.js
+++ b/js/Sources/CLKINV_f.js
@@ -12,6 +12,7 @@ function CLKINV_f() {
exprs = string(prt);
gr_i = [];
this.x = standard_define([1,1],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
CLKINV_f.prototype.details = function CLKINV_f() {
return this.x;
@@ -42,5 +43,6 @@ function CLKINV_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js
index f8cf6735..0e8f5f83 100644
--- a/js/Sources/CLKIN_f.js
+++ b/js/Sources/CLKIN_f.js
@@ -11,6 +11,7 @@ function CLKIN_f() {
model.dep_ut = [false,false];
exprs = string(prt);
this.x = standard_define([1,1],model,exprs," ");
+ return new BasicBlock(this.x);
}
CLKIN_f.prototype.details = function CLKIN_f() {
return this.x;
@@ -41,5 +42,6 @@ function CLKIN_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js
index aac88f72..dde29deb 100644
--- a/js/Sources/CLOCK_c.js
+++ b/js/Sources/CLOCK_c.js
@@ -40,6 +40,7 @@ function CLOCK_c() {
this.x.model.firing = false;
this.x.model.dep_ut = [false,false];
this.x.model.rpar = diagram;
+ return new BasicBlock(this.x);
}
CLOCK_c.prototype.details = function CLOCK_c() {
return this.x;
@@ -90,5 +91,6 @@ function CLOCK_c() {
this.x = arg1;
y = needcompile;
typ = newpar;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index ddfcd81b..97b65820 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -40,6 +40,7 @@ function CLOCK_f() {
this.x.model.firing = false;
this.x.model.dep_ut = [false,false];
this.x.model.rpar = diagram;
+ return new BasicBlock(this.x);
}
CLOCK_f.prototype.details = function CLOCK_f() {
return this.x;
@@ -90,5 +91,6 @@ function CLOCK_f() {
this.x = arg1;
y = needcompile;
typ = newpar;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index 509e6271..35f02d3a 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -12,6 +12,7 @@ function CONST() {
exprs = strcat(sci2exp(C));
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
CONST.prototype.details = function CONST() {
return this.x;
@@ -43,5 +44,6 @@ function CONST() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js
index 8753b046..0030dc8f 100644
--- a/js/Sources/CONST_f.js
+++ b/js/Sources/CONST_f.js
@@ -12,6 +12,7 @@ function CONST_f() {
exprs = strcat(sci2exp(C));
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
CONST_f.prototype.details = function CONST_f() {
return this.x;
@@ -40,5 +41,6 @@ function CONST_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js
index ac1e84ce..8a0bf6a1 100644
--- a/js/Sources/CONST_m.js
+++ b/js/Sources/CONST_m.js
@@ -15,6 +15,7 @@ function CONST_m() {
exprs = sci2exp(C);
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
CONST_m.prototype.details = function CONST_m() {
return this.x;
@@ -69,5 +70,6 @@ function CONST_m() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/CURV_f.js b/js/Sources/CURV_f.js
index cd6199a9..a12186e0 100644
--- a/js/Sources/CURV_f.js
+++ b/js/Sources/CURV_f.js
@@ -17,6 +17,7 @@ function CURV_f() {
model.dep_ut = [false,true];
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
CURV_f.prototype.details = function CURV_f() {
return this.x;
@@ -60,5 +61,6 @@ function CURV_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js
index 5e768e00..3cd43ab3 100644
--- a/js/Sources/Counter.js
+++ b/js/Sources/Counter.js
@@ -16,6 +16,7 @@ function Counter() {
exprs = [[string(minim)],[string(maxim)],[string(rule)]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
Counter.prototype.details = function Counter() {
return this.x;
@@ -47,5 +48,6 @@ function Counter() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/FROMWSB.js b/js/Sources/FROMWSB.js
index e47d854c..7f2a3088 100644
--- a/js/Sources/FROMWSB.js
+++ b/js/Sources/FROMWSB.js
@@ -9,6 +9,7 @@ function FROMWSB() {
model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list());
gr_i = [];
this.x = standard_define([5,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
FROMWSB.prototype.details = function FROMWSB() {
return this.x;
@@ -83,5 +84,6 @@ function FROMWSB() {
}
this.x = arg1;
typ = newpar;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js
index 1b5fa3f0..89e1212c 100644
--- a/js/Sources/FROMWS_c.js
+++ b/js/Sources/FROMWS_c.js
@@ -19,6 +19,7 @@ function FROMWS_c() {
gr_i = [];
exprs = [[string(varnam)],[string(Method)],[string(ZC)],[string(OutEnd)]];
this.x = standard_define([3.5,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
FROMWS_c.prototype.details = function FROMWS_c() {
return this.x;
@@ -64,5 +65,6 @@ function FROMWS_c() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/GENSIN_f.js b/js/Sources/GENSIN_f.js
index 801a5a30..ff5f9ec4 100644
--- a/js/Sources/GENSIN_f.js
+++ b/js/Sources/GENSIN_f.js
@@ -14,6 +14,7 @@ function GENSIN_f() {
exprs = [[string(rpar[1-1])],[string(rpar[2-1])],[string(rpar[3-1])]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
GENSIN_f.prototype.details = function GENSIN_f() {
return this.x;
@@ -45,5 +46,6 @@ function GENSIN_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/GENSQR_f.js b/js/Sources/GENSQR_f.js
index c052eba7..5c32c444 100644
--- a/js/Sources/GENSQR_f.js
+++ b/js/Sources/GENSQR_f.js
@@ -14,6 +14,7 @@ function GENSQR_f() {
exprs = string(Amplitude);
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
GENSQR_f.prototype.details = function GENSQR_f() {
return this.x;
@@ -41,5 +42,6 @@ function GENSQR_f() {
this.x.model = model;
break;
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js
index 4565cb48..ef910eed 100644
--- a/js/Sources/GEN_SQR.js
+++ b/js/Sources/GEN_SQR.js
@@ -48,6 +48,7 @@ function GEN_SQR() {
exprs = [sci2exp(Amin),sci2exp(Amax),sci2exp(rule),sci2exp(F)];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
GEN_SQR.prototype.details = function GEN_SQR() {
return this.x;
@@ -88,5 +89,6 @@ function GEN_SQR() {
ok = false;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/Ground_g.js b/js/Sources/Ground_g.js
index f70f4de8..896029af 100644
--- a/js/Sources/Ground_g.js
+++ b/js/Sources/Ground_g.js
@@ -16,6 +16,7 @@ function Ground_g() {
exprs = [];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
Ground_g.prototype.details = function Ground_g() {
return this.x;
@@ -24,5 +25,6 @@ function Ground_g() {
}
Ground_g.prototype.set = function Ground_g() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js
index 39a8fc91..3b67b166 100644
--- a/js/Sources/INIMPL_f.js
+++ b/js/Sources/INIMPL_f.js
@@ -17,6 +17,7 @@ function INIMPL_f() {
gr_i = [];
this.x = standard_define([1,1],model,exprs,gr_i);
this.x.graphics.out_implicit = ["I"];
+ return new BasicBlock(this.x);
}
INIMPL_f.prototype.details = function INIMPL_f() {
return this.x;
@@ -51,5 +52,6 @@ function INIMPL_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/IN_f.js b/js/Sources/IN_f.js
index b5d4fc06..d6ea593f 100644
--- a/js/Sources/IN_f.js
+++ b/js/Sources/IN_f.js
@@ -13,6 +13,7 @@ function IN_f() {
exprs = sci2exp(prt);
gr_i = [];
this.x = standard_define([1,1],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
IN_f.prototype.details = function IN_f() {
return this.x;
@@ -58,5 +59,6 @@ function IN_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/Modulo_Count.js b/js/Sources/Modulo_Count.js
index c10e7f51..8fc07b39 100644
--- a/js/Sources/Modulo_Count.js
+++ b/js/Sources/Modulo_Count.js
@@ -14,6 +14,7 @@ function Modulo_Count() {
exprs = [[string(ini_c)],[string(base)]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
Modulo_Count.prototype.details = function Modulo_Count() {
return this.x;
@@ -45,5 +46,6 @@ function Modulo_Count() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js
index 51ca49a5..acac3f81 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -43,6 +43,7 @@ function PULSE_SC() {
exprs = [sci2exp(E),sci2exp(W),sci2exp(F),sci2exp(A)];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
PULSE_SC.prototype.details = function PULSE_SC() {
return this.x;
@@ -85,5 +86,6 @@ function PULSE_SC() {
ok = false;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index 7453d2d0..ef936b69 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -17,6 +17,7 @@ function RAMP() {
exprs = [string(rpar)];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
RAMP.prototype.details = function RAMP() {
return this.x;
@@ -43,5 +44,6 @@ function RAMP() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/RAND_f.js b/js/Sources/RAND_f.js
index 901c2e9d..9af2134d 100644
--- a/js/Sources/RAND_f.js
+++ b/js/Sources/RAND_f.js
@@ -18,6 +18,7 @@ function RAND_f() {
exprs = [[string(flag)],[sci2exp(a.slice())],[sci2exp(b.slice())],[string(model.dstate[1-1])]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
RAND_f.prototype.details = function RAND_f() {
return this.x;
@@ -54,5 +55,6 @@ function RAND_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js
index 5c6a35fd..d3c62d7e 100644
--- a/js/Sources/RAND_m.js
+++ b/js/Sources/RAND_m.js
@@ -27,6 +27,7 @@ function RAND_m() {
exprs = [[sci2exp(1)],[string(flag)],[sci2exp([a])],[sci2exp([b])],[sci2exp([model.dstate[1-1],int(rand()*(10^7-1))])]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
RAND_m.prototype.details = function RAND_m() {
return this.x;
@@ -77,5 +78,6 @@ function RAND_m() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js
index 009a3b0e..e7f87a08 100644
--- a/js/Sources/READAU_f.js
+++ b/js/Sources/READAU_f.js
@@ -23,6 +23,7 @@ function READAU_f() {
exprs = [[fname],[string(N)],[string(swap)]];
gr_i = [];
this.x = standard_define([5,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
READAU_f.prototype.details = function READAU_f() {
return this.x;
@@ -80,5 +81,6 @@ function READAU_f() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js
index 7e6bc5e1..74589dfa 100644
--- a/js/Sources/READC_f.js
+++ b/js/Sources/READC_f.js
@@ -27,6 +27,7 @@ function READC_f() {
exprs = [["[]"],[sci2exp(outmask)],[fname],[frmt],[string(M)],[string(N)],[string(offset)],[string(swap)]];
gr_i = [];
this.x = standard_define([4,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
READC_f.prototype.details = function READC_f() {
return this.x;
@@ -114,5 +115,6 @@ function READC_f() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/RFILE_f.js b/js/Sources/RFILE_f.js
index 3038948d..dc0b6a87 100644
--- a/js/Sources/RFILE_f.js
+++ b/js/Sources/RFILE_f.js
@@ -23,6 +23,7 @@ function RFILE_f() {
exprs = [[sci2exp([])],[sci2exp(outmask)],[fname],[frmt],[string(N)],[sci2exp(out)]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
RFILE_f.prototype.details = function RFILE_f() {
return this.x;
@@ -103,5 +104,6 @@ function RFILE_f() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/SAWTOOTH_f.js b/js/Sources/SAWTOOTH_f.js
index 40ab391a..fbfe62dc 100644
--- a/js/Sources/SAWTOOTH_f.js
+++ b/js/Sources/SAWTOOTH_f.js
@@ -11,6 +11,7 @@ function SAWTOOTH_f() {
exprs = " ";
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
SAWTOOTH_f.prototype.details = function SAWTOOTH_f() {
return this.x;
@@ -19,5 +20,6 @@ function SAWTOOTH_f() {
}
SAWTOOTH_f.prototype.set = function SAWTOOTH_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js
index e2f455e6..997ee61e 100644
--- a/js/Sources/STEP.js
+++ b/js/Sources/STEP.js
@@ -16,6 +16,7 @@ function STEP() {
exprs = [[string(1)],[string(rpar)]];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
STEP.prototype.details = function STEP() {
return this.x;
@@ -63,5 +64,6 @@ function STEP() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/STEP_FUNCTION.js b/js/Sources/STEP_FUNCTION.js
index 9b2fe9f8..1c28e304 100644
--- a/js/Sources/STEP_FUNCTION.js
+++ b/js/Sources/STEP_FUNCTION.js
@@ -49,6 +49,7 @@ function STEP_FUNCTION() {
model.rpar = scs_m_1;
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
STEP_FUNCTION.prototype.details = function STEP_FUNCTION() {
return this.x;
@@ -119,5 +120,6 @@ function STEP_FUNCTION() {
this.x = arg1;
y = needcompile;
typ = newpar;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js
index 72175267..672acc54 100644
--- a/js/Sources/SampleCLK.js
+++ b/js/Sources/SampleCLK.js
@@ -10,6 +10,7 @@ function SampleCLK() {
model.dep_ut = [false,false];
exprs = [[sci2exp(1)],[sci2exp(0)]];
this.x = standard_define([2,2],model,exprs," ");
+ return new BasicBlock(this.x);
}
SampleCLK.prototype.details = function SampleCLK() {
return this.x;
@@ -49,5 +50,6 @@ function SampleCLK() {
}
}
needcompile=resume(needcompile)
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/Sigbuilder.js b/js/Sources/Sigbuilder.js
index f27189ff..14a9f768 100644
--- a/js/Sources/Sigbuilder.js
+++ b/js/Sources/Sigbuilder.js
@@ -13,6 +13,7 @@ function Sigbuilder() {
model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list());
gr_i = [];
this.x = standard_define([3,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
Sigbuilder.prototype.details = function Sigbuilder() {
return this.x;
@@ -88,5 +89,6 @@ function Sigbuilder() {
}
this.x = arg1;
typ = newpar;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/TIME_f.js b/js/Sources/TIME_f.js
index 2c9f1ced..16793af5 100644
--- a/js/Sources/TIME_f.js
+++ b/js/Sources/TIME_f.js
@@ -8,6 +8,7 @@ function TIME_f() {
model.dep_ut = [false,true];
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
TIME_f.prototype.details = function TIME_f() {
return this.x;
@@ -16,5 +17,6 @@ function TIME_f() {
}
TIME_f.prototype.set = function TIME_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js
index 6e4b9522..00866c29 100644
--- a/js/Sources/TKSCALE.js
+++ b/js/Sources/TKSCALE.js
@@ -14,6 +14,7 @@ function TKSCALE() {
exprs = [[sci2exp(a)],[sci2exp(b)],[sci2exp(f)]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
TKSCALE.prototype.details = function TKSCALE() {
return this.x;
@@ -32,5 +33,6 @@ function TKSCALE() {
this.x.graphics = graphics;
this.x.model = model;
}
+ return new BasicBlock(this.x);
}
}