V8 Project
hydrogen-types.h File Reference
#include <climits>
#include "src/base/macros.h"
+ Include dependency graph for hydrogen-types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::FINAL< kOperandKind, kNumCachedOperands >
 Source to read snapshot and builtins files from. More...
 

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::internal
 

Macros

#define HTYPE_LIST(V)
 
#define DECLARE_CONSTRUCTOR(Name, mask)    static HType Name() WARN_UNUSED_RESULT { return HType(k##Name); }
 
#define DECLARE_IS_TYPE(Name, mask)
 
#define DECLARE_TYPE(Name, mask)   k##Name = mask,
 

Functions

OStream & v8::internal::operator<< (OStream &os, const HType &t)
 

Macro Definition Documentation

◆ DECLARE_CONSTRUCTOR

#define DECLARE_CONSTRUCTOR (   Name,
  mask 
)     static HType Name() WARN_UNUSED_RESULT { return HType(k##Name); }

Definition at line 39 of file hydrogen-types.h.

◆ DECLARE_IS_TYPE

#define DECLARE_IS_TYPE (   Name,
  mask 
)
Value:
bool Is##Name() const WARN_UNUSED_RESULT { \
return IsSubtypeOf(HType::Name()); \
}
#define WARN_UNUSED_RESULT
bool Is(Object *obj)

Definition at line 57 of file hydrogen-types.h.

◆ DECLARE_TYPE

#define DECLARE_TYPE (   Name,
  mask 
)    k##Name = mask,

Definition at line 72 of file hydrogen-types.h.

◆ HTYPE_LIST

#define HTYPE_LIST (   V)
Value:
V(Any, 0x0) /* 0000 0000 0000 0000 */ \
V(Tagged, 0x1) /* 0000 0000 0000 0001 */ \
V(TaggedPrimitive, 0x5) /* 0000 0000 0000 0101 */ \
V(TaggedNumber, 0xd) /* 0000 0000 0000 1101 */ \
V(Smi, 0x1d) /* 0000 0000 0001 1101 */ \
V(HeapObject, 0x21) /* 0000 0000 0010 0001 */ \
V(HeapPrimitive, 0x25) /* 0000 0000 0010 0101 */ \
V(Null, 0x27) /* 0000 0000 0010 0111 */ \
V(HeapNumber, 0x2d) /* 0000 0000 0010 1101 */ \
V(String, 0x65) /* 0000 0000 0110 0101 */ \
V(Boolean, 0xa5) /* 0000 0000 1010 0101 */ \
V(Undefined, 0x125) /* 0000 0001 0010 0101 */ \
V(JSObject, 0x221) /* 0000 0010 0010 0001 */ \
V(JSArray, 0x621) /* 0000 0110 0010 0001 */ \
V(None, 0x7ff) /* 0000 0111 1111 1111 */
#define V(NAME, Name, id)
Definition: execution.h:170
@ None
Definition: v8.h:2211
Handle< Primitive > Null(Isolate *isolate)
Definition: v8.h:6845
Handle< Primitive > Undefined(Isolate *isolate)
Definition: v8.h:6836

Definition at line 20 of file hydrogen-types.h.