method_prims.cpp File Reference

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

Include dependency graph for method_prims.cpp:

Go to the source code of this file.

Defines

#define ASSERT_RECEIVER   assert(receiver->is_method(), "receiver must be method")

Functions

 PRIM_DECL_1 (methodOopPrimitives::selector, oop receiver)
 PRIM_DECL_1 (methodOopPrimitives::debug_info, oop receiver)
 PRIM_DECL_1 (methodOopPrimitives::size_and_flags, oop receiver)
 PRIM_DECL_1 (methodOopPrimitives::fileout_body, oop receiver)
 PRIM_DECL_2 (methodOopPrimitives::setSelector, oop receiver, oop name)
 PRIM_DECL_1 (methodOopPrimitives::numberOfArguments, oop receiver)
 PRIM_DECL_1 (methodOopPrimitives::outer, oop receiver)
 PRIM_DECL_2 (methodOopPrimitives::setOuter, oop receiver, oop method)
 PRIM_DECL_2 (methodOopPrimitives::referenced_instance_variable_names, oop receiver, oop mixin)
 PRIM_DECL_1 (methodOopPrimitives::referenced_class_variable_names, oop receiver)
 PRIM_DECL_1 (methodOopPrimitives::referenced_global_names, oop receiver)
 PRIM_DECL_1 (methodOopPrimitives::senders, oop receiver)
 PRIM_DECL_2 (methodOopPrimitives::prettyPrint, oop receiver, oop klass)
 PRIM_DECL_2 (methodOopPrimitives::prettyPrintSource, oop receiver, oop klass)
 PRIM_DECL_1 (methodOopPrimitives::printCodes, oop receiver)
 PRIM_DECL_6 (methodOopPrimitives::constructMethod, oop selector_or_method, oop flags, oop nofArgs, oop debugInfo, oop bytes, oop oops)
blockClosureOop allocateBlock (smiOop nof)
static oop allocate_block_for (methodOop method, oop self)
 PRIM_DECL_1 (methodOopPrimitives::allocate_block, oop receiver)
 PRIM_DECL_2 (methodOopPrimitives::allocate_block_self, oop receiver, oop self)
static symbolOop symbol_from_method_inlining_info (methodOopDesc::Method_Inlining_Info info)
 PRIM_DECL_2 (methodOopPrimitives::set_inlining_info, oop receiver, oop info)
 PRIM_DECL_1 (methodOopPrimitives::inlining_info, oop receiver)


Define Documentation

#define ASSERT_RECEIVER   assert(receiver->is_method(), "receiver must be method")

Definition at line 31 of file method_prims.cpp.


Function Documentation

static oop allocate_block_for ( methodOop  method,
oop  self 
) [static]

Definition at line 183 of file method_prims.cpp.

References allocateBlock(), contextKlass::allocateObjectSize(), as_smiOop(), memOopDesc::blueprint(), contextKlassObj, methodOopDesc::customize_for(), methodOopDesc::is_customized(), contextOopDesc::kill(), oopDesc::klass(), klassOopDesc::klass_part(), Klass::mixin(), methodOopDesc::number_of_arguments(), contextOopDesc::obj_at_put(), blockClosureOopDesc::set_lexical_scope(), and blockClosureOopDesc::set_method().

Referenced by PRIM_DECL_1(), and PRIM_DECL_2().

Here is the call graph for this function:

blockClosureOop allocateBlock ( smiOop  nof  ) 

Definition at line 54 of file block_prims.cpp.

References Universe::allocate(), blockClosureKlass::blockKlassFor(), inc_block_counter(), memOopDesc::init_mark(), oopSize, PROLOGUE_1, memOopDesc::set_klass_field(), and smiOopDesc::value().

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::inlining_info  ,
oop  receiver 
)

Definition at line 254 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_1, and symbol_from_method_inlining_info().

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::allocate_block  ,
oop  receiver 
)

Definition at line 204 of file method_prims.cpp.

References allocate_block_for(), ASSERT_RECEIVER, markSymbol(), nilObj, and PROLOGUE_1.

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::printCodes  ,
oop  receiver 
)

Definition at line 139 of file method_prims.cpp.

References ASSERT_RECEIVER, methodOopDesc::print_codes(), and PROLOGUE_1.

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::senders  ,
oop  receiver 
)

Definition at line 106 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_1, and methodOopDesc::senders().

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::referenced_global_names  ,
oop  receiver 
)

Definition at line 100 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_1, and methodOopDesc::referenced_global_names().

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::referenced_class_variable_names  ,
oop  receiver 
)

Definition at line 94 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_1, and methodOopDesc::referenced_class_variable_names().

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::outer  ,
oop  receiver 
)

