bytecodes.cpp File Reference

#include "incls/_precompiled.incl"
#include "incls/_bytecodes.cpp.incl"

Include dependency graph for bytecodes.cpp:

Go to the source code of this file.

Classes

class  Markup

Functions

static void generate_comment ()
static bool actually_generated (Bytecodes::Code code)
static void generate_instr_method ()
static void print_table_entry_for (char *selector, int code)
static void generate_codeForPrimitive_method ()
static void generate_signature (char *sig, char separator)
static bool has_instVar_access (Bytecodes::Code code)
static bool has_classVar_access (Bytecodes::Code code)
static bool has_inline_cache (Bytecodes::Code code)
static void generate_gen_method (Bytecodes::Code code)
static void generate_float_function_constant_method (Floats::Function f)
static void generate_HCode_methods ()
static void markup (char *tag, char *text)
static void print_format (Bytecodes::Format format)
static char * arguments_as_string (Bytecodes::ArgumentSpec spec)
static void generate_HTML_for (Bytecodes::Code code)
static void generate_HTML_for (Bytecodes::CodeType type)
static void generate_HTML_docu ()
void bytecodes_init ()

Variables

doFn original_table [Bytecodes::number_of_codes]


Function Documentation

static bool actually_generated ( Bytecodes::Code  code  )  [static]

Definition at line 864 of file bytecodes.cpp.

References Bytecodes::interpreted_send, Bytecodes::is_defined(), Bytecodes::no_send, Bytecodes::predicted_send, and Bytecodes::send_type().

Referenced by generate_HCode_methods(), and generate_instr_method().

Here is the call graph for this function:

static char* arguments_as_string ( Bytecodes::ArgumentSpec  spec  )  [static]

Definition at line 1037 of file bytecodes.cpp.

References Bytecodes::args_only, Bytecodes::recv_0_args, Bytecodes::recv_1_args, Bytecodes::recv_2_args, Bytecodes::recv_n_args, and ShouldNotReachHere.

Referenced by generate_HTML_for().

void bytecodes_init (  ) 

Definition at line 1096 of file bytecodes.cpp.

References generate_HCode_methods(), generate_HTML_docu(), and Bytecodes::init().

Here is the call graph for this function:

static void generate_codeForPrimitive_method (  )  [static]

Definition at line 901 of file bytecodes.cpp.

References generate_comment(), outputStream::print(), print_table_entry_for(), Bytecodes::smi_add, Bytecodes::smi_and, Bytecodes::smi_equal, Bytecodes::smi_greater, Bytecodes::smi_greater_equal, Bytecodes::smi_less, Bytecodes::smi_less_equal, Bytecodes::smi_mult, Bytecodes::smi_not_equal, Bytecodes::smi_or, Bytecodes::smi_shift, Bytecodes::smi_sub, Bytecodes::smi_xor, and std.

Referenced by generate_HCode_methods().

Here is the call graph for this function:

static void generate_comment (  )  [static]

Definition at line 856 of file bytecodes.cpp.

References outputStream::print(), and std.

Referenced by generate_codeForPrimitive_method(), generate_float_function_constant_method(), generate_gen_method(), and generate_instr_method().

Here is the call graph for this function:

static void generate_float_function_constant_method ( Floats::Function  f  )  [static]

Definition at line 976 of file bytecodes.cpp.

References Floats::function_name_for(), generate_comment(), outputStream::print(), and std.

Referenced by generate_HCode_methods().

Here is the call graph for this function:

static void generate_gen_method ( Bytecodes::Code  code  )  [static]

Definition at line 960 of file bytecodes.cpp.

References outputStream::cr(), Bytecodes::format(), Bytecodes::format_as_string(), generate_comment(), generate_signature(), has_classVar_access(), has_inline_cache(), has_instVar_access(), Bytecodes::name(), outputStream::print(), and std.

Referenced by generate_HCode_methods().

Here is the call graph for this function:

static void generate_HCode_methods (  )  [static]

Definition at line 984 of file bytecodes.cpp.

