| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 if (kind() == Code::STORE_IC) { | 611 if (kind() == Code::STORE_IC) { |
| 612 descriptor->Initialize(FUNCTION_ADDR(StoreIC_MissFromStubFailure)); | 612 descriptor->Initialize(FUNCTION_ADDR(StoreIC_MissFromStubFailure)); |
| 613 } else if (kind() == Code::KEYED_LOAD_IC) { | 613 } else if (kind() == Code::KEYED_LOAD_IC) { |
| 614 descriptor->Initialize(FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure)); | 614 descriptor->Initialize(FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure)); |
| 615 } | 615 } |
| 616 } | 616 } |
| 617 | 617 |
| 618 | 618 |
| 619 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() { | 619 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() { |
| 620 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { | 620 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { |
| 621 return VectorLoadICDescriptor(isolate()); | 621 return LoadWithVectorDescriptor(isolate()); |
| 622 } else { | 622 } else { |
| 623 DCHECK_EQ(Code::STORE_IC, kind()); | 623 DCHECK_EQ(Code::STORE_IC, kind()); |
| 624 return StoreDescriptor(isolate()); | 624 return StoreDescriptor(isolate()); |
| 625 } | 625 } |
| 626 } | 626 } |
| 627 | 627 |
| 628 | 628 |
| 629 void StoreFastElementStub::InitializeDescriptor( | 629 void StoreFastElementStub::InitializeDescriptor( |
| 630 CodeStubDescriptor* descriptor) { | 630 CodeStubDescriptor* descriptor) { |
| 631 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); | 631 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 | 1016 |
| 1017 InternalArrayConstructorStub::InternalArrayConstructorStub( | 1017 InternalArrayConstructorStub::InternalArrayConstructorStub( |
| 1018 Isolate* isolate) : PlatformCodeStub(isolate) { | 1018 Isolate* isolate) : PlatformCodeStub(isolate) { |
| 1019 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1019 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 1020 } | 1020 } |
| 1021 | 1021 |
| 1022 | 1022 |
| 1023 } } // namespace v8::internal | 1023 } } // namespace v8::internal |
| OLD | NEW |