5 #ifndef V8_OBJECTS_MICROTASK_H_ 6 #define V8_OBJECTS_MICROTASK_H_ 8 #include "src/objects.h" 11 #include "src/objects/object-macros.h" 26 DISALLOW_IMPLICIT_CONSTRUCTORS(
Microtask);
34 DECL_ACCESSORS(callback,
Foreign)
37 static const int kCallbackOffset = Microtask::kHeaderSize;
38 static const int kDataOffset = kCallbackOffset + kPointerSize;
39 static const int kSize = kDataOffset + kPointerSize;
56 DECL_ACCESSORS2(context,
Context)
58 static const int kCallableOffset = Microtask::kHeaderSize;
59 static const int kContextOffset = kCallableOffset + kPointerSize;
60 static const int kSize = kContextOffset + kPointerSize;
66 void BriefPrintDetails(std::ostream& os);
75 #include "src/objects/object-macros-undef.h" 77 #endif // V8_OBJECTS_MICROTASK_H_