References actually_generated(), generate_codeForPrimitive_method(), generate_float_function_constant_method(), generate_gen_method(), generate_instr_method(), Bytecodes::number_of_codes, Floats::number_of_functions, outputStream::print(), and std.

Referenced by bytecodes_init().

Here is the call graph for this function:

static void generate_HTML_docu (  )  [static]

Definition at line 1079 of file bytecodes.cpp.

References generate_HTML_for(), markup(), Bytecodes::number_of_code_types, outputStream::print(), std, and Bytecodes::version().

Referenced by bytecodes_init().

Here is the call graph for this function:

static void generate_HTML_for ( Bytecodes::CodeType  type  )  [static]

Definition at line 1062 of file bytecodes.cpp.

References Bytecodes::code_type(), Bytecodes::code_type_as_string(), generate_HTML_for(), Bytecodes::is_defined(), Bytecodes::message_send, Bytecodes::number_of_codes, outputStream::print(), and std.

Here is the call graph for this function:

static void generate_HTML_for ( Bytecodes::Code  code  )  [static]

Definition at line 1050 of file bytecodes.cpp.

References Bytecodes::argument_spec(), arguments_as_string(), Bytecodes::code_type(), Bytecodes::format(), Bytecodes::message_send, Bytecodes::name(), outputStream::print(), print_format(), Bytecodes::send_type(), Bytecodes::send_type_as_string(), Bytecodes::single_step(), and std.

Referenced by generate_HTML_docu(), and generate_HTML_for().

Here is the call graph for this function:

static void generate_instr_method (  )  [static]

Definition at line 874 of file bytecodes.cpp.

References actually_generated(), generate_comment(), Bytecodes::name(), outputStream::print(), and std.

Referenced by generate_HCode_methods().

Here is the call graph for this function:

static void generate_signature ( char *  sig,
char  separator 
) [static]

Definition at line 924 of file bytecodes.cpp.

References outputStream::print(), outputStream::put(), ShouldNotReachHere, and std.

Referenced by generate_gen_method().

Here is the call graph for this function:

static bool has_classVar_access ( Bytecodes::Code  code  )  [static]

Definition at line 950 of file bytecodes.cpp.

References Bytecodes::classVar_access, and Bytecodes::code_type().

Referenced by generate_gen_method().

Here is the call graph for this function:

static bool has_inline_cache ( Bytecodes::Code  code  )  [static]

Definition at line 955 of file bytecodes.cpp.

References Bytecodes::no_send, and Bytecodes::send_type().

Referenced by generate_gen_method().

Here is the call graph for this function:

static bool has_instVar_access ( Bytecodes::Code  code  )  [static]

Definition at line 945 of file bytecodes.cpp.

References Bytecodes::code_type(), and Bytecodes::instVar_access.

Referenced by generate_gen_method().

Here is the call graph for this function:

static void markup ( char *  tag,
char *  text 
) [static]

Definition at line 1017 of file bytecodes.cpp.

References outputStream::print(), and std.

Referenced by generate_HTML_docu().

Here is the call graph for this function:

static void print_format ( Bytecodes::Format  format  )  [static]

Definition at line 1022 of file bytecodes.cpp.

References Bytecodes::format_as_string(), outputStream::print(), ShouldNotReachHere, and std.

Referenced by generate_HTML_for().

Here is the call graph for this function:

static void print_table_entry_for ( char *  selector,
int  code 
) [static]

Definition at line 896 of file bytecodes.cpp.

References outputStream::print(), and std.

Referenced by generate_codeForPrimitive_method().

Here is the call graph for this function:


Variable Documentation

doFn original_table[Bytecodes::number_of_codes]

Definition at line 107 of file bytecodes.cpp.

Referenced by dispatchTable::intercept_for_return(), dispatchTable::patch_with_sst_stub(), dispatchTable::reset(), and Bytecodes::set_entry_point().


Generated on Mon Oct 9 13:38:34 2006 for Strongtalk VM by  doxygen 1.4.7