| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/code-stubs.h" | 5 #include "src/code-stubs.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/cpu-profiler.h" | 10 #include "src/cpu-profiler.h" |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 case EXTERNAL_##TYPE##_ELEMENTS: \ | 801 case EXTERNAL_##TYPE##_ELEMENTS: \ |
| 802 case TYPE##_ELEMENTS: | 802 case TYPE##_ELEMENTS: |
| 803 | 803 |
| 804 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 804 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
| 805 #undef TYPED_ARRAY_CASE | 805 #undef TYPED_ARRAY_CASE |
| 806 UNREACHABLE(); | 806 UNREACHABLE(); |
| 807 break; | 807 break; |
| 808 case DICTIONARY_ELEMENTS: | 808 case DICTIONARY_ELEMENTS: |
| 809 ElementHandlerCompiler::GenerateStoreSlow(masm); | 809 ElementHandlerCompiler::GenerateStoreSlow(masm); |
| 810 break; | 810 break; |
| 811 case SLOPPY_ARGUMENTS_ELEMENTS: | 811 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 812 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 812 UNREACHABLE(); | 813 UNREACHABLE(); |
| 813 break; | 814 break; |
| 814 } | 815 } |
| 815 } | 816 } |
| 816 | 817 |
| 817 | 818 |
| 818 // static | 819 // static |
| 819 void StoreFastElementStub::GenerateAheadOfTime(Isolate* isolate) { | 820 void StoreFastElementStub::GenerateAheadOfTime(Isolate* isolate) { |
| 820 StoreFastElementStub(isolate, false, FAST_HOLEY_ELEMENTS, STANDARD_STORE) | 821 StoreFastElementStub(isolate, false, FAST_HOLEY_ELEMENTS, STANDARD_STORE) |
| 821 .GetCode(); | 822 .GetCode(); |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1058 | 1059 |
| 1059 if (type->Is(Type::UntaggedPointer())) { | 1060 if (type->Is(Type::UntaggedPointer())) { |
| 1060 return Representation::External(); | 1061 return Representation::External(); |
| 1061 } | 1062 } |
| 1062 | 1063 |
| 1063 DCHECK(!type->Is(Type::Untagged())); | 1064 DCHECK(!type->Is(Type::Untagged())); |
| 1064 return Representation::Tagged(); | 1065 return Representation::Tagged(); |
| 1065 } | 1066 } |
| 1066 } // namespace internal | 1067 } // namespace internal |
| 1067 } // namespace v8 | 1068 } // namespace v8 |
| OLD | NEW |