pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2006-03-29
2006-03-29 16:20:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>
728ff407b2945cff454446c09600fe272e18cf00 (
19
lines) (+
3
/-
16
)
[
Show
|
Annotate
]
Branch:
7.9
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");