#include <climits>
#include "src/base/macros.h"
Go to the source code of this file.
◆ DECLARE_CONSTRUCTOR
#define DECLARE_CONSTRUCTOR |
( |
|
Name, |
|
|
|
mask |
|
) |
| static HType Name() WARN_UNUSED_RESULT { return HType(k##Name); } |
◆ DECLARE_IS_TYPE
#define DECLARE_IS_TYPE |
( |
|
Name, |
|
|
|
mask |
|
) |
| |
Value:
return IsSubtypeOf(HType::Name()); \
}
#define WARN_UNUSED_RESULT
Definition at line 57 of file hydrogen-types.h.
◆ DECLARE_TYPE
#define DECLARE_TYPE |
( |
|
Name, |
|
|
|
mask |
|
) |
| k##Name = mask, |
◆ HTYPE_LIST
Value:
V(Tagged, 0x1) \
V(TaggedPrimitive, 0x5) \
V(TaggedNumber, 0xd) \
V(Smi, 0x1d) \
V(HeapObject, 0x21) \
V(HeapPrimitive, 0x25) \
V(HeapNumber, 0x2d) \
V(String, 0x65) \
V(Boolean, 0xa5) \
V(JSObject, 0x221) \
V(JSArray, 0x621) \
#define V(NAME, Name, id)
Handle< Primitive > Null(Isolate *isolate)
Handle< Primitive > Undefined(Isolate *isolate)
Definition at line 20 of file hydrogen-types.h.