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

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: Fix mips64 rebase error. 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
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 3387 matching lines...) Expand 10 before | Expand all | Expand 10 after
3398 const { 3398 const {
3399 return VectorStoreTransitionDescriptor(isolate()); 3399 return VectorStoreTransitionDescriptor(isolate());
3400 } 3400 }
3401 3401
3402 3402
3403 CallInterfaceDescriptor 3403 CallInterfaceDescriptor
3404 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { 3404 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const {
3405 return VectorStoreTransitionDescriptor(isolate()); 3405 return VectorStoreTransitionDescriptor(isolate());
3406 } 3406 }
3407 3407
3408 3408 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
3409 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
3410 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry);
3411 }
3412
3413 3409
3414 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} 3410 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {}
3415 3411
3416 3412
3417 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 3413 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
3418 3414
3419 3415
3420 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 3416 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
3421 descriptor->Initialize( 3417 descriptor->Initialize(
3422 Runtime::FunctionForId(Runtime::kNumberToString)->entry); 3418 Runtime::FunctionForId(Runtime::kNumberToString)->entry);
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
3720 if (type->Is(Type::UntaggedPointer())) { 3716 if (type->Is(Type::UntaggedPointer())) {
3721 return Representation::External(); 3717 return Representation::External();
3722 } 3718 }
3723 3719
3724 DCHECK(!type->Is(Type::Untagged())); 3720 DCHECK(!type->Is(Type::Untagged()));
3725 return Representation::Tagged(); 3721 return Representation::Tagged();
3726 } 3722 }
3727 3723
3728 } // namespace internal 3724 } // namespace internal
3729 } // namespace v8 3725 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698