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

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

Issue 6368051: A MessageObject is a purely internal object to hold information about (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments Created 9 years, 10 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
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 return kVisitDataObjectGeneric; 97 return kVisitDataObjectGeneric;
98 98
99 case JS_OBJECT_TYPE: 99 case JS_OBJECT_TYPE:
100 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 100 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
101 case JS_VALUE_TYPE: 101 case JS_VALUE_TYPE:
102 case JS_ARRAY_TYPE: 102 case JS_ARRAY_TYPE:
103 case JS_REGEXP_TYPE: 103 case JS_REGEXP_TYPE:
104 case JS_GLOBAL_PROXY_TYPE: 104 case JS_GLOBAL_PROXY_TYPE:
105 case JS_GLOBAL_OBJECT_TYPE: 105 case JS_GLOBAL_OBJECT_TYPE:
106 case JS_BUILTINS_OBJECT_TYPE: 106 case JS_BUILTINS_OBJECT_TYPE:
107 case JS_MESSAGE_OBJECT_TYPE:
107 return GetVisitorIdForSize(kVisitJSObject, 108 return GetVisitorIdForSize(kVisitJSObject,
108 kVisitJSObjectGeneric, 109 kVisitJSObjectGeneric,
109 instance_size); 110 instance_size);
110 111
111 case JS_FUNCTION_TYPE: 112 case JS_FUNCTION_TYPE:
112 return kVisitJSFunction; 113 return kVisitJSFunction;
113 114
114 case HEAP_NUMBER_TYPE: 115 case HEAP_NUMBER_TYPE:
115 case PIXEL_ARRAY_TYPE: 116 case PIXEL_ARRAY_TYPE:
116 case EXTERNAL_BYTE_ARRAY_TYPE: 117 case EXTERNAL_BYTE_ARRAY_TYPE:
(...skipping 15 matching lines...) Expand all
132 kVisitStructGeneric, 133 kVisitStructGeneric,
133 instance_size); 134 instance_size);
134 135
135 default: 136 default:
136 UNREACHABLE(); 137 UNREACHABLE();
137 return kVisitorIdCount; 138 return kVisitorIdCount;
138 } 139 }
139 } 140 }
140 141
141 } } // namespace v8::internal 142 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698