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

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

Issue 7089002: Implement core support for FixedDoubleArrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final version before commit Created 9 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/spaces.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 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
11 // with the distribution. 11 // with the distribution.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 UNREACHABLE(); 66 UNREACHABLE();
67 } 67 }
68 68
69 switch (instance_type) { 69 switch (instance_type) {
70 case BYTE_ARRAY_TYPE: 70 case BYTE_ARRAY_TYPE:
71 return kVisitByteArray; 71 return kVisitByteArray;
72 72
73 case FIXED_ARRAY_TYPE: 73 case FIXED_ARRAY_TYPE:
74 return kVisitFixedArray; 74 return kVisitFixedArray;
75 75
76 case FIXED_DOUBLE_ARRAY_TYPE:
77 return kVisitFixedDoubleArray;
78
76 case ODDBALL_TYPE: 79 case ODDBALL_TYPE:
77 return kVisitOddball; 80 return kVisitOddball;
78 81
79 case MAP_TYPE: 82 case MAP_TYPE:
80 return kVisitMap; 83 return kVisitMap;
81 84
82 case CODE_TYPE: 85 case CODE_TYPE:
83 return kVisitCode; 86 return kVisitCode;
84 87
85 case JS_GLOBAL_PROPERTY_CELL_TYPE: 88 case JS_GLOBAL_PROPERTY_CELL_TYPE:
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 kVisitStructGeneric, 142 kVisitStructGeneric,
140 instance_size); 143 instance_size);
141 144
142 default: 145 default:
143 UNREACHABLE(); 146 UNREACHABLE();
144 return kVisitorIdCount; 147 return kVisitorIdCount;
145 } 148 }
146 } 149 }
147 150
148 } } // namespace v8::internal 151 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-visiting.h ('k') | src/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698