OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 break; | 116 break; |
117 case EXTERNAL_DOUBLE_ARRAY_TYPE: | 117 case EXTERNAL_DOUBLE_ARRAY_TYPE: |
118 ExternalDoubleArray::cast(this)->ExternalDoubleArrayPrint(out); | 118 ExternalDoubleArray::cast(this)->ExternalDoubleArrayPrint(out); |
119 break; | 119 break; |
120 case FILLER_TYPE: | 120 case FILLER_TYPE: |
121 PrintF(out, "filler"); | 121 PrintF(out, "filler"); |
122 break; | 122 break; |
123 case JS_OBJECT_TYPE: // fall through | 123 case JS_OBJECT_TYPE: // fall through |
124 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 124 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
125 case JS_ARRAY_TYPE: | 125 case JS_ARRAY_TYPE: |
| 126 case JS_WEAKMAP_TYPE: |
126 case JS_REGEXP_TYPE: | 127 case JS_REGEXP_TYPE: |
127 JSObject::cast(this)->JSObjectPrint(out); | 128 JSObject::cast(this)->JSObjectPrint(out); |
128 break; | 129 break; |
129 case ODDBALL_TYPE: | 130 case ODDBALL_TYPE: |
130 Oddball::cast(this)->to_string()->Print(out); | 131 Oddball::cast(this)->to_string()->Print(out); |
131 break; | 132 break; |
132 case JS_FUNCTION_TYPE: | 133 case JS_FUNCTION_TYPE: |
133 JSFunction::cast(this)->JSFunctionPrint(out); | 134 JSFunction::cast(this)->JSFunctionPrint(out); |
134 break; | 135 break; |
135 case JS_GLOBAL_PROXY_TYPE: | 136 case JS_GLOBAL_PROXY_TYPE: |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 desc.Print(out); | 847 desc.Print(out); |
847 } | 848 } |
848 PrintF(out, "\n"); | 849 PrintF(out, "\n"); |
849 } | 850 } |
850 | 851 |
851 | 852 |
852 #endif // OBJECT_PRINT | 853 #endif // OBJECT_PRINT |
853 | 854 |
854 | 855 |
855 } } // namespace v8::internal | 856 } } // namespace v8::internal |
OLD | NEW |