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

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

Issue 1670143002: Visit the Optimized Code Map on first call rather than closure creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed overly-restrictive assert. Created 4 years, 8 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/builtins-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/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 3670 matching lines...) Expand 10 before | Expand all | Expand 10 after
3681 const { 3681 const {
3682 return VectorStoreTransitionDescriptor(isolate()); 3682 return VectorStoreTransitionDescriptor(isolate());
3683 } 3683 }
3684 3684
3685 3685
3686 CallInterfaceDescriptor 3686 CallInterfaceDescriptor
3687 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { 3687 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const {
3688 return VectorStoreTransitionDescriptor(isolate()); 3688 return VectorStoreTransitionDescriptor(isolate());
3689 } 3689 }
3690 3690
3691 3691 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
3692 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
3693 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry);
3694 }
3695
3696 3692
3697 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} 3693 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {}
3698 3694
3699 3695
3700 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 3696 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
3701 3697
3702 3698
3703 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 3699 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
3704 descriptor->Initialize( 3700 descriptor->Initialize(
3705 Runtime::FunctionForId(Runtime::kNumberToString)->entry); 3701 Runtime::FunctionForId(Runtime::kNumberToString)->entry);
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
4010 if (type->Is(Type::UntaggedPointer())) { 4006 if (type->Is(Type::UntaggedPointer())) {
4011 return Representation::External(); 4007 return Representation::External();
4012 } 4008 }
4013 4009
4014 DCHECK(!type->Is(Type::Untagged())); 4010 DCHECK(!type->Is(Type::Untagged()));
4015 return Representation::Tagged(); 4011 return Representation::Tagged();
4016 } 4012 }
4017 4013
4018 } // namespace internal 4014 } // namespace internal
4019 } // namespace v8 4015 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698