Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: src/code-stubs.cc

Issue 1670813005: Revert of Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/compiler/code-stub-assembler.h" 10 #include "src/compiler/code-stub-assembler.h"
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 const { 655 const {
656 return VectorStoreTransitionDescriptor(isolate()); 656 return VectorStoreTransitionDescriptor(isolate());
657 } 657 }
658 658
659 659
660 CallInterfaceDescriptor 660 CallInterfaceDescriptor
661 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { 661 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const {
662 return VectorStoreTransitionDescriptor(isolate()); 662 return VectorStoreTransitionDescriptor(isolate());
663 } 663 }
664 664
665 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 665
666 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
667 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry);
668 }
669
666 670
667 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} 671 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {}
668 672
669 673
670 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 674 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
671 675
672 676
673 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 677 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
674 NumberToStringDescriptor call_descriptor(isolate()); 678 NumberToStringDescriptor call_descriptor(isolate());
675 descriptor->Initialize( 679 descriptor->Initialize(
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1032 if (type->Is(Type::UntaggedPointer())) { 1036 if (type->Is(Type::UntaggedPointer())) {
1033 return Representation::External(); 1037 return Representation::External();
1034 } 1038 }
1035 1039
1036 DCHECK(!type->Is(Type::Untagged())); 1040 DCHECK(!type->Is(Type::Untagged()));
1037 return Representation::Tagged(); 1041 return Representation::Tagged();
1038 } 1042 }
1039 1043
1040 } // namespace internal 1044 } // namespace internal
1041 } // namespace v8 1045 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698