/* This C file is generated by NIT to compile module standard___exec. */
#include "standard___exec._sep.h"
+static const char LOCATE_standard___exec___Process___id[] = "exec::Process::id";
val_t standard___exec___Process___id(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 23;
+ fra.me.line = 22;
fra.me.meth = LOCATE_standard___exec___Process___id;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:24 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 24);
- }
- fra.me.REG[0] = ATTR_standard___exec___Process____data(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:23 */
+ fra.me.REG[0] = CALL_standard___exec___Process___data(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___exec___NativeProcess___id(fra.me.REG[0])(fra.me.REG[0]);
goto label1;
label1: while(0);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___Process___is_finished[] = "exec::Process::is_finished";
val_t standard___exec___Process___is_finished(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 26;
+ fra.me.line = 25;
fra.me.meth = LOCATE_standard___exec___Process___is_finished;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:27 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 27);
- }
- fra.me.REG[0] = ATTR_standard___exec___Process____data(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:26 */
+ fra.me.REG[0] = CALL_standard___exec___Process___data(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___exec___NativeProcess___is_finished(fra.me.REG[0])(fra.me.REG[0]);
goto label1;
label1: while(0);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___Process___wait[] = "exec::Process::wait";
void standard___exec___Process___wait(val_t p0){
struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 29;
+ fra.me.line = 28;
fra.me.meth = LOCATE_standard___exec___Process___wait;
fra.me.has_broke = 0;
fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:32 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 32);
- }
- fra.me.REG[1] = ATTR_standard___exec___Process____data(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:31 */
+ fra.me.REG[1] = CALL_standard___exec___Process___data(fra.me.REG[0])(fra.me.REG[0]);
CALL_standard___exec___NativeProcess___wait(fra.me.REG[1])(fra.me.REG[1]);
- /* ./../lib/standard//exec.nit:33 */
+ /* ../lib/standard/exec.nit:32 */
REGB0 = CALL_standard___exec___Process___is_finished(fra.me.REG[0])(fra.me.REG[0]);
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Assert failed", NULL, LOCATE_standard___exec, 33);
+ nit_abort("Assert failed", NULL, LOCATE_standard___exec, 32);
}
stack_frame_head = fra.me.prev;
return;
}
+static const char LOCATE_standard___exec___Process___status[] = "exec::Process::status";
val_t standard___exec___Process___status(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 36;
+ fra.me.line = 35;
fra.me.meth = LOCATE_standard___exec___Process___status;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:39 */
+ /* ../lib/standard/exec.nit:38 */
REGB0 = CALL_standard___exec___Process___is_finished(fra.me.REG[0])(fra.me.REG[0]);
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Assert failed", NULL, LOCATE_standard___exec, 39);
+ nit_abort("Assert failed", NULL, LOCATE_standard___exec, 38);
}
- /* ./../lib/standard//exec.nit:40 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 40);
- }
- fra.me.REG[0] = ATTR_standard___exec___Process____data(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:39 */
+ fra.me.REG[0] = CALL_standard___exec___Process___data(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___exec___NativeProcess___status(fra.me.REG[0])(fra.me.REG[0]);
goto label1;
label1: while(0);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___Process___init[] = "exec::Process::init";
void standard___exec___Process___init(val_t p0, val_t p1, val_t p2, int* init_table){
int itpos0 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___Process].i;
struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
if (init_table[itpos0]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 43;
+ fra.me.line = 42;
fra.me.meth = LOCATE_standard___exec___Process___init;
fra.me.has_broke = 0;
fra.me.REG_size = 4;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[2] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
fra.me.REG[2] = p2;
- /* ./../lib/standard//exec.nit:43 */
+ /* ../lib/standard/exec.nit:42 */
fra.me.REG[3] = fra.me.REG[0];
REGB0 = TAG_Bool(VAL_ISA(fra.me.REG[2], COLOR_standard___collection___array___Array, ID_standard___collection___array___Array)) /*cast Array[String]*/;
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Cast failed", NULL, LOCATE_standard___exec, 43);
+ nit_abort("Cast failed", NULL, LOCATE_standard___exec, 42);
}
- /* ./../lib/standard//exec.nit:46 */
+ /* ../lib/standard/exec.nit:45 */
REGB0 = TAG_Int(0);
CALL_standard___exec___Process___execute(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1], fra.me.REG[2], REGB0, init_table);
stack_frame_head = fra.me.prev;
init_table[itpos0] = 1;
return;
}
+static const char LOCATE_standard___exec___Process___init_[] = "exec::Process::init_";
void standard___exec___Process___init_(val_t p0, val_t p1, int* init_table){
int itpos1 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___Process].i;
struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
if (init_table[itpos1]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 49;
+ fra.me.line = 48;
fra.me.meth = LOCATE_standard___exec___Process___init_;
fra.me.has_broke = 0;
fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
- /* ./../lib/standard//exec.nit:52 */
+ /* ../lib/standard/exec.nit:51 */
REGB0 = TAG_Int(0);
CALL_standard___exec___Process___execute(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], NIT_NULL, REGB0, init_table);
stack_frame_head = fra.me.prev;
init_table[itpos1] = 1;
return;
}
+static const char LOCATE_standard___exec___Process___execute[] = "exec::Process::execute";
void standard___exec___Process___execute(val_t p0, val_t p1, val_t p2, val_t p3, int* init_table){
int itpos2 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___Process].i;
struct {struct stack_frame_t me; val_t MORE_REG[6];} fra;
if (init_table[itpos2]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 55;
+ fra.me.line = 54;
fra.me.meth = LOCATE_standard___exec___Process___execute;
fra.me.has_broke = 0;
fra.me.REG_size = 7;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[2] = NIT_NULL;
fra.me.REG[1] = p1;
fra.me.REG[2] = p2;
REGB0 = p3;
- /* ./../lib/standard//exec.nit:58 */
+ /* ../lib/standard/exec.nit:57 */
fra.me.REG[3] = NEW_Buffer_standard___string___Buffer___init();
- /* ./../lib/standard//exec.nit:59 */
+ /* ../lib/standard/exec.nit:58 */
REGB1 = TAG_Int(1);
- /* ./../lib/standard//exec.nit:60 */
+ /* ../lib/standard/exec.nit:59 */
CALL_standard___collection___abstract_collection___Sequence___append(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
- /* ./../lib/standard//exec.nit:61 */
+ /* ../lib/standard/exec.nit:60 */
REGB2 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
if (UNTAG_Bool(REGB2)) {
} else {
REGB3 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
if (UNTAG_Bool(REGB3)) {
- REGB3 = TAG_Bool(false);
+ REGB3 = TAG_Bool(0);
REGB2 = REGB3;
} else {
REGB3 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
}
REGB2 = TAG_Bool(!UNTAG_Bool(REGB2));
if (UNTAG_Bool(REGB2)) {
- /* ./../lib/standard//exec.nit:62 */
+ /* ../lib/standard/exec.nit:61 */
REGB2 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
if (UNTAG_Bool(REGB2)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___exec, 62);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___exec, 61);
}
- /* ./../lib/standard//collection//array.nit:266 */
+ /* ../lib/standard/collection/array.nit:266 */
fra.me.REG[4] = fra.me.REG[2];
- /* ./../lib/standard//collection//array.nit:269 */
+ /* ../lib/standard/collection/array.nit:269 */
REGB2 = TAG_Int(0);
- /* ./../lib/standard//collection//array.nit:270 */
+ /* ../lib/standard/collection/array.nit:270 */
REGB3 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
if (UNTAG_Bool(REGB3)) {
} else {
nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 270);
}
REGB3 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4]);
- /* ./../lib/standard//collection//array.nit:271 */
+ /* ../lib/standard/collection/array.nit:271 */
fra.me.REG[5] = ATTR_standard___collection___array___Array____items(fra.me.REG[4]);
- /* ./../lib/standard//collection//array.nit:272 */
+ /* ../lib/standard/collection/array.nit:272 */
while(1) {
- /* ./../lib/standard//collection//array.nit:24 */
+ /* ../lib/standard/collection/array.nit:24 */
REGB3 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
if (UNTAG_Bool(REGB3)) {
} else {
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ./../lib/standard//kernel.nit:232 */
+ /* ../lib/standard/kernel.nit:235 */
REGB3 = TAG_Bool(UNTAG_Int(REGB2)<UNTAG_Int(REGB3));
- /* ./../lib/standard//collection//array.nit:272 */
+ /* ../lib/standard/collection/array.nit:272 */
if (UNTAG_Bool(REGB3)) {
- /* ./../lib/standard//collection//array.nit:273 */
+ /* ../lib/standard/collection/array.nit:273 */
REGB3 = TAG_Bool(fra.me.REG[5]==NIT_NULL);
if (UNTAG_Bool(REGB3)) {
nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 273);
}
- /* ./../lib/standard//collection//array.nit:718 */
+ /* ../lib/standard/collection/array.nit:724 */
fra.me.REG[6] = ((Nit_NativeArray)fra.me.REG[5])->val[UNTAG_Int(REGB2)];
- /* ./../lib/standard//exec.nit:63 */
+ /* ../lib/standard/exec.nit:62 */
REGB3 = TAG_Char('\0');
CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], REGB3);
- /* ./../lib/standard//exec.nit:64 */
+ /* ../lib/standard/exec.nit:63 */
CALL_standard___collection___abstract_collection___Sequence___append(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[6]);
- /* ./../lib/standard//collection//array.nit:274 */
+ /* ../lib/standard/collection/array.nit:274 */
REGB3 = TAG_Int(1);
- /* ./../lib/standard//kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:238 */
REGB3 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB3));
- /* ./../lib/standard//collection//array.nit:274 */
+ /* ../lib/standard/collection/array.nit:274 */
REGB2 = REGB3;
} else {
- /* ./../lib/standard//collection//array.nit:272 */
+ /* ../lib/standard/collection/array.nit:272 */
goto label1;
}
}
label1: while(0);
- /* ./../lib/standard//exec.nit:66 */
+ /* ../lib/standard/exec.nit:65 */
REGB2 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
if (UNTAG_Bool(REGB2)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___exec, 66);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___exec, 65);
}
- /* ./../lib/standard//collection//array.nit:24 */
+ /* ../lib/standard/collection/array.nit:24 */
REGB2 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
if (UNTAG_Bool(REGB2)) {
} else {
nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 24);
}
REGB2 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[2]);
- /* ./../lib/standard//kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:238 */
REGB2 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB2));
- /* ./../lib/standard//exec.nit:66 */
+ /* ../lib/standard/exec.nit:65 */
REGB1 = REGB2;
}
- /* ./../lib/standard//exec.nit:68 */
+ /* ../lib/standard/exec.nit:67 */
fra.me.REG[1] = CALL_standard___string___String___to_cstring(fra.me.REG[1])(fra.me.REG[1]);
fra.me.REG[3] = CALL_standard___string___Object___to_s(fra.me.REG[3])(fra.me.REG[3]);
fra.me.REG[3] = CALL_standard___string___String___to_cstring(fra.me.REG[3])(fra.me.REG[3]);
fra.me.REG[3] = CALL_standard___exec___Process___basic_exec_execute(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], fra.me.REG[3], REGB1, REGB0);
- ATTR_standard___exec___Process____data(fra.me.REG[0]) = fra.me.REG[3];
+ CALL_standard___exec___Process___data__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[3]);
stack_frame_head = fra.me.prev;
init_table[itpos2] = 1;
return;
}
+static const char LOCATE_standard___exec___Process___data[] = "exec::Process::data";
+val_t standard___exec___Process___data(val_t p0){
+ struct {struct stack_frame_t me;} fra;
+ val_t REGB0;
+ val_t tmp;
+ fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+ fra.me.file = LOCATE_standard___exec;
+ fra.me.line = 70;
+ fra.me.meth = LOCATE_standard___exec___Process___data;
+ fra.me.has_broke = 0;
+ fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
+ fra.me.REG[0] = NIT_NULL;
+ fra.me.REG[0] = p0;
+ /* ../lib/standard/exec.nit:70 */
+ REGB0 = TAG_Bool(ATTR_standard___exec___Process_____atdata(fra.me.REG[0])!=NIT_NULL);
+ if (UNTAG_Bool(REGB0)) {
+ } else {
+ nit_abort("Uninitialized attribute %s", "@data", LOCATE_standard___exec, 70);
+ }
+ fra.me.REG[0] = ATTR_standard___exec___Process_____atdata(fra.me.REG[0]);
+ stack_frame_head = fra.me.prev;
+ return fra.me.REG[0];
+}
+static const char LOCATE_standard___exec___Process___data__eq[] = "exec::Process::data=";
+void standard___exec___Process___data__eq(val_t p0, val_t p1){
+ struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+ val_t tmp;
+ fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+ fra.me.file = LOCATE_standard___exec;
+ fra.me.line = 70;
+ fra.me.meth = LOCATE_standard___exec___Process___data__eq;
+ fra.me.has_broke = 0;
+ fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
+ fra.me.REG[0] = NIT_NULL;
+ fra.me.REG[1] = NIT_NULL;
+ fra.me.REG[0] = p0;
+ fra.me.REG[1] = p1;
+ /* ../lib/standard/exec.nit:70 */
+ ATTR_standard___exec___Process_____atdata(fra.me.REG[0]) = fra.me.REG[1];
+ stack_frame_head = fra.me.prev;
+ return;
+}
+static const char LOCATE_standard___exec___Process___basic_exec_execute[] = "exec::Process::basic_exec_execute";
val_t standard___exec___Process___basic_exec_execute(val_t p0, val_t p1, val_t p2, val_t p3, val_t p4){
struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 72;
+ fra.me.line = 71;
fra.me.meth = LOCATE_standard___exec___Process___basic_exec_execute;
fra.me.has_broke = 0;
fra.me.REG_size = 3;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[2] = NIT_NULL;
fra.me.REG[2] = p2;
REGB0 = p3;
REGB1 = p4;
- /* ./../lib/standard//exec.nit:72 */
+ /* ../lib/standard/exec.nit:71 */
fra.me.REG[2] = Process_basic_exec_execute___out(fra.me.REG[0], fra.me.REG[1], fra.me.REG[2], REGB0, REGB1);
stack_frame_head = fra.me.prev;
return fra.me.REG[2];
}
-void standard___exec___IProcess___close(val_t p0){
+static const char LOCATE_standard___exec___IProcess___stream_in[] = "exec::IProcess::stream_in";
+val_t standard___exec___IProcess___stream_in(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 81;
- fra.me.meth = LOCATE_standard___exec___IProcess___close;
+ fra.me.line = 78;
+ fra.me.meth = LOCATE_standard___exec___IProcess___stream_in;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:81 */
- REGB0 = TAG_Bool(ATTR_standard___exec___IProcess____in(fra.me.REG[0])!=NIT_NULL);
+ /* ../lib/standard/exec.nit:78 */
+ REGB0 = TAG_Bool(ATTR_standard___exec___IProcess_____atstream_in(fra.me.REG[0])!=NIT_NULL);
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Uninitialized attribute %s", "_in", LOCATE_standard___exec, 81);
+ nit_abort("Uninitialized attribute %s", "@stream_in", LOCATE_standard___exec, 78);
}
- fra.me.REG[0] = ATTR_standard___exec___IProcess____in(fra.me.REG[0]);
+ fra.me.REG[0] = ATTR_standard___exec___IProcess_____atstream_in(fra.me.REG[0]);
+ stack_frame_head = fra.me.prev;
+ return fra.me.REG[0];
+}
+static const char LOCATE_standard___exec___IProcess___stream_in__eq[] = "exec::IProcess::stream_in=";
+void standard___exec___IProcess___stream_in__eq(val_t p0, val_t p1){
+ struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+ val_t tmp;
+ fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+ fra.me.file = LOCATE_standard___exec;
+ fra.me.line = 78;
+ fra.me.meth = LOCATE_standard___exec___IProcess___stream_in__eq;
+ fra.me.has_broke = 0;
+ fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
+ fra.me.REG[0] = NIT_NULL;
+ fra.me.REG[1] = NIT_NULL;
+ fra.me.REG[0] = p0;
+ fra.me.REG[1] = p1;
+ /* ../lib/standard/exec.nit:78 */
+ ATTR_standard___exec___IProcess_____atstream_in(fra.me.REG[0]) = fra.me.REG[1];
+ stack_frame_head = fra.me.prev;
+ return;
+}
+static const char LOCATE_standard___exec___IProcess___close[] = "exec::IProcess::(stream::IOS::close)";
+void standard___exec___IProcess___close(val_t p0){
+ struct {struct stack_frame_t me;} fra;
+ val_t tmp;
+ fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+ fra.me.file = LOCATE_standard___exec;
+ fra.me.line = 80;
+ fra.me.meth = LOCATE_standard___exec___IProcess___close;
+ fra.me.has_broke = 0;
+ fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
+ fra.me.REG[0] = NIT_NULL;
+ fra.me.REG[0] = p0;
+ /* ../lib/standard/exec.nit:80 */
+ fra.me.REG[0] = CALL_standard___exec___IProcess___stream_in(fra.me.REG[0])(fra.me.REG[0]);
CALL_standard___stream___IOS___close(fra.me.REG[0])(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return;
}
+static const char LOCATE_standard___exec___IProcess___read_char[] = "exec::IProcess::(stream::IStream::read_char)";
val_t standard___exec___IProcess___read_char(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 83;
+ fra.me.line = 82;
fra.me.meth = LOCATE_standard___exec___IProcess___read_char;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:83 */
- REGB0 = TAG_Bool(ATTR_standard___exec___IProcess____in(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_in", LOCATE_standard___exec, 83);
- }
- fra.me.REG[0] = ATTR_standard___exec___IProcess____in(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:82 */
+ fra.me.REG[0] = CALL_standard___exec___IProcess___stream_in(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___stream___IStream___read_char(fra.me.REG[0])(fra.me.REG[0]);
goto label1;
label1: while(0);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___IProcess___eof[] = "exec::IProcess::(stream::IStream::eof)";
val_t standard___exec___IProcess___eof(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 85;
+ fra.me.line = 84;
fra.me.meth = LOCATE_standard___exec___IProcess___eof;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:85 */
- REGB0 = TAG_Bool(ATTR_standard___exec___IProcess____in(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_in", LOCATE_standard___exec, 85);
- }
- fra.me.REG[0] = ATTR_standard___exec___IProcess____in(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:84 */
+ fra.me.REG[0] = CALL_standard___exec___IProcess___stream_in(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___stream___IStream___eof(fra.me.REG[0])(fra.me.REG[0]);
goto label1;
label1: while(0);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___IProcess___init[] = "exec::IProcess::init";
void standard___exec___IProcess___init(val_t p0, val_t p1, val_t p2, int* init_table){
int itpos3 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___IProcess].i;
struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
if (init_table[itpos3]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 87;
+ fra.me.line = 86;
fra.me.meth = LOCATE_standard___exec___IProcess___init;
fra.me.has_broke = 0;
fra.me.REG_size = 4;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[2] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
fra.me.REG[2] = p2;
- /* ./../lib/standard//exec.nit:87 */
+ /* ../lib/standard/exec.nit:86 */
fra.me.REG[3] = fra.me.REG[0];
REGB0 = TAG_Bool(VAL_ISA(fra.me.REG[2], COLOR_standard___collection___array___Array, ID_standard___collection___array___Array)) /*cast Array[String]*/;
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Cast failed", NULL, LOCATE_standard___exec, 87);
+ nit_abort("Cast failed", NULL, LOCATE_standard___exec, 86);
}
- /* ./../lib/standard//exec.nit:89 */
+ /* ../lib/standard/exec.nit:88 */
REGB0 = TAG_Int(2);
CALL_standard___exec___Process___execute(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1], fra.me.REG[2], REGB0, init_table);
- /* ./../lib/standard//exec.nit:90 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[3])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 90);
- }
- fra.me.REG[2] = ATTR_standard___exec___Process____data(fra.me.REG[3]);
+ /* ../lib/standard/exec.nit:89 */
+ fra.me.REG[2] = CALL_standard___exec___Process___data(fra.me.REG[3])(fra.me.REG[3]);
REGB0 = CALL_standard___exec___NativeProcess___out_fd(fra.me.REG[2])(fra.me.REG[2]);
fra.me.REG[2] = NEW_FDIStream_standard___stream___FDIStream___init(REGB0);
- ATTR_standard___exec___IProcess____in(fra.me.REG[3]) = fra.me.REG[2];
+ CALL_standard___exec___IProcess___stream_in__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[2]);
stack_frame_head = fra.me.prev;
init_table[itpos3] = 1;
return;
}
+static const char LOCATE_standard___exec___IProcess___init_[] = "exec::IProcess::init_";
void standard___exec___IProcess___init_(val_t p0, val_t p1, int* init_table){
int itpos4 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___IProcess].i;
struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
if (init_table[itpos4]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 93;
+ fra.me.line = 92;
fra.me.meth = LOCATE_standard___exec___IProcess___init_;
fra.me.has_broke = 0;
fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
- /* ./../lib/standard//exec.nit:95 */
+ /* ../lib/standard/exec.nit:94 */
REGB0 = TAG_Int(2);
CALL_standard___exec___Process___execute(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], NIT_NULL, REGB0, init_table);
- /* ./../lib/standard//exec.nit:96 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 96);
- }
- fra.me.REG[1] = ATTR_standard___exec___Process____data(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:95 */
+ fra.me.REG[1] = CALL_standard___exec___Process___data(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___exec___NativeProcess___out_fd(fra.me.REG[1])(fra.me.REG[1]);
fra.me.REG[1] = NEW_FDIStream_standard___stream___FDIStream___init(REGB0);
- ATTR_standard___exec___IProcess____in(fra.me.REG[0]) = fra.me.REG[1];
+ CALL_standard___exec___IProcess___stream_in__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
stack_frame_head = fra.me.prev;
init_table[itpos4] = 1;
return;
}
-void standard___exec___OProcess___close(val_t p0){
+static const char LOCATE_standard___exec___OProcess___stream_out[] = "exec::OProcess::stream_out";
+val_t standard___exec___OProcess___stream_out(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 106;
- fra.me.meth = LOCATE_standard___exec___OProcess___close;
+ fra.me.line = 103;
+ fra.me.meth = LOCATE_standard___exec___OProcess___stream_out;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:106 */
- REGB0 = TAG_Bool(ATTR_standard___exec___OProcess____out(fra.me.REG[0])!=NIT_NULL);
+ /* ../lib/standard/exec.nit:103 */
+ REGB0 = TAG_Bool(ATTR_standard___exec___OProcess_____atstream_out(fra.me.REG[0])!=NIT_NULL);
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Uninitialized attribute %s", "_out", LOCATE_standard___exec, 106);
+ nit_abort("Uninitialized attribute %s", "@stream_out", LOCATE_standard___exec, 103);
}
- fra.me.REG[0] = ATTR_standard___exec___OProcess____out(fra.me.REG[0]);
+ fra.me.REG[0] = ATTR_standard___exec___OProcess_____atstream_out(fra.me.REG[0]);
+ stack_frame_head = fra.me.prev;
+ return fra.me.REG[0];
+}
+static const char LOCATE_standard___exec___OProcess___stream_out__eq[] = "exec::OProcess::stream_out=";
+void standard___exec___OProcess___stream_out__eq(val_t p0, val_t p1){
+ struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+ val_t tmp;
+ fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+ fra.me.file = LOCATE_standard___exec;
+ fra.me.line = 103;
+ fra.me.meth = LOCATE_standard___exec___OProcess___stream_out__eq;
+ fra.me.has_broke = 0;
+ fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
+ fra.me.REG[0] = NIT_NULL;
+ fra.me.REG[1] = NIT_NULL;
+ fra.me.REG[0] = p0;
+ fra.me.REG[1] = p1;
+ /* ../lib/standard/exec.nit:103 */
+ ATTR_standard___exec___OProcess_____atstream_out(fra.me.REG[0]) = fra.me.REG[1];
+ stack_frame_head = fra.me.prev;
+ return;
+}
+static const char LOCATE_standard___exec___OProcess___close[] = "exec::OProcess::(stream::IOS::close)";
+void standard___exec___OProcess___close(val_t p0){
+ struct {struct stack_frame_t me;} fra;
+ val_t tmp;
+ fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+ fra.me.file = LOCATE_standard___exec;
+ fra.me.line = 105;
+ fra.me.meth = LOCATE_standard___exec___OProcess___close;
+ fra.me.has_broke = 0;
+ fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
+ fra.me.REG[0] = NIT_NULL;
+ fra.me.REG[0] = p0;
+ /* ../lib/standard/exec.nit:105 */
+ fra.me.REG[0] = CALL_standard___exec___OProcess___stream_out(fra.me.REG[0])(fra.me.REG[0]);
CALL_standard___stream___IOS___close(fra.me.REG[0])(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return;
}
+static const char LOCATE_standard___exec___OProcess___is_writable[] = "exec::OProcess::(stream::OStream::is_writable)";
val_t standard___exec___OProcess___is_writable(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 108;
+ fra.me.line = 107;
fra.me.meth = LOCATE_standard___exec___OProcess___is_writable;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:108 */
- REGB0 = TAG_Bool(ATTR_standard___exec___OProcess____out(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_out", LOCATE_standard___exec, 108);
- }
- fra.me.REG[0] = ATTR_standard___exec___OProcess____out(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:107 */
+ fra.me.REG[0] = CALL_standard___exec___OProcess___stream_out(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___stream___OStream___is_writable(fra.me.REG[0])(fra.me.REG[0]);
goto label1;
label1: while(0);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___OProcess___write[] = "exec::OProcess::(stream::OStream::write)";
void standard___exec___OProcess___write(val_t p0, val_t p1){
struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
- val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 110;
+ fra.me.line = 109;
fra.me.meth = LOCATE_standard___exec___OProcess___write;
fra.me.has_broke = 0;
fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
- /* ./../lib/standard//exec.nit:110 */
- REGB0 = TAG_Bool(ATTR_standard___exec___OProcess____out(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_out", LOCATE_standard___exec, 110);
- }
- fra.me.REG[0] = ATTR_standard___exec___OProcess____out(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:109 */
+ fra.me.REG[0] = CALL_standard___exec___OProcess___stream_out(fra.me.REG[0])(fra.me.REG[0]);
CALL_standard___stream___OStream___write(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
stack_frame_head = fra.me.prev;
return;
}
+static const char LOCATE_standard___exec___OProcess___init[] = "exec::OProcess::init";
void standard___exec___OProcess___init(val_t p0, val_t p1, val_t p2, int* init_table){
int itpos5 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___OProcess].i;
struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
if (init_table[itpos5]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 112;
+ fra.me.line = 111;
fra.me.meth = LOCATE_standard___exec___OProcess___init;
fra.me.has_broke = 0;
fra.me.REG_size = 4;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[2] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
fra.me.REG[2] = p2;
- /* ./../lib/standard//exec.nit:112 */
+ /* ../lib/standard/exec.nit:111 */
fra.me.REG[3] = fra.me.REG[0];
REGB0 = TAG_Bool(VAL_ISA(fra.me.REG[2], COLOR_standard___collection___array___Array, ID_standard___collection___array___Array)) /*cast Array[String]*/;
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Cast failed", NULL, LOCATE_standard___exec, 112);
+ nit_abort("Cast failed", NULL, LOCATE_standard___exec, 111);
}
- /* ./../lib/standard//exec.nit:114 */
+ /* ../lib/standard/exec.nit:113 */
REGB0 = TAG_Int(1);
CALL_standard___exec___Process___execute(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1], fra.me.REG[2], REGB0, init_table);
- /* ./../lib/standard//exec.nit:115 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[3])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 115);
- }
- fra.me.REG[2] = ATTR_standard___exec___Process____data(fra.me.REG[3]);
+ /* ../lib/standard/exec.nit:114 */
+ fra.me.REG[2] = CALL_standard___exec___Process___data(fra.me.REG[3])(fra.me.REG[3]);
REGB0 = CALL_standard___exec___NativeProcess___in_fd(fra.me.REG[2])(fra.me.REG[2]);
fra.me.REG[2] = NEW_FDOStream_standard___stream___FDOStream___init(REGB0);
- ATTR_standard___exec___OProcess____out(fra.me.REG[3]) = fra.me.REG[2];
+ CALL_standard___exec___OProcess___stream_out__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[2]);
stack_frame_head = fra.me.prev;
init_table[itpos5] = 1;
return;
}
+static const char LOCATE_standard___exec___OProcess___init_[] = "exec::OProcess::init_";
void standard___exec___OProcess___init_(val_t p0, val_t p1, int* init_table){
int itpos6 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___OProcess].i;
struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
if (init_table[itpos6]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 118;
+ fra.me.line = 117;
fra.me.meth = LOCATE_standard___exec___OProcess___init_;
fra.me.has_broke = 0;
fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
- /* ./../lib/standard//exec.nit:120 */
+ /* ../lib/standard/exec.nit:119 */
REGB0 = TAG_Int(1);
CALL_standard___exec___Process___execute(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], NIT_NULL, REGB0, init_table);
- /* ./../lib/standard//exec.nit:121 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 121);
- }
- fra.me.REG[1] = ATTR_standard___exec___Process____data(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:120 */
+ fra.me.REG[1] = CALL_standard___exec___Process___data(fra.me.REG[0])(fra.me.REG[0]);
REGB0 = CALL_standard___exec___NativeProcess___in_fd(fra.me.REG[1])(fra.me.REG[1]);
fra.me.REG[1] = NEW_FDOStream_standard___stream___FDOStream___init(REGB0);
- ATTR_standard___exec___OProcess____out(fra.me.REG[0]) = fra.me.REG[1];
+ CALL_standard___exec___OProcess___stream_out__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
stack_frame_head = fra.me.prev;
init_table[itpos6] = 1;
return;
}
+static const char LOCATE_standard___exec___IOProcess___close[] = "exec::IOProcess::(stream::IOS::close)";
void standard___exec___IOProcess___close(val_t p0){
struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
- val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 131;
+ fra.me.line = 130;
fra.me.meth = LOCATE_standard___exec___IOProcess___close;
fra.me.has_broke = 0;
fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:133 */
- REGB0 = TAG_Bool(ATTR_standard___exec___IProcess____in(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_in", LOCATE_standard___exec, 133);
- }
- fra.me.REG[1] = ATTR_standard___exec___IProcess____in(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:132 */
+ fra.me.REG[1] = CALL_standard___exec___IProcess___stream_in(fra.me.REG[0])(fra.me.REG[0]);
CALL_standard___stream___IOS___close(fra.me.REG[1])(fra.me.REG[1]);
- /* ./../lib/standard//exec.nit:134 */
- REGB0 = TAG_Bool(ATTR_standard___exec___OProcess____out(fra.me.REG[0])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_out", LOCATE_standard___exec, 134);
- }
- fra.me.REG[0] = ATTR_standard___exec___OProcess____out(fra.me.REG[0]);
+ /* ../lib/standard/exec.nit:133 */
+ fra.me.REG[0] = CALL_standard___exec___OProcess___stream_out(fra.me.REG[0])(fra.me.REG[0]);
CALL_standard___stream___IOS___close(fra.me.REG[0])(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return;
}
+static const char LOCATE_standard___exec___IOProcess___init[] = "exec::IOProcess::init";
void standard___exec___IOProcess___init(val_t p0, val_t p1, val_t p2, int* init_table){
int itpos7 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___IOProcess].i;
struct {struct stack_frame_t me; val_t MORE_REG[5];} fra;
if (init_table[itpos7]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 137;
+ fra.me.line = 136;
fra.me.meth = LOCATE_standard___exec___IOProcess___init;
fra.me.has_broke = 0;
fra.me.REG_size = 6;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[2] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
fra.me.REG[2] = p2;
- /* ./../lib/standard//exec.nit:137 */
+ /* ../lib/standard/exec.nit:136 */
fra.me.REG[3] = fra.me.REG[0];
fra.me.REG[4] = fra.me.REG[1];
REGB0 = TAG_Bool(VAL_ISA(fra.me.REG[2], COLOR_standard___collection___array___Array, ID_standard___collection___array___Array)) /*cast Array[String]*/;
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Cast failed", NULL, LOCATE_standard___exec, 137);
+ nit_abort("Cast failed", NULL, LOCATE_standard___exec, 136);
}
fra.me.REG[5] = fra.me.REG[2];
- /* ./../lib/standard//exec.nit:139 */
+ /* ../lib/standard/exec.nit:138 */
REGB0 = TAG_Int(3);
CALL_standard___exec___Process___execute(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[4], fra.me.REG[5], REGB0, init_table);
CALL_standard___exec___IProcess___init(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], fra.me.REG[2], init_table);
CALL_standard___exec___OProcess___init(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], fra.me.REG[2], init_table);
- /* ./../lib/standard//exec.nit:140 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[3])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 140);
- }
- fra.me.REG[2] = ATTR_standard___exec___Process____data(fra.me.REG[3]);
+ /* ../lib/standard/exec.nit:139 */
+ fra.me.REG[2] = CALL_standard___exec___Process___data(fra.me.REG[3])(fra.me.REG[3]);
REGB0 = CALL_standard___exec___NativeProcess___out_fd(fra.me.REG[2])(fra.me.REG[2]);
fra.me.REG[2] = NEW_FDIStream_standard___stream___FDIStream___init(REGB0);
- ATTR_standard___exec___IProcess____in(fra.me.REG[3]) = fra.me.REG[2];
- /* ./../lib/standard//exec.nit:141 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[3])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 141);
- }
- fra.me.REG[2] = ATTR_standard___exec___Process____data(fra.me.REG[3]);
+ CALL_standard___exec___IProcess___stream_in__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[2]);
+ /* ../lib/standard/exec.nit:140 */
+ fra.me.REG[2] = CALL_standard___exec___Process___data(fra.me.REG[3])(fra.me.REG[3]);
REGB0 = CALL_standard___exec___NativeProcess___in_fd(fra.me.REG[2])(fra.me.REG[2]);
fra.me.REG[2] = NEW_FDOStream_standard___stream___FDOStream___init(REGB0);
- ATTR_standard___exec___OProcess____out(fra.me.REG[3]) = fra.me.REG[2];
+ CALL_standard___exec___OProcess___stream_out__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[2]);
stack_frame_head = fra.me.prev;
init_table[itpos7] = 1;
return;
}
+static const char LOCATE_standard___exec___IOProcess___init_[] = "exec::IOProcess::init_";
void standard___exec___IOProcess___init_(val_t p0, val_t p1, int* init_table){
int itpos8 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_standard___exec___IOProcess].i;
struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
if (init_table[itpos8]) return;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 144;
+ fra.me.line = 143;
fra.me.meth = LOCATE_standard___exec___IOProcess___init_;
fra.me.has_broke = 0;
fra.me.REG_size = 4;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[2] = NIT_NULL;
fra.me.REG[3] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
- /* ./../lib/standard//exec.nit:144 */
+ /* ../lib/standard/exec.nit:143 */
fra.me.REG[2] = fra.me.REG[0];
fra.me.REG[3] = fra.me.REG[1];
- /* ./../lib/standard//exec.nit:146 */
+ /* ../lib/standard/exec.nit:145 */
REGB0 = TAG_Int(3);
CALL_standard___exec___Process___execute(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3], NIT_NULL, REGB0, init_table);
CALL_standard___exec___IProcess___init_(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], init_table);
CALL_standard___exec___OProcess___init_(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], init_table);
- /* ./../lib/standard//exec.nit:147 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[2])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 147);
- }
- fra.me.REG[1] = ATTR_standard___exec___Process____data(fra.me.REG[2]);
+ /* ../lib/standard/exec.nit:146 */
+ fra.me.REG[1] = CALL_standard___exec___Process___data(fra.me.REG[2])(fra.me.REG[2]);
REGB0 = CALL_standard___exec___NativeProcess___out_fd(fra.me.REG[1])(fra.me.REG[1]);
fra.me.REG[1] = NEW_FDIStream_standard___stream___FDIStream___init(REGB0);
- ATTR_standard___exec___IProcess____in(fra.me.REG[2]) = fra.me.REG[1];
- /* ./../lib/standard//exec.nit:148 */
- REGB0 = TAG_Bool(ATTR_standard___exec___Process____data(fra.me.REG[2])!=NIT_NULL);
- if (UNTAG_Bool(REGB0)) {
- } else {
- nit_abort("Uninitialized attribute %s", "_data", LOCATE_standard___exec, 148);
- }
- fra.me.REG[1] = ATTR_standard___exec___Process____data(fra.me.REG[2]);
+ CALL_standard___exec___IProcess___stream_in__eq(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+ /* ../lib/standard/exec.nit:147 */
+ fra.me.REG[1] = CALL_standard___exec___Process___data(fra.me.REG[2])(fra.me.REG[2]);
REGB0 = CALL_standard___exec___NativeProcess___in_fd(fra.me.REG[1])(fra.me.REG[1]);
fra.me.REG[1] = NEW_FDOStream_standard___stream___FDOStream___init(REGB0);
- ATTR_standard___exec___OProcess____out(fra.me.REG[2]) = fra.me.REG[1];
+ CALL_standard___exec___OProcess___stream_out__eq(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
stack_frame_head = fra.me.prev;
init_table[itpos8] = 1;
return;
}
+static const char LOCATE_standard___exec___Sys___system[] = "exec::Sys::system";
val_t standard___exec___Sys___system(val_t p0, val_t p1){
struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 153;
+ fra.me.line = 152;
fra.me.meth = LOCATE_standard___exec___Sys___system;
fra.me.has_broke = 0;
fra.me.REG_size = 2;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[1] = NIT_NULL;
fra.me.REG[0] = p0;
fra.me.REG[1] = p1;
- /* ./../lib/standard//exec.nit:156 */
+ /* ../lib/standard/exec.nit:155 */
fra.me.REG[1] = CALL_standard___string___String___to_cstring(fra.me.REG[1])(fra.me.REG[1]);
REGB0 = CALL_standard___exec___NativeString___system(fra.me.REG[1])(fra.me.REG[1]);
goto label1;
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___NativeString___system[] = "exec::NativeString::system";
val_t standard___exec___NativeString___system(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 161;
+ fra.me.line = 160;
fra.me.meth = LOCATE_standard___exec___NativeString___system;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:161 */
+ /* ../lib/standard/exec.nit:160 */
REGB0 = NativeString_system___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___NativeProcess___id[] = "exec::NativeProcess::id";
val_t standard___exec___NativeProcess___id(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 165;
+ fra.me.line = 164;
fra.me.meth = LOCATE_standard___exec___NativeProcess___id;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:165 */
+ /* ../lib/standard/exec.nit:164 */
REGB0 = NativeProcess_id___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___NativeProcess___is_finished[] = "exec::NativeProcess::is_finished";
val_t standard___exec___NativeProcess___is_finished(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 166;
+ fra.me.line = 165;
fra.me.meth = LOCATE_standard___exec___NativeProcess___is_finished;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:166 */
+ /* ../lib/standard/exec.nit:165 */
REGB0 = NativeProcess_is_finished___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___NativeProcess___status[] = "exec::NativeProcess::status";
val_t standard___exec___NativeProcess___status(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 167;
+ fra.me.line = 166;
fra.me.meth = LOCATE_standard___exec___NativeProcess___status;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:167 */
+ /* ../lib/standard/exec.nit:166 */
REGB0 = NativeProcess_status___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___NativeProcess___wait[] = "exec::NativeProcess::wait";
void standard___exec___NativeProcess___wait(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 168;
+ fra.me.line = 167;
fra.me.meth = LOCATE_standard___exec___NativeProcess___wait;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:168 */
+ /* ../lib/standard/exec.nit:167 */
NativeProcess_wait___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return;
}
+static const char LOCATE_standard___exec___NativeProcess___in_fd[] = "exec::NativeProcess::in_fd";
val_t standard___exec___NativeProcess___in_fd(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 170;
+ fra.me.line = 169;
fra.me.meth = LOCATE_standard___exec___NativeProcess___in_fd;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:170 */
+ /* ../lib/standard/exec.nit:169 */
REGB0 = NativeProcess_in_fd___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___NativeProcess___out_fd[] = "exec::NativeProcess::out_fd";
val_t standard___exec___NativeProcess___out_fd(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 171;
+ fra.me.line = 170;
fra.me.meth = LOCATE_standard___exec___NativeProcess___out_fd;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:171 */
+ /* ../lib/standard/exec.nit:170 */
REGB0 = NativeProcess_out_fd___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return REGB0;
}
+static const char LOCATE_standard___exec___NativeProcess___err_fd[] = "exec::NativeProcess::err_fd";
val_t standard___exec___NativeProcess___err_fd(val_t p0){
struct {struct stack_frame_t me;} fra;
val_t REGB0;
val_t tmp;
fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
fra.me.file = LOCATE_standard___exec;
- fra.me.line = 172;
+ fra.me.line = 171;
fra.me.meth = LOCATE_standard___exec___NativeProcess___err_fd;
fra.me.has_broke = 0;
fra.me.REG_size = 1;
+ fra.me.nitni_local_ref_head = NULL;
fra.me.REG[0] = NIT_NULL;
fra.me.REG[0] = p0;
- /* ./../lib/standard//exec.nit:172 */
+ /* ../lib/standard/exec.nit:171 */
REGB0 = NativeProcess_err_fd___out(fra.me.REG[0]);
stack_frame_head = fra.me.prev;
return REGB0;