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

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

Issue 7060010: Merge bleeding edge into the GC branch up to 7948. The asserts (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 7 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-visiting.h ('k') | src/parser.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 case CODE_TYPE: 85 case CODE_TYPE:
86 return kVisitCode; 86 return kVisitCode;
87 87
88 case JS_GLOBAL_PROPERTY_CELL_TYPE: 88 case JS_GLOBAL_PROPERTY_CELL_TYPE:
89 return kVisitPropertyCell; 89 return kVisitPropertyCell;
90 90
91 case SHARED_FUNCTION_INFO_TYPE: 91 case SHARED_FUNCTION_INFO_TYPE:
92 return kVisitSharedFunctionInfo; 92 return kVisitSharedFunctionInfo;
93 93
94 case JS_PROXY_TYPE:
95 return GetVisitorIdForSize(kVisitDataObject,
96 kVisitDataObjectGeneric,
97 JSProxy::kSize);
98
94 case PROXY_TYPE: 99 case PROXY_TYPE:
95 return GetVisitorIdForSize(kVisitDataObject, 100 return GetVisitorIdForSize(kVisitDataObject,
96 kVisitDataObjectGeneric, 101 kVisitDataObjectGeneric,
97 Proxy::kSize); 102 Proxy::kSize);
98 103
99 case FILLER_TYPE: 104 case FILLER_TYPE:
100 return kVisitDataObjectGeneric; 105 return kVisitDataObjectGeneric;
101 106
102 case JS_OBJECT_TYPE: 107 case JS_OBJECT_TYPE:
103 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 108 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 kVisitStructGeneric, 142 kVisitStructGeneric,
138 instance_size); 143 instance_size);
139 144
140 default: 145 default:
141 UNREACHABLE(); 146 UNREACHABLE();
142 return kVisitorIdCount; 147 return kVisitorIdCount;
143 } 148 }
144 } 149 }
145 150
146 } } // namespace v8::internal 151 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-visiting.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698