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

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

Issue 6879009: Support Float64Arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 9 years, 8 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.cc » ('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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 case HEAP_NUMBER_TYPE: 115 case HEAP_NUMBER_TYPE:
116 case EXTERNAL_PIXEL_ARRAY_TYPE: 116 case EXTERNAL_PIXEL_ARRAY_TYPE:
117 case EXTERNAL_BYTE_ARRAY_TYPE: 117 case EXTERNAL_BYTE_ARRAY_TYPE:
118 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE: 118 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE:
119 case EXTERNAL_SHORT_ARRAY_TYPE: 119 case EXTERNAL_SHORT_ARRAY_TYPE:
120 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE: 120 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE:
121 case EXTERNAL_INT_ARRAY_TYPE: 121 case EXTERNAL_INT_ARRAY_TYPE:
122 case EXTERNAL_UNSIGNED_INT_ARRAY_TYPE: 122 case EXTERNAL_UNSIGNED_INT_ARRAY_TYPE:
123 case EXTERNAL_FLOAT_ARRAY_TYPE: 123 case EXTERNAL_FLOAT_ARRAY_TYPE:
124 case EXTERNAL_DOUBLE_ARRAY_TYPE:
124 return GetVisitorIdForSize(kVisitDataObject, 125 return GetVisitorIdForSize(kVisitDataObject,
125 kVisitDataObjectGeneric, 126 kVisitDataObjectGeneric,
126 instance_size); 127 instance_size);
127 128
128 #define MAKE_STRUCT_CASE(NAME, Name, name) \ 129 #define MAKE_STRUCT_CASE(NAME, Name, name) \
129 case NAME##_TYPE: 130 case NAME##_TYPE:
130 STRUCT_LIST(MAKE_STRUCT_CASE) 131 STRUCT_LIST(MAKE_STRUCT_CASE)
131 #undef MAKE_STRUCT_CASE 132 #undef MAKE_STRUCT_CASE
132 return GetVisitorIdForSize(kVisitStruct, 133 return GetVisitorIdForSize(kVisitStruct,
133 kVisitStructGeneric, 134 kVisitStructGeneric,
134 instance_size); 135 instance_size);
135 136
136 default: 137 default:
137 UNREACHABLE(); 138 UNREACHABLE();
138 return kVisitorIdCount; 139 return kVisitorIdCount;
139 } 140 }
140 } 141 }
141 142
142 } } // namespace v8::internal 143 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698