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

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

Issue 1878063004: Revert of 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: 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 3522 matching lines...) Expand 10 before | Expand all | Expand 10 after
3533 const { 3533 const {
3534 return VectorStoreTransitionDescriptor(isolate()); 3534 return VectorStoreTransitionDescriptor(isolate());
3535 } 3535 }
3536 3536
3537 3537
3538 CallInterfaceDescriptor 3538 CallInterfaceDescriptor
3539 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { 3539 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const {
3540 return VectorStoreTransitionDescriptor(isolate()); 3540 return VectorStoreTransitionDescriptor(isolate());
3541 } 3541 }
3542 3542
3543 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 3543
3544 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
3545 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry);
3546 }
3547
3544 3548
3545 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} 3549 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {}
3546 3550
3547 3551
3548 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 3552 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
3549 3553
3550 3554
3551 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 3555 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
3552 descriptor->Initialize( 3556 descriptor->Initialize(
3553 Runtime::FunctionForId(Runtime::kNumberToString)->entry); 3557 Runtime::FunctionForId(Runtime::kNumberToString)->entry);
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
3859 if (type->Is(Type::UntaggedPointer())) { 3863 if (type->Is(Type::UntaggedPointer())) {
3860 return Representation::External(); 3864 return Representation::External();
3861 } 3865 }
3862 3866
3863 DCHECK(!type->Is(Type::Untagged())); 3867 DCHECK(!type->Is(Type::Untagged()));
3864 return Representation::Tagged(); 3868 return Representation::Tagged();
3865 } 3869 }
3866 3870
3867 } // namespace internal 3871 } // namespace internal
3868 } // namespace v8 3872 } // 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