| 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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 CallInterfaceDescriptor | 668 CallInterfaceDescriptor |
| 669 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { | 669 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { |
| 670 if (FLAG_vector_stores) { | 670 if (FLAG_vector_stores) { |
| 671 return VectorStoreTransitionDescriptor(isolate()); | 671 return VectorStoreTransitionDescriptor(isolate()); |
| 672 } | 672 } |
| 673 return StoreTransitionDescriptor(isolate()); | 673 return StoreTransitionDescriptor(isolate()); |
| 674 } | 674 } |
| 675 | 675 |
| 676 | 676 |
| 677 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 677 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
| 678 descriptor->Initialize( | 678 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry); |
| 679 Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry); | |
| 680 } | 679 } |
| 681 | 680 |
| 682 | 681 |
| 683 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 682 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
| 684 | 683 |
| 685 | 684 |
| 686 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 685 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
| 687 | 686 |
| 688 | 687 |
| 689 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 688 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1051 | 1050 |
| 1052 if (type->Is(Type::UntaggedPointer())) { | 1051 if (type->Is(Type::UntaggedPointer())) { |
| 1053 return Representation::External(); | 1052 return Representation::External(); |
| 1054 } | 1053 } |
| 1055 | 1054 |
| 1056 DCHECK(!type->Is(Type::Untagged())); | 1055 DCHECK(!type->Is(Type::Untagged())); |
| 1057 return Representation::Tagged(); | 1056 return Representation::Tagged(); |
| 1058 } | 1057 } |
| 1059 } // namespace internal | 1058 } // namespace internal |
| 1060 } // namespace v8 | 1059 } // namespace v8 |
| OLD | NEW |