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