| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |