Branch: Tag:

2006-03-29

2006-03-29 16:20:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

get_runtime_info() now uses PIKE_BYTECODE_METHOD_NAME.

Rev: src/builtin.cmod:1.187

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin.cmod,v 1.186 2006/03/25 22:09:04 grubba Exp $ + || $Id: builtin.cmod,v 1.187 2006/03/29 16:20:35 grubba Exp $   */      #include "global.h"
1523:   {    pop_n_elems(args);    push_constant_text("bytecode_method"); -  - #if PIKE_BYTECODE_METHOD == PIKE_BYTECODE_IA32 -  push_constant_text("ia32"); - #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_SPARC -  push_constant_text("sparc"); - #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_PPC32 -  push_constant_text("ppc32"); - #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_GOTO -  push_constant_text("computed_goto"); - #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_DEFAULT -  push_constant_text("default"); - #else -  push_constant_text("unknown"); - #endif -  +  push_constant_text(PIKE_BYTECODE_METHOD_NAME);    push_constant_text("abi");    push_int(sizeof(void *) * 8);    push_constant_text("native_byteorder");