#include <prim.hpp>
Public Member Functions | |
| char * | name () const |
| fntype | fn () const |
| int | number_of_parameters () const |
| PrimitiveGroup | group () const |
| bool | is_special_prim () const |
| bool | can_scavenge () const |
| bool | can_perform_NLR () const |
| bool | can_fail () const |
| bool | can_invoke_delta () const |
| bool | can_be_constant_folded () const |
| bool | has_receiver () const |
| bool | is_internal () const |
| bool | needs_delta_fp_code () const |
| bool | can_walk_stack () const |
| symbolOop | selector () const |
| oop | eval (oop *parameters) |
| char * | parameter_type (int index) const |
| char * | return_type () const |
| char * | error (int index) const |
| int | compare (char *str, int len) |
| void | print () |
| void | verify () |
| void | error (char *msg) |
Public Attributes | |
| char * | _name |
| fntype | _fn |
| int | _flags |
| char ** | _types |
| char ** | _errors |
Definition at line 69 of file prim.hpp.
| bool primitive_desc::can_be_constant_folded | ( | ) | const [inline] |
| bool primitive_desc::can_fail | ( | ) | const [inline] |
| bool primitive_desc::can_invoke_delta | ( | ) | const [inline] |
Definition at line 97 of file prim.hpp.
References can_perform_NLR().
Referenced by can_walk_stack(), print(), and verify().
Here is the call graph for this function:

| bool primitive_desc::can_perform_NLR | ( | ) | const [inline] |
Definition at line 93 of file prim.hpp.
Referenced by can_invoke_delta(), can_walk_stack(), print(), and verify().
| bool primitive_desc::can_scavenge | ( | ) | const [inline] |
| bool primitive_desc::can_walk_stack | ( | ) | const |
Definition at line 100 of file prim.cpp.
References can_invoke_delta(), can_perform_NLR(), and can_scavenge().
Referenced by print(), and verify().
Here is the call graph for this function:

| int primitive_desc::compare | ( | char * | str, | |
| int | len | |||
| ) |
Definition at line 201 of file prim.cpp.
Referenced by primitives::lookup().
Here is the call graph for this function:

| void primitive_desc::error | ( | char * | msg | ) |
| char* primitive_desc::error | ( | int | index | ) | const [inline] |
Definition at line 48 of file prim.cpp.
References _fn, number_of_parameters(), and ShouldNotReachHere.
Here is the call graph for this function:

| fntype primitive_desc::fn | ( | ) | const [inline] |
| PrimitiveGroup primitive_desc::group | ( | ) | const [inline] |
Definition at line 90 of file prim.hpp.
References _flags, and get_unsigned_bitfield().
Referenced by is_special_prim(), print(), and verify().
Here is the call graph for this function:

| bool primitive_desc::has_receiver | ( | ) | const [inline] |
| bool primitive_desc::is_internal | ( | ) | const [inline] |
| bool primitive_desc::is_special_prim | ( | ) | const [inline] |
Definition at line 91 of file prim.hpp.
References group(), and NormalPrimitive.
Here is the call graph for this function:

| char* primitive_desc::name | ( | ) | const [inline] |
Definition at line 81 of file prim.hpp.
References _name.
Referenced by compare(), prim_init(), MethodPrinterClosure::primitive_call_node(), print(), and selector().
| bool primitive_desc::needs_delta_fp_code | ( | ) | const [inline] |
| int primitive_desc::number_of_parameters | ( | ) | const [inline] |
Definition at line 87 of file prim.hpp.
References _flags, and get_unsigned_bitfield().
Referenced by eval(), parameter_type(), and print().
Here is the call graph for this function:

| char * primitive_desc::parameter_type | ( | int | index | ) | const |
Definition at line 139 of file prim.cpp.
References _types, assert, and number_of_parameters().
Here is the call graph for this function:

| void primitive_desc::print | ( | ) |
Definition at line 110 of file prim.cpp.
References BlockPrimitive, ByteArrayPrimitive, can_be_constant_folded(), can_fail(), can_invoke_delta(), can_perform_NLR(), can_scavenge(), can_walk_stack(), outputStream::cr(), DoubleByteArrayPrimitive, fatal, FloatArithmeticPrimitive, FloatComparisonPrimitive, group(), has_receiver(), IntArithmeticPrimitive, IntComparisonPrimitive, is_internal(), name(), needs_delta_fp_code(), NormalPrimitive, number_of_parameters(), ObjArrayPrimitive, outputStream::print(), and std.
Referenced by error().
Here is the call graph for this function:

| char * primitive_desc::return_type | ( | ) | const |
| symbolOop primitive_desc::selector | ( | ) | const |
Definition at line 105 of file prim.cpp.
References name(), and oopFactory::new_symbol().
Referenced by PrimitiveCallNode::PrimitiveCallNode().
Here is the call graph for this function:

| void primitive_desc::verify | ( | ) |
Definition at line 185 of file prim.cpp.
References BlockPrimitive, can_be_constant_folded(), can_invoke_delta(), can_perform_NLR(), can_scavenge(), can_walk_stack(), error(), and group().
Here is the call graph for this function:

| char** primitive_desc::_errors |
Definition at line 73 of file prim.hpp.
Referenced by can_be_constant_folded(), can_fail(), can_perform_NLR(), can_scavenge(), group(), has_receiver(), is_internal(), needs_delta_fp_code(), and number_of_parameters().
| char* primitive_desc::_name |
| char** primitive_desc::_types |
1.4.7