Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

nci/suif/suif2b/j2s/j2s_runtime/rt_bytecode.cc File Reference

#include <sys/types.h>
#include "j2s_runtime/j2s_runtime.h"

Defines

#define COMPONENT(a)    JARRAYCLASS(a->_class())->componentClass()
#define ALOAD(x, X, y)
#define ASTORE(x, X, y)

Functions

JInt rt_arraylength (JArray *arrayref)
void rt_aastore (JArray *arrayref, JInt index, JObject *value)
JObjectrt_aaload (JArray *arrayref, JInt index)
 ALOAD (byte, Byte, b) ALOAD(boolean, Boolean, z) ALOAD(short, Short, s) ALOAD(char, Char, c) ALOAD(int, Int, i) ALOAD(float, Float, f) ALOAD(long, Long, l) ALOAD(double, Double, d) #define ASTORE(x, X, y) ASTORE(byte, Byte, b) ASTORE(boolean, Boolean, z) ASTORE(short, Short, s) ASTORE(char, Char, c) ASTORE(int, Int, i) ASTORE(float, Float, f) ASTORE(long, Long, l) ASTORE(double, Double, d) JObject *rt_new (ClassMetadata *md)
boolean_t _instanceof (JObject *S, ClassMetadata *Tmd)
boolean_t _instanceof_class (JObject *S, ClassMetadata *Tmd)
boolean_t _instanceof_intf (JObject *S, ClassMetadata *Tmd)
JInt rt_instanceof (JObject *S, ClassMetadata *Tmd)
void rt_checkcast (JObject *S, ClassMetadata *Tmd)
void rt_checkcast_class (JObject *S, ClassMetadata *Tmd)
void rt_checkcast_interface (JObject *S, ClassMetadata *Tmd)
boolean_t _instanceof_array (JObject *S, atype_enum atype)
JInt rt_instanceof_array (JObject *S, atype_enum atype)
void rt_checkcast_array (JObject *S, atype_enum atype)
boolean_t _instanceof_aarray (JObject *S, ClassMetadata *Tmd)
JInt rt_instanceof_aarray (JObject *S, ClassMetadata *Tmd)
void rt_checkcast_aarray (JObject *S, ClassMetadata *Tmd)
boolean_t _instanceof_multiarray (JObject *S, int TdimsNum, atype_enum Tatype)
JInt rt_instanceof_multiarray (JObject *S, int TdimsNum, atype_enum Tatype)
void rt_checkcast_multiarray (JObject *S, int TdimsNum, atype_enum Tatype)
boolean_t _instanceof_multiaarray (JObject *S, int TdimsNum, ClassMetadata *Tmd)
JInt rt_instanceof_multiaarray (JObject *S, int TdimsNum, ClassMetadata *Tmd)
void rt_checkcast_multiaarray (JObject *S, int TdimsNum, ClassMetadata *Tmd)

Define Documentation

#define ALOAD( x,
X,
y)

Initial value:

\
J##X rt_##y##aload (JArray *arrayref, JInt index)\
{\
  if(arrayref == NULL)\
    THROW(JNullPointerException);\
  ASSERT(arrayref->_class()->isArrayRef() == B_TRUE);\
  ASSERT(COMPONENT(arrayref) == Globals::##x##JClass);\
  return arrayref->_get##X(index);\
}

#define ASTORE( x,
X,
y)

Initial value:

\
void rt_##y##astore (JArray *arrayref, JInt index, J##X c)\
{\
  if(arrayref == NULL)\
    THROW(JNullPointerException);\
  ASSERT(arrayref->_class()->isArrayRef() == B_TRUE);\
  ASSERT(COMPONENT(arrayref) == Globals::##x##JClass);\
  arrayref->_set##X(index, c);\
}

#define COMPONENT( a)   JARRAYCLASS(a->_class())->componentClass()


Function Documentation

ALOAD ( byte,
Byte,
b)

boolean_t _instanceof ( JObject * S,
ClassMetadata * Tmd)

boolean_t _instanceof_aarray ( JObject * S,
ClassMetadata * Tmd)

boolean_t _instanceof_array ( JObject * S,
atype_enum atype)

boolean_t _instanceof_class ( JObject * S,
ClassMetadata * Tmd)

boolean_t _instanceof_intf ( JObject * S,
ClassMetadata * Tmd)

boolean_t _instanceof_multiaarray ( JObject * S,
int TdimsNum,
ClassMetadata * Tmd)

boolean_t _instanceof_multiarray ( JObject * S,
int TdimsNum,
atype_enum Tatype)

JObject * rt_aaload ( JArray * arrayref,
JInt index)

void rt_aastore ( JArray * arrayref,
JInt index,
JObject * value)

JInt rt_arraylength ( JArray * arrayref)

void rt_checkcast ( JObject * S,
ClassMetadata * Tmd)

void rt_checkcast_aarray ( JObject * S,
ClassMetadata * Tmd)

void rt_checkcast_array ( JObject * S,
atype_enum atype)

void rt_checkcast_class ( JObject * S,
ClassMetadata * Tmd)

void rt_checkcast_interface ( JObject * S,
ClassMetadata * Tmd)

void rt_checkcast_multiaarray ( JObject * S,
int TdimsNum,
ClassMetadata * Tmd)

void rt_checkcast_multiarray ( JObject * S,
int TdimsNum,
atype_enum Tatype)

JInt rt_instanceof ( JObject * S,
ClassMetadata * Tmd)

JInt rt_instanceof_aarray ( JObject * S,
ClassMetadata * Tmd)

JInt rt_instanceof_array ( JObject * S,
atype_enum atype)

JInt rt_instanceof_multiaarray ( JObject * S,
int TdimsNum,
ClassMetadata * Tmd)

JInt rt_instanceof_multiarray ( JObject * S,
int TdimsNum,
atype_enum Tatype)


Generated at Mon Jul 31 13:42:02 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000