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

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

Issue 1668103002: Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. 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 665 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
666 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
667 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry);
668 }
669
670 666
671 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} 667 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {}
672 668
673 669
674 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 670 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
675 671
676 672
677 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 673 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
678 NumberToStringDescriptor call_descriptor(isolate()); 674 NumberToStringDescriptor call_descriptor(isolate());
679 descriptor->Initialize( 675 descriptor->Initialize(
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 if (type->Is(Type::UntaggedPointer())) { 1032 if (type->Is(Type::UntaggedPointer())) {
1037 return Representation::External(); 1033 return Representation::External();
1038 } 1034 }
1039 1035
1040 DCHECK(!type->Is(Type::Untagged())); 1036 DCHECK(!type->Is(Type::Untagged()));
1041 return Representation::Tagged(); 1037 return Representation::Tagged();
1042 } 1038 }
1043 1039
1044 } // namespace internal 1040 } // namespace internal
1045 } // namespace v8 1041 } // 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