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

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

Issue 16631002: Separate Cell and PropertyCell spaces (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove Mips changes Created 7 years, 6 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/objects-visiting-inl.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 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 case ODDBALL_TYPE: 85 case ODDBALL_TYPE:
86 return kVisitOddball; 86 return kVisitOddball;
87 87
88 case MAP_TYPE: 88 case MAP_TYPE:
89 return kVisitMap; 89 return kVisitMap;
90 90
91 case CODE_TYPE: 91 case CODE_TYPE:
92 return kVisitCode; 92 return kVisitCode;
93 93
94 case JS_GLOBAL_PROPERTY_CELL_TYPE: 94 case CELL_TYPE:
95 return kVisitCell;
96
97 case PROPERTY_CELL_TYPE:
95 return kVisitPropertyCell; 98 return kVisitPropertyCell;
96 99
97 case JS_SET_TYPE: 100 case JS_SET_TYPE:
98 return GetVisitorIdForSize(kVisitStruct, 101 return GetVisitorIdForSize(kVisitStruct,
99 kVisitStructGeneric, 102 kVisitStructGeneric,
100 JSSet::kSize); 103 JSSet::kSize);
101 104
102 case JS_MAP_TYPE: 105 case JS_MAP_TYPE:
103 return GetVisitorIdForSize(kVisitStruct, 106 return GetVisitorIdForSize(kVisitStruct,
104 kVisitStructGeneric, 107 kVisitStructGeneric,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 kVisitStructGeneric, 183 kVisitStructGeneric,
181 instance_size); 184 instance_size);
182 185
183 default: 186 default:
184 UNREACHABLE(); 187 UNREACHABLE();
185 return kVisitorIdCount; 188 return kVisitorIdCount;
186 } 189 }
187 } 190 }
188 191
189 } } // namespace v8::internal 192 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-visiting.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698