Beispiel #1
0
 static KnownType class_object(uint32_t class_id) {
   return KnownType(eClassObject, class_id);
 }
Beispiel #2
0
 static KnownType constant_cache(ConstantCache* entry) {
   return KnownType(eConstantCache, reinterpret_cast<uintptr_t>(entry));
 }
Beispiel #3
0
 static KnownType symbol() {
   return KnownType(eSymbol);
 }
Beispiel #4
0
 static KnownType type() {
   return KnownType(eType);
 }
Beispiel #5
0
 static KnownType fixnum(int val) {
   return KnownType(eStaticFixnum, val);
 }
Beispiel #6
0
 static KnownType fixnum() {
   return KnownType(eFixnum);
 }
Beispiel #7
0
 static KnownType true_() {
   return KnownType(eTrue);
 }
Beispiel #8
0
 static KnownType false_() {
   return KnownType(eFalse);
 }
Beispiel #9
0
 static KnownType nil() {
   return KnownType(eNil);
 }
Beispiel #10
0
 static KnownType singleton_instance(uint32_t class_id) {
   return KnownType(eSingletonInstance, class_id);
 }
Beispiel #11
0
 static KnownType instance(uint32_t class_id) {
   return KnownType(eInstance, class_id);
 }
Beispiel #12
0
 static KnownType unknown() {
   return KnownType(eUnknown);
 }
Beispiel #13
0
 static KnownType symbol(native_int index) {
   return KnownType(eStaticSymbol, index);
 }