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

Side by Side Diff: src/lithium.cc

Issue 7901016: Basic support for tracking smi-only arrays on ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ready to land 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
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 case EXTERNAL_SHORT_ELEMENTS: 196 case EXTERNAL_SHORT_ELEMENTS:
197 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: 197 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS:
198 return 1; 198 return 1;
199 case EXTERNAL_INT_ELEMENTS: 199 case EXTERNAL_INT_ELEMENTS:
200 case EXTERNAL_UNSIGNED_INT_ELEMENTS: 200 case EXTERNAL_UNSIGNED_INT_ELEMENTS:
201 case EXTERNAL_FLOAT_ELEMENTS: 201 case EXTERNAL_FLOAT_ELEMENTS:
202 return 2; 202 return 2;
203 case EXTERNAL_DOUBLE_ELEMENTS: 203 case EXTERNAL_DOUBLE_ELEMENTS:
204 case FAST_DOUBLE_ELEMENTS: 204 case FAST_DOUBLE_ELEMENTS:
205 return 3; 205 return 3;
206 case FAST_SMI_ONLY_ELEMENTS:
206 case FAST_ELEMENTS: 207 case FAST_ELEMENTS:
207 case DICTIONARY_ELEMENTS: 208 case DICTIONARY_ELEMENTS:
208 case NON_STRICT_ARGUMENTS_ELEMENTS: 209 case NON_STRICT_ARGUMENTS_ELEMENTS:
209 return kPointerSizeLog2; 210 return kPointerSizeLog2;
210 } 211 }
211 UNREACHABLE(); 212 UNREACHABLE();
212 return 0; 213 return 0;
213 } 214 }
214 215
215 216
216 } } // namespace v8::internal 217 } } // namespace v8::internal
OLDNEW
« src/bootstrapper.cc ('K') | « src/ic.cc ('k') | src/liveobjectlist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698