v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 3627 | skipping to change at line 3627 | |||
* Notify about current progress. The activity can be stopped by | * Notify about current progress. The activity can be stopped by | |||
* returning kAbort as the callback result. | * returning kAbort as the callback result. | |||
*/ | */ | |||
virtual ControlOption ReportProgressValue(int done, int total) = 0; | virtual ControlOption ReportProgressValue(int done, int total) = 0; | |||
}; | }; | |||
// --- Implementation --- | // --- Implementation --- | |||
namespace internal { | namespace internal { | |||
static const int kApiPointerSize = sizeof(void*); // NOLINT | const int kApiPointerSize = sizeof(void*); // NOLINT | |||
static const int kApiIntSize = sizeof(int); // NOLINT | const int kApiIntSize = sizeof(int); // NOLINT | |||
// Tag information for HeapObject. | // Tag information for HeapObject. | |||
const int kHeapObjectTag = 1; | const int kHeapObjectTag = 1; | |||
const int kHeapObjectTagSize = 2; | const int kHeapObjectTagSize = 2; | |||
const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1; | const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1; | |||
// Tag information for Smi. | // Tag information for Smi. | |||
const int kSmiTag = 0; | const int kSmiTag = 0; | |||
const int kSmiTagSize = 1; | const int kSmiTagSize = 1; | |||
const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1; | const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1; | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||