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

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

Issue 1642613002: Reland of Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: %SetCode failed to install literals in cache. 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 const { 657 const {
658 return VectorStoreTransitionDescriptor(isolate()); 658 return VectorStoreTransitionDescriptor(isolate());
659 } 659 }
660 660
661 661
662 CallInterfaceDescriptor 662 CallInterfaceDescriptor
663 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { 663 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const {
664 return VectorStoreTransitionDescriptor(isolate()); 664 return VectorStoreTransitionDescriptor(isolate());
665 } 665 }
666 666
667 667 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
668 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
669 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry);
670 }
671
672 668
673 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} 669 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {}
674 670
675 671
676 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 672 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
677 673
678 674
679 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 675 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
680 NumberToStringDescriptor call_descriptor(isolate()); 676 NumberToStringDescriptor call_descriptor(isolate());
681 descriptor->Initialize( 677 descriptor->Initialize(
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 if (type->Is(Type::UntaggedPointer())) { 1054 if (type->Is(Type::UntaggedPointer())) {
1059 return Representation::External(); 1055 return Representation::External();
1060 } 1056 }
1061 1057
1062 DCHECK(!type->Is(Type::Untagged())); 1058 DCHECK(!type->Is(Type::Untagged()));
1063 return Representation::Tagged(); 1059 return Representation::Tagged();
1064 } 1060 }
1065 1061
1066 } // namespace internal 1062 } // namespace internal
1067 } // namespace v8 1063 } // 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