|
|
@ -607,10 +607,18 @@ class MaybeObject BASE_EMBEDDED { |
|
|
|
return reinterpret_cast<Object*>(this); |
|
|
|
} |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
// Prints this object with details.
|
|
|
|
void Print(); |
|
|
|
void PrintLn(); |
|
|
|
inline void Print() { |
|
|
|
Print(stdout); |
|
|
|
}; |
|
|
|
inline void PrintLn() { |
|
|
|
PrintLn(stdout); |
|
|
|
} |
|
|
|
void Print(FILE* out); |
|
|
|
void PrintLn(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
// Verifies the object.
|
|
|
|
void Verify(); |
|
|
|
#endif |
|
|
@ -762,7 +770,10 @@ class Object : public MaybeObject { |
|
|
|
#endif |
|
|
|
|
|
|
|
// Prints this object without details.
|
|
|
|
void ShortPrint(); |
|
|
|
inline void ShortPrint() { |
|
|
|
ShortPrint(stdout); |
|
|
|
} |
|
|
|
void ShortPrint(FILE* out); |
|
|
|
|
|
|
|
// Prints this object without details to a message accumulator.
|
|
|
|
void ShortPrint(StringStream* accumulator); |
|
|
@ -801,7 +812,10 @@ class Smi: public Object { |
|
|
|
static inline Smi* cast(Object* object); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
void SmiPrint(); |
|
|
|
inline void SmiPrint() { |
|
|
|
SmiPrint(stdout); |
|
|
|
} |
|
|
|
void SmiPrint(FILE* out); |
|
|
|
void SmiPrint(StringStream* accumulator); |
|
|
|
#ifdef DEBUG |
|
|
|
void SmiVerify(); |
|
|
@ -870,7 +884,10 @@ class Failure: public MaybeObject { |
|
|
|
static inline Failure* cast(MaybeObject* object); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
void FailurePrint(); |
|
|
|
inline void FailurePrint() { |
|
|
|
FailurePrint(stdout); |
|
|
|
} |
|
|
|
void FailurePrint(FILE* out); |
|
|
|
void FailurePrint(StringStream* accumulator); |
|
|
|
#ifdef DEBUG |
|
|
|
void FailureVerify(); |
|
|
@ -1099,14 +1116,23 @@ class HeapObject: public Object { |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
void HeapObjectShortPrint(StringStream* accumulator); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void HeapObjectPrint() { |
|
|
|
HeapObjectPrint(stdout); |
|
|
|
} |
|
|
|
void HeapObjectPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void HeapObjectPrint(); |
|
|
|
void HeapObjectVerify(); |
|
|
|
inline void VerifyObjectField(int offset); |
|
|
|
inline void VerifySmiField(int offset); |
|
|
|
#endif |
|
|
|
|
|
|
|
void PrintHeader(const char* id); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
void PrintHeader(FILE* out, const char* id); |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
// Verify a pointer is a valid HeapObject pointer that points to object
|
|
|
|
// areas in the heap.
|
|
|
|
static void VerifyHeapPointer(Object* p); |
|
|
@ -1189,7 +1215,10 @@ class HeapNumber: public HeapObject { |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
Object* HeapNumberToBoolean(); |
|
|
|
void HeapNumberPrint(); |
|
|
|
inline void HeapNumberPrint() { |
|
|
|
HeapNumberPrint(stdout); |
|
|
|
} |
|
|
|
void HeapNumberPrint(FILE* out); |
|
|
|
void HeapNumberPrint(StringStream* accumulator); |
|
|
|
#ifdef DEBUG |
|
|
|
void HeapNumberVerify(); |
|
|
@ -1649,12 +1678,28 @@ class JSObject: public HeapObject { |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
void JSObjectShortPrint(StringStream* accumulator); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSObjectPrint() { |
|
|
|
JSObjectPrint(stdout); |
|
|
|
} |
|
|
|
void JSObjectPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void JSObjectPrint(); |
|
|
|
void JSObjectVerify(); |
|
|
|
void PrintProperties(); |
|
|
|
void PrintElements(); |
|
|
|
#endif |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void PrintProperties() { |
|
|
|
PrintProperties(stdout); |
|
|
|
} |
|
|
|
void PrintProperties(FILE* out); |
|
|
|
|
|
|
|
inline void PrintElements() { |
|
|
|
PrintElements(stdout); |
|
|
|
} |
|
|
|
void PrintElements(FILE* out); |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
// Structure for collecting spill information about JSObjects.
|
|
|
|
class SpillInformation { |
|
|
|
public: |
|
|
@ -1689,7 +1734,7 @@ class JSObject: public HeapObject { |
|
|
|
static const uint32_t kMaxGap = 1024; |
|
|
|
static const int kMaxFastElementsLength = 5000; |
|
|
|
static const int kInitialMaxFastElementArray = 100000; |
|
|
|
static const int kMaxFastProperties = 8; |
|
|
|
static const int kMaxFastProperties = 12; |
|
|
|
static const int kMaxInstanceSize = 255 * kPointerSize; |
|
|
|
// When extending the backing storage for property values, we increase
|
|
|
|
// its size by more than the 1 entry necessary, so sequentially adding fields
|
|
|
@ -1835,8 +1880,13 @@ class FixedArray: public HeapObject { |
|
|
|
static const int kMaxLength = (kMaxSize - kHeaderSize) / kPointerSize; |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void FixedArrayPrint() { |
|
|
|
FixedArrayPrint(stdout); |
|
|
|
} |
|
|
|
void FixedArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void FixedArrayPrint(); |
|
|
|
void FixedArrayVerify(); |
|
|
|
// Checks if two FixedArrays have identical contents.
|
|
|
|
bool IsEqualTo(FixedArray* other); |
|
|
@ -2012,10 +2062,15 @@ class DescriptorArray: public FixedArray { |
|
|
|
static const int kEnumCacheBridgeCacheOffset = |
|
|
|
kEnumCacheBridgeEnumOffset + kPointerSize; |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
// Print all the descriptors.
|
|
|
|
void PrintDescriptors(); |
|
|
|
inline void PrintDescriptors() { |
|
|
|
PrintDescriptors(stdout); |
|
|
|
} |
|
|
|
void PrintDescriptors(FILE* out); |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
// Is the descriptor array sorted and without duplicates?
|
|
|
|
bool IsSortedNoDuplicates(); |
|
|
|
|
|
|
@ -2396,8 +2451,11 @@ class Dictionary: public HashTable<Shape, Key> { |
|
|
|
// Ensure enough space for n additional elements.
|
|
|
|
MUST_USE_RESULT MaybeObject* EnsureCapacity(int n, Key key); |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
void Print(); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void Print() { |
|
|
|
Print(stdout); |
|
|
|
} |
|
|
|
void Print(FILE* out); |
|
|
|
#endif |
|
|
|
// Returns the key (slow).
|
|
|
|
Object* SlowReverseLookup(Object* value); |
|
|
@ -2619,8 +2677,13 @@ class ByteArray: public HeapObject { |
|
|
|
inline int ByteArraySize() { |
|
|
|
return SizeFor(this->length()); |
|
|
|
} |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ByteArrayPrint() { |
|
|
|
ByteArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ByteArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ByteArrayPrint(); |
|
|
|
void ByteArrayVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -2669,8 +2732,13 @@ class PixelArray: public HeapObject { |
|
|
|
// Casting.
|
|
|
|
static inline PixelArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void PixelArrayPrint() { |
|
|
|
PixelArrayPrint(stdout); |
|
|
|
} |
|
|
|
void PixelArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void PixelArrayPrint(); |
|
|
|
void PixelArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2741,8 +2809,13 @@ class ExternalByteArray: public ExternalArray { |
|
|
|
// Casting.
|
|
|
|
static inline ExternalByteArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ExternalByteArrayPrint() { |
|
|
|
ExternalByteArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ExternalByteArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ExternalByteArrayPrint(); |
|
|
|
void ExternalByteArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2764,8 +2837,13 @@ class ExternalUnsignedByteArray: public ExternalArray { |
|
|
|
// Casting.
|
|
|
|
static inline ExternalUnsignedByteArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ExternalUnsignedByteArrayPrint() { |
|
|
|
ExternalUnsignedByteArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ExternalUnsignedByteArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ExternalUnsignedByteArrayPrint(); |
|
|
|
void ExternalUnsignedByteArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2787,8 +2865,13 @@ class ExternalShortArray: public ExternalArray { |
|
|
|
// Casting.
|
|
|
|
static inline ExternalShortArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ExternalShortArrayPrint() { |
|
|
|
ExternalShortArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ExternalShortArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ExternalShortArrayPrint(); |
|
|
|
void ExternalShortArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2810,8 +2893,13 @@ class ExternalUnsignedShortArray: public ExternalArray { |
|
|
|
// Casting.
|
|
|
|
static inline ExternalUnsignedShortArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ExternalUnsignedShortArrayPrint() { |
|
|
|
ExternalUnsignedShortArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ExternalUnsignedShortArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ExternalUnsignedShortArrayPrint(); |
|
|
|
void ExternalUnsignedShortArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2833,8 +2921,13 @@ class ExternalIntArray: public ExternalArray { |
|
|
|
// Casting.
|
|
|
|
static inline ExternalIntArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ExternalIntArrayPrint() { |
|
|
|
ExternalIntArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ExternalIntArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ExternalIntArrayPrint(); |
|
|
|
void ExternalIntArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2856,8 +2949,13 @@ class ExternalUnsignedIntArray: public ExternalArray { |
|
|
|
// Casting.
|
|
|
|
static inline ExternalUnsignedIntArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ExternalUnsignedIntArrayPrint() { |
|
|
|
ExternalUnsignedIntArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ExternalUnsignedIntArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ExternalUnsignedIntArrayPrint(); |
|
|
|
void ExternalUnsignedIntArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2879,8 +2977,13 @@ class ExternalFloatArray: public ExternalArray { |
|
|
|
// Casting.
|
|
|
|
static inline ExternalFloatArray* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ExternalFloatArrayPrint() { |
|
|
|
ExternalFloatArrayPrint(stdout); |
|
|
|
} |
|
|
|
void ExternalFloatArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ExternalFloatArrayPrint(); |
|
|
|
void ExternalFloatArrayVerify(); |
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
@ -2960,8 +3063,8 @@ class DeoptimizationInputData: public FixedArray { |
|
|
|
// Casting.
|
|
|
|
static inline DeoptimizationInputData* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
void DeoptimizationInputDataPrint(); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
void DeoptimizationInputDataPrint(FILE* out); |
|
|
|
#endif |
|
|
|
|
|
|
|
private: |
|
|
@ -2999,8 +3102,8 @@ class DeoptimizationOutputData: public FixedArray { |
|
|
|
// Casting.
|
|
|
|
static inline DeoptimizationOutputData* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
void DeoptimizationOutputDataPrint(); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
void DeoptimizationOutputDataPrint(FILE* out); |
|
|
|
#endif |
|
|
|
}; |
|
|
|
|
|
|
@ -3049,7 +3152,10 @@ class Code: public HeapObject { |
|
|
|
static const char* Kind2String(Kind kind); |
|
|
|
static const char* ICState2String(InlineCacheState state); |
|
|
|
static const char* PropertyType2String(PropertyType type); |
|
|
|
void Disassemble(const char* name); |
|
|
|
inline void Disassemble(const char* name) { |
|
|
|
Disassemble(name, stdout); |
|
|
|
} |
|
|
|
void Disassemble(const char* name, FILE* out); |
|
|
|
#endif // ENABLE_DISASSEMBLER
|
|
|
|
|
|
|
|
// [instruction_size]: Size of the native instructions
|
|
|
@ -3242,8 +3348,13 @@ class Code: public HeapObject { |
|
|
|
|
|
|
|
template<typename StaticVisitor> |
|
|
|
inline void CodeIterateBody(); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void CodePrint() { |
|
|
|
CodePrint(stdout); |
|
|
|
} |
|
|
|
void CodePrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void CodePrint(); |
|
|
|
void CodeVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -3531,8 +3642,13 @@ class Map: public HeapObject { |
|
|
|
void ClearNonLiveTransitions(Object* real_prototype); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void MapPrint() { |
|
|
|
MapPrint(stdout); |
|
|
|
} |
|
|
|
void MapPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void MapPrint(); |
|
|
|
void MapVerify(); |
|
|
|
void SharedMapVerify(); |
|
|
|
#endif |
|
|
@ -3688,8 +3804,13 @@ class Script: public Struct { |
|
|
|
// resource is accessible. Otherwise, always return true.
|
|
|
|
inline bool HasValidSource(); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ScriptPrint() { |
|
|
|
ScriptPrint(stdout); |
|
|
|
} |
|
|
|
void ScriptPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ScriptPrint(); |
|
|
|
void ScriptVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4052,8 +4173,13 @@ class SharedFunctionInfo: public HeapObject { |
|
|
|
// Dispatched behavior.
|
|
|
|
// Set max_length to -1 for unlimited length.
|
|
|
|
void SourceCodePrint(StringStream* accumulator, int max_length); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void SharedFunctionInfoPrint() { |
|
|
|
SharedFunctionInfoPrint(stdout); |
|
|
|
} |
|
|
|
void SharedFunctionInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void SharedFunctionInfoPrint(); |
|
|
|
void SharedFunctionInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4285,7 +4411,10 @@ class JSFunction: public JSObject { |
|
|
|
DECL_ACCESSORS(next_function_link, Object) |
|
|
|
|
|
|
|
// Prints the name of the function using PrintF.
|
|
|
|
void PrintName(); |
|
|
|
inline void PrintName() { |
|
|
|
PrintName(stdout); |
|
|
|
} |
|
|
|
void PrintName(FILE* out); |
|
|
|
|
|
|
|
// Casting.
|
|
|
|
static inline JSFunction* cast(Object* obj); |
|
|
@ -4295,8 +4424,13 @@ class JSFunction: public JSObject { |
|
|
|
void JSFunctionIterateBody(int object_size, ObjectVisitor* v); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSFunctionPrint() { |
|
|
|
JSFunctionPrint(stdout); |
|
|
|
} |
|
|
|
void JSFunctionPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void JSFunctionPrint(); |
|
|
|
void JSFunctionVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4345,8 +4479,13 @@ class JSGlobalProxy : public JSObject { |
|
|
|
static inline JSGlobalProxy* cast(Object* obj); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSGlobalProxyPrint() { |
|
|
|
JSGlobalProxyPrint(stdout); |
|
|
|
} |
|
|
|
void JSGlobalProxyPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void JSGlobalProxyPrint(); |
|
|
|
void JSGlobalProxyVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4416,8 +4555,13 @@ class JSGlobalObject: public GlobalObject { |
|
|
|
static inline JSGlobalObject* cast(Object* obj); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSGlobalObjectPrint() { |
|
|
|
JSGlobalObjectPrint(stdout); |
|
|
|
} |
|
|
|
void JSGlobalObjectPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void JSGlobalObjectPrint(); |
|
|
|
void JSGlobalObjectVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4445,8 +4589,13 @@ class JSBuiltinsObject: public GlobalObject { |
|
|
|
static inline JSBuiltinsObject* cast(Object* obj); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSBuiltinsObjectPrint() { |
|
|
|
JSBuiltinsObjectPrint(stdout); |
|
|
|
} |
|
|
|
void JSBuiltinsObjectPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void JSBuiltinsObjectPrint(); |
|
|
|
void JSBuiltinsObjectVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4483,8 +4632,13 @@ class JSValue: public JSObject { |
|
|
|
static inline JSValue* cast(Object* obj); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSValuePrint() { |
|
|
|
JSValuePrint(stdout); |
|
|
|
} |
|
|
|
void JSValuePrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void JSValuePrint(); |
|
|
|
void JSValueVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4673,8 +4827,13 @@ class CodeCache: public Struct { |
|
|
|
|
|
|
|
static inline CodeCache* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void CodeCachePrint() { |
|
|
|
CodeCachePrint(stdout); |
|
|
|
} |
|
|
|
void CodeCachePrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void CodeCachePrint(); |
|
|
|
void CodeCacheVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -4975,8 +5134,13 @@ class String: public HeapObject { |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
void StringShortPrint(StringStream* accumulator); |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void StringPrint() { |
|
|
|
StringPrint(stdout); |
|
|
|
} |
|
|
|
void StringPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void StringPrint(); |
|
|
|
void StringVerify(); |
|
|
|
#endif |
|
|
|
inline bool IsFlat(); |
|
|
@ -5531,7 +5695,12 @@ class JSGlobalPropertyCell: public HeapObject { |
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
void JSGlobalPropertyCellVerify(); |
|
|
|
void JSGlobalPropertyCellPrint(); |
|
|
|
#endif |
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSGlobalPropertyCellPrint() { |
|
|
|
JSGlobalPropertyCellPrint(stdout); |
|
|
|
} |
|
|
|
void JSGlobalPropertyCellPrint(FILE* out); |
|
|
|
#endif |
|
|
|
|
|
|
|
// Layout description.
|
|
|
@ -5566,8 +5735,13 @@ class Proxy: public HeapObject { |
|
|
|
template<typename StaticVisitor> |
|
|
|
inline void ProxyIterateBody(); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ProxyPrint() { |
|
|
|
ProxyPrint(stdout); |
|
|
|
} |
|
|
|
void ProxyPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ProxyPrint(); |
|
|
|
void ProxyVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5616,8 +5790,13 @@ class JSArray: public JSObject { |
|
|
|
inline void EnsureSize(int minimum_size_of_backing_fixed_array); |
|
|
|
|
|
|
|
// Dispatched behavior.
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void JSArrayPrint() { |
|
|
|
JSArrayPrint(stdout); |
|
|
|
} |
|
|
|
void JSArrayPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void JSArrayPrint(); |
|
|
|
void JSArrayVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5688,8 +5867,13 @@ class AccessorInfo: public Struct { |
|
|
|
|
|
|
|
static inline AccessorInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void AccessorInfoPrint() { |
|
|
|
AccessorInfoPrint(stdout); |
|
|
|
} |
|
|
|
void AccessorInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void AccessorInfoPrint(); |
|
|
|
void AccessorInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5719,8 +5903,13 @@ class AccessCheckInfo: public Struct { |
|
|
|
|
|
|
|
static inline AccessCheckInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void AccessCheckInfoPrint() { |
|
|
|
AccessCheckInfoPrint(stdout); |
|
|
|
} |
|
|
|
void AccessCheckInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void AccessCheckInfoPrint(); |
|
|
|
void AccessCheckInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5745,8 +5934,13 @@ class InterceptorInfo: public Struct { |
|
|
|
|
|
|
|
static inline InterceptorInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void InterceptorInfoPrint() { |
|
|
|
InterceptorInfoPrint(stdout); |
|
|
|
} |
|
|
|
void InterceptorInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void InterceptorInfoPrint(); |
|
|
|
void InterceptorInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5770,8 +5964,13 @@ class CallHandlerInfo: public Struct { |
|
|
|
|
|
|
|
static inline CallHandlerInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void CallHandlerInfoPrint() { |
|
|
|
CallHandlerInfoPrint(stdout); |
|
|
|
} |
|
|
|
void CallHandlerInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void CallHandlerInfoPrint(); |
|
|
|
void CallHandlerInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5827,8 +6026,13 @@ class FunctionTemplateInfo: public TemplateInfo { |
|
|
|
|
|
|
|
static inline FunctionTemplateInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void FunctionTemplateInfoPrint() { |
|
|
|
FunctionTemplateInfoPrint(stdout); |
|
|
|
} |
|
|
|
void FunctionTemplateInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void FunctionTemplateInfoPrint(); |
|
|
|
void FunctionTemplateInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5870,8 +6074,13 @@ class ObjectTemplateInfo: public TemplateInfo { |
|
|
|
|
|
|
|
static inline ObjectTemplateInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void ObjectTemplateInfoPrint() { |
|
|
|
ObjectTemplateInfoPrint(stdout); |
|
|
|
} |
|
|
|
void ObjectTemplateInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void ObjectTemplateInfoPrint(); |
|
|
|
void ObjectTemplateInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5889,8 +6098,13 @@ class SignatureInfo: public Struct { |
|
|
|
|
|
|
|
static inline SignatureInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void SignatureInfoPrint() { |
|
|
|
SignatureInfoPrint(stdout); |
|
|
|
} |
|
|
|
void SignatureInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void SignatureInfoPrint(); |
|
|
|
void SignatureInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5909,8 +6123,13 @@ class TypeSwitchInfo: public Struct { |
|
|
|
|
|
|
|
static inline TypeSwitchInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void TypeSwitchInfoPrint() { |
|
|
|
TypeSwitchInfoPrint(stdout); |
|
|
|
} |
|
|
|
void TypeSwitchInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void TypeSwitchInfoPrint(); |
|
|
|
void TypeSwitchInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -5956,8 +6175,13 @@ class DebugInfo: public Struct { |
|
|
|
|
|
|
|
static inline DebugInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void DebugInfoPrint() { |
|
|
|
DebugInfoPrint(stdout); |
|
|
|
} |
|
|
|
void DebugInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void DebugInfoPrint(); |
|
|
|
void DebugInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
@ -6009,8 +6233,13 @@ class BreakPointInfo: public Struct { |
|
|
|
|
|
|
|
static inline BreakPointInfo* cast(Object* obj); |
|
|
|
|
|
|
|
#ifdef OBJECT_PRINT |
|
|
|
inline void BreakPointInfoPrint() { |
|
|
|
BreakPointInfoPrint(stdout); |
|
|
|
} |
|
|
|
void BreakPointInfoPrint(FILE* out); |
|
|
|
#endif |
|
|
|
#ifdef DEBUG |
|
|
|
void BreakPointInfoPrint(); |
|
|
|
void BreakPointInfoVerify(); |
|
|
|
#endif |
|
|
|
|
|
|
|