Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1069)

Side by Side Diff: src/objects-printer.cc

Issue 7529007: Preliminary Harmony weak maps API implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« src/objects.h ('K') | « src/objects-inl.h ('k') | src/objects-visiting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698