| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 case EXTERNAL_SHORT_ELEMENTS: | 44 case EXTERNAL_SHORT_ELEMENTS: |
| 45 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: | 45 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: |
| 46 return 1; | 46 return 1; |
| 47 case EXTERNAL_INT_ELEMENTS: | 47 case EXTERNAL_INT_ELEMENTS: |
| 48 case EXTERNAL_UNSIGNED_INT_ELEMENTS: | 48 case EXTERNAL_UNSIGNED_INT_ELEMENTS: |
| 49 case EXTERNAL_FLOAT_ELEMENTS: | 49 case EXTERNAL_FLOAT_ELEMENTS: |
| 50 return 2; | 50 return 2; |
| 51 case EXTERNAL_DOUBLE_ELEMENTS: | 51 case EXTERNAL_DOUBLE_ELEMENTS: |
| 52 case FAST_DOUBLE_ELEMENTS: | 52 case FAST_DOUBLE_ELEMENTS: |
| 53 case FAST_HOLEY_DOUBLE_ELEMENTS: | 53 case FAST_HOLEY_DOUBLE_ELEMENTS: |
| 54 case EXTERNAL_FLOAT32x4_ELEMENTS: |
| 55 case EXTERNAL_INT32x4_ELEMENTS: |
| 54 return 3; | 56 return 3; |
| 55 case FAST_SMI_ELEMENTS: | 57 case FAST_SMI_ELEMENTS: |
| 56 case FAST_ELEMENTS: | 58 case FAST_ELEMENTS: |
| 57 case FAST_HOLEY_SMI_ELEMENTS: | 59 case FAST_HOLEY_SMI_ELEMENTS: |
| 58 case FAST_HOLEY_ELEMENTS: | 60 case FAST_HOLEY_ELEMENTS: |
| 59 case DICTIONARY_ELEMENTS: | 61 case DICTIONARY_ELEMENTS: |
| 60 case NON_STRICT_ARGUMENTS_ELEMENTS: | 62 case NON_STRICT_ARGUMENTS_ELEMENTS: |
| 61 return kPointerSizeLog2; | 63 return kPointerSizeLog2; |
| 62 } | 64 } |
| 63 UNREACHABLE(); | 65 UNREACHABLE(); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 return to_kind == FAST_HOLEY_ELEMENTS; | 171 return to_kind == FAST_HOLEY_ELEMENTS; |
| 170 case FAST_HOLEY_ELEMENTS: | 172 case FAST_HOLEY_ELEMENTS: |
| 171 return false; | 173 return false; |
| 172 default: | 174 default: |
| 173 return false; | 175 return false; |
| 174 } | 176 } |
| 175 } | 177 } |
| 176 | 178 |
| 177 | 179 |
| 178 } } // namespace v8::internal | 180 } } // namespace v8::internal |
| OLD | NEW |