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

Side by Side Diff: src/lithium.cc

Issue 10442015: Rollback of r11638, r11636 on trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 7 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/jsregexp.cc ('k') | src/mips/builtins-mips.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 2012 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 return 0; 218 return 0;
219 case EXTERNAL_SHORT_ELEMENTS: 219 case EXTERNAL_SHORT_ELEMENTS:
220 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: 220 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS:
221 return 1; 221 return 1;
222 case EXTERNAL_INT_ELEMENTS: 222 case EXTERNAL_INT_ELEMENTS:
223 case EXTERNAL_UNSIGNED_INT_ELEMENTS: 223 case EXTERNAL_UNSIGNED_INT_ELEMENTS:
224 case EXTERNAL_FLOAT_ELEMENTS: 224 case EXTERNAL_FLOAT_ELEMENTS:
225 return 2; 225 return 2;
226 case EXTERNAL_DOUBLE_ELEMENTS: 226 case EXTERNAL_DOUBLE_ELEMENTS:
227 case FAST_DOUBLE_ELEMENTS: 227 case FAST_DOUBLE_ELEMENTS:
228 case FAST_HOLEY_DOUBLE_ELEMENTS:
229 return 3; 228 return 3;
230 case FAST_SMI_ELEMENTS: 229 case FAST_SMI_ONLY_ELEMENTS:
231 case FAST_ELEMENTS: 230 case FAST_ELEMENTS:
232 case FAST_HOLEY_SMI_ELEMENTS:
233 case FAST_HOLEY_ELEMENTS:
234 case DICTIONARY_ELEMENTS: 231 case DICTIONARY_ELEMENTS:
235 case NON_STRICT_ARGUMENTS_ELEMENTS: 232 case NON_STRICT_ARGUMENTS_ELEMENTS:
236 return kPointerSizeLog2; 233 return kPointerSizeLog2;
237 } 234 }
238 UNREACHABLE(); 235 UNREACHABLE();
239 return 0; 236 return 0;
240 } 237 }
241 238
242 239
243 } } // namespace v8::internal 240 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/jsregexp.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698