/* 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;
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;
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;
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;
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;
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;
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;
} 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);
} 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 */
if (UNTAG_Bool(REGB3)) {
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 */
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 */
REGB2 = REGB3;
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:65 */
REGB1 = REGB2;
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;
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;
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;
stack_frame_head = fra.me.prev;
return fra.me.REG[2];
}
+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;
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;
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;
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;
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;
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;
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;
init_table[itpos4] = 1;
return;
}
+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;
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;
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;
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;
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 tmp;
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;
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;
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 tmp;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;