| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 5507c98290df1319bd4b2d6c4050eaa8392c76ba..90141d092a6cd355cb187b40b0e8c8cce02d91c3 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -173,6 +173,8 @@ enum ElementsKind {
|
| static const int kElementsKindCount =
|
| LAST_ELEMENTS_KIND - FIRST_ELEMENTS_KIND + 1;
|
|
|
| +void PrintElementsKind(FILE* out, ElementsKind kind);
|
| +
|
| // PropertyDetails captures type and attributes for a property.
|
| // They are used both in property dictionaries and instance descriptors.
|
| class PropertyDetails BASE_EMBEDDED {
|
| @@ -857,6 +859,8 @@ class Object : public MaybeObject {
|
| HEAP_OBJECT_TYPE_LIST(IS_TYPE_FUNCTION_DECL)
|
| #undef IS_TYPE_FUNCTION_DECL
|
|
|
| + inline bool IsFixedArrayBase();
|
| +
|
| // Returns true if this object is an instance of the specified
|
| // function template.
|
| inline bool IsInstanceOf(FunctionTemplateInfo* type);
|
| @@ -949,6 +953,12 @@ class Object : public MaybeObject {
|
| static void VerifyPointer(Object* p);
|
| #endif
|
|
|
| + // Print objects in an absolute minimal form. Prints either the name of the
|
| + // oddball/built-in object, the content of strings, or the address of the
|
| + // object. NOTE: MiniPrint is defined for all builds (not just DEBUG builds)
|
| + // because we may want to be able to trace function calls in all modes.
|
| + void MiniPrint();
|
| +
|
| // Prints this object without details.
|
| inline void ShortPrint() {
|
| ShortPrint(stdout);
|
| @@ -1910,6 +1920,10 @@ class JSObject: public JSReceiver {
|
| void PrintElements(FILE* out);
|
| #endif
|
|
|
| + void PrintElementsTransition(
|
| + FILE* file, ElementsKind from_kind, FixedArrayBase* from_elements,
|
| + ElementsKind to_kind, FixedArrayBase* to_elements);
|
| +
|
| #ifdef DEBUG
|
| // Structure for collecting spill information about JSObjects.
|
| class SpillInformation {
|
| @@ -6142,6 +6156,12 @@ class String: public HeapObject {
|
| // For use during stack traces. Performs rudimentary sanity check.
|
| bool LooksValid();
|
|
|
| + // Print objects in an absolute minimal form. Prints either the name of the
|
| + // oddball/built-in object, the content of strings, or the address of the
|
| + // object. NOTE: MiniPrint is defined for all builds (not just DEBUG builds)
|
| + // because we may want to be able to trace function calls in all modes.
|
| + void MiniPrint();
|
| +
|
| // Dispatched behavior.
|
| void StringShortPrint(StringStream* accumulator);
|
| #ifdef OBJECT_PRINT
|
|
|