Definition at line 72 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_1, and methodOopDesc::selector_or_method().

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::numberOfArguments  ,
oop  receiver 
)

Definition at line 66 of file method_prims.cpp.

References as_smiOop(), ASSERT_RECEIVER, and PROLOGUE_1.

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::fileout_body  ,
oop  receiver 
)

Definition at line 51 of file method_prims.cpp.

References ASSERT_RECEIVER, methodOopDesc::fileout_body(), and PROLOGUE_1.

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::size_and_flags  ,
oop  receiver 
)

Definition at line 45 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_1, and methodOopDesc::size_and_flags().

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::debug_info  ,
oop  receiver 
)

Definition at line 39 of file method_prims.cpp.

References ASSERT_RECEIVER, methodOopDesc::debugInfo(), and PROLOGUE_1.

Here is the call graph for this function:

PRIM_DECL_1 ( methodOopPrimitives::selector  ,
oop  receiver 
)

Definition at line 33 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_1, and methodOopDesc::selector().

Here is the call graph for this function:

PRIM_DECL_2 ( methodOopPrimitives::set_inlining_info  ,
oop  receiver,
oop  info 
)

Definition at line 232 of file method_prims.cpp.

References methodOopDesc::always_inline, ASSERT_RECEIVER, oopDesc::is_symbol(), markSymbol(), methodOopDesc::never_inline, methodOopDesc::normal_inline, PROLOGUE_2, methodOopDesc::set_method_inlining_info(), and symbol_from_method_inlining_info().

Here is the call graph for this function:

PRIM_DECL_2 ( methodOopPrimitives::allocate_block_self  ,
oop  receiver,
oop  self 
)

Definition at line 214 of file method_prims.cpp.

References allocate_block_for(), ASSERT_RECEIVER, markSymbol(), and PROLOGUE_2.

Here is the call graph for this function:

PRIM_DECL_2 ( methodOopPrimitives::prettyPrintSource  ,
oop  receiver,
oop  klass 
)

Definition at line 125 of file method_prims.cpp.

References ASSERT_RECEIVER, oopDesc::is_klass(), markSymbol(), nilObj, prettyPrinter::print_in_byteArray(), and PROLOGUE_2.

Here is the call graph for this function:

PRIM_DECL_2 ( methodOopPrimitives::prettyPrint  ,
oop  receiver,
oop  klass 
)

Definition at line 112 of file method_prims.cpp.

References ASSERT_RECEIVER, oopDesc::is_klass(), markSymbol(), nilObj, prettyPrinter::print(), and PROLOGUE_2.

Here is the call graph for this function:

PRIM_DECL_2 ( methodOopPrimitives::referenced_instance_variable_names  ,
oop  receiver,
oop  mixin 
)

Definition at line 85 of file method_prims.cpp.

References ASSERT_RECEIVER, oopDesc::is_mixin(), markSymbol(), PROLOGUE_2, and methodOopDesc::referenced_instance_variable_names().

Here is the call graph for this function:

PRIM_DECL_2 ( methodOopPrimitives::setOuter  ,
oop  receiver,
oop  method 
)

Definition at line 78 of file method_prims.cpp.

References ASSERT_RECEIVER, PROLOGUE_2, and methodOopDesc::set_selector_or_method().

Here is the call graph for this function:

PRIM_DECL_2 ( methodOopPrimitives::setSelector  ,
oop  receiver,
oop  name 
)

Definition at line 57 of file method_prims.cpp.

References ASSERT_RECEIVER, oopDesc::is_symbol(), markSymbol(), PROLOGUE_2, and methodOopDesc::set_selector_or_method().

Here is the call graph for this function:

PRIM_DECL_6 ( methodOopPrimitives::constructMethod  ,
oop  selector_or_method,
oop  flags,
oop  nofArgs,
oop  debugInfo,
oop  bytes,
oop  oops 
)

Definition at line 151 of file method_prims.cpp.

References methodKlass::constructMethod(), oopDesc::is_byteArray(), oopDesc::is_objArray(), oopDesc::is_smi(), oopDesc::is_symbol(), klassOopDesc::klass_part(), markSymbol(), Universe::methodKlassObj(), nilObj, oopSize, and PROLOGUE_6.

Here is the call graph for this function:

static symbolOop symbol_from_method_inlining_info ( methodOopDesc::Method_Inlining_Info  info  )  [static]

Definition at line 224 of file method_prims.cpp.

References methodOopDesc::always_inline, methodOopDesc::never_inline, oopFactory::new_symbol(), methodOopDesc::normal_inline, and ShouldNotReachHere.

Referenced by PRIM_DECL_1(), and PRIM_DECL_2().

Here is the call graph for this function:


Generated on Mon Oct 9 13:42:20 2006 for Strongtalk VM by  doxygen 1.4.7