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

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

Issue 7945009: Merge experimental/gc branch to the bleeding_edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 kVisitDataObjectGeneric, 66 kVisitDataObjectGeneric,
67 ExternalString::kSize); 67 ExternalString::kSize);
68 } 68 }
69 UNREACHABLE(); 69 UNREACHABLE();
70 } 70 }
71 71
72 switch (instance_type) { 72 switch (instance_type) {
73 case BYTE_ARRAY_TYPE: 73 case BYTE_ARRAY_TYPE:
74 return kVisitByteArray; 74 return kVisitByteArray;
75 75
76 case FREE_SPACE_TYPE:
77 return kVisitFreeSpace;
78
76 case FIXED_ARRAY_TYPE: 79 case FIXED_ARRAY_TYPE:
77 return kVisitFixedArray; 80 return kVisitFixedArray;
78 81
79 case FIXED_DOUBLE_ARRAY_TYPE: 82 case FIXED_DOUBLE_ARRAY_TYPE:
80 return kVisitFixedDoubleArray; 83 return kVisitFixedDoubleArray;
81 84
82 case ODDBALL_TYPE: 85 case ODDBALL_TYPE:
83 return kVisitOddball; 86 return kVisitOddball;
84 87
85 case MAP_TYPE: 88 case MAP_TYPE:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 kVisitStructGeneric, 158 kVisitStructGeneric,
156 instance_size); 159 instance_size);
157 160
158 default: 161 default:
159 UNREACHABLE(); 162 UNREACHABLE();
160 return kVisitorIdCount; 163 return kVisitorIdCount;
161 } 164 }
162 } 165 }
163 166
164 } } // namespace v8::internal 167 } } // 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