tag.hpp File Reference

Go to the source code of this file.

Defines

#define clearTag(oop)   (int(oop) & ~Tag_Mask)

Functions

int byteOffset (int offset)

Variables

const int Int_Tag = 0
const int Mem_Tag = 1
const int Mark_Tag = 3
const int Mark_Tag_Bit = 2
const int Tag_Size = 2
const int Tag_Mask = nthMask(Tag_Size)
const int Num_Tags = nthBit(Tag_Size)


Define Documentation

#define clearTag ( oop   )     (int(oop) & ~Tag_Mask)

Definition at line 34 of file tag.hpp.


Function Documentation

int byteOffset ( int  offset  )  [inline]

Definition at line 36 of file tag.hpp.

References assert, and Mem_Tag.

Referenced by InterpreterGenerator::field_addr(), contextOopDesc::parent_byte_offset(), and contextOopDesc::temp0_byte_offset().


Variable Documentation

const int Int_Tag = 0

Definition at line 25 of file tag.hpp.

Referenced by as_smiOop(), smiOopDesc::byte_count(), oopDesc::is_smi(), and PRIM_DECL_2().

const int Mark_Tag = 3

Definition at line 27 of file tag.hpp.

Referenced by markOopDesc::bad(), oopDesc::is_mark(), markOopDesc::tagged_prototype(), and markOopDesc::untagged_prototype().

const int Mark_Tag_Bit = 2

Definition at line 28 of file tag.hpp.

Referenced by InterpreterGenerator::check_oop().

const int Mem_Tag = 1

Definition at line 26 of file tag.hpp.

Referenced by memOopDesc::addr(), Klass::as_klassOop(), as_memOop(), memOopDesc::blueprint(), byteOffset(), methodOopDesc::codes_byte_offset(), blockClosureOopDesc::context_byte_offset(), methodOopDesc::counters_byte_offset(), InterpreterGenerator::field_addr(), StubRoutines::generate_call_DLL(), StubRoutines::generate_megamorphic_ic(), StubRoutines::generate_PIC_stub(), oopDesc::is_mem(), memOopDesc::klass_byte_offset(), memOopDesc::mark_byte_offset(), blockClosureOopDesc::method_or_entry_byte_offset(), and methodOopDesc::selector_or_method_byte_offset().

const int Num_Tags = nthBit(Tag_Size)

Definition at line 32 of file tag.hpp.

const int Tag_Mask = nthMask(Tag_Size)

Definition at line 31 of file tag.hpp.

Referenced by as_memOop(), and oopDesc::tag().

const int Tag_Size = 2

Definition at line 30 of file tag.hpp.

Referenced by as_smiOop(), copy_oops_down(), proxyOopDesc::foreign_hash(), StubRoutines::generate_call_DLL(), PRIM_DECL_1(), PRIM_DECL_2(), and smiOopDesc::value().


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