OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/arguments.h" | 7 #include "src/arguments.h" |
8 #include "src/runtime/runtime-utils.h" | 8 #include "src/runtime/runtime-utils.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 break; | 843 break; |
844 } | 844 } |
845 int32_t int_value = Smi::cast(element)->value(); | 845 int32_t int_value = Smi::cast(element)->value(); |
846 double_storage->set(j, int_value); | 846 double_storage->set(j, int_value); |
847 j++; | 847 j++; |
848 } | 848 } |
849 break; | 849 break; |
850 } | 850 } |
851 case FAST_HOLEY_ELEMENTS: | 851 case FAST_HOLEY_ELEMENTS: |
852 case FAST_ELEMENTS: | 852 case FAST_ELEMENTS: |
| 853 case DICTIONARY_ELEMENTS: |
853 DCHECK_EQ(0, length); | 854 DCHECK_EQ(0, length); |
854 break; | 855 break; |
855 default: | 856 default: |
856 UNREACHABLE(); | 857 UNREACHABLE(); |
857 } | 858 } |
858 } | 859 } |
859 if (failure) break; | 860 if (failure) break; |
860 } | 861 } |
861 } | 862 } |
862 if (!failure) { | 863 if (!failure) { |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 } | 1310 } |
1310 | 1311 |
1311 | 1312 |
1312 RUNTIME_FUNCTION(RuntimeReference_FastOneByteArrayJoin) { | 1313 RUNTIME_FUNCTION(RuntimeReference_FastOneByteArrayJoin) { |
1313 SealHandleScope shs(isolate); | 1314 SealHandleScope shs(isolate); |
1314 DCHECK(args.length() == 2); | 1315 DCHECK(args.length() == 2); |
1315 return isolate->heap()->undefined_value(); | 1316 return isolate->heap()->undefined_value(); |
1316 } | 1317 } |
1317 } | 1318 } |
1318 } // namespace v8::internal | 1319 } // namespace v8::internal |
OLD | NEW |