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

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

Issue 886663004: Revert of Use a WeakCell in the CallIC type vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/code-stubs.h ('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/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 CodeStubDescriptor* descriptor) { 672 CodeStubDescriptor* descriptor) {
673 FastCloneShallowObjectDescriptor call_descriptor(isolate()); 673 FastCloneShallowObjectDescriptor call_descriptor(isolate());
674 descriptor->Initialize( 674 descriptor->Initialize(
675 Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry); 675 Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry);
676 } 676 }
677 677
678 678
679 void CreateAllocationSiteStub::InitializeDescriptor(CodeStubDescriptor* d) {} 679 void CreateAllocationSiteStub::InitializeDescriptor(CodeStubDescriptor* d) {}
680 680
681 681
682 void CreateWeakCellStub::InitializeDescriptor(CodeStubDescriptor* d) {}
683
684
685 void RegExpConstructResultStub::InitializeDescriptor( 682 void RegExpConstructResultStub::InitializeDescriptor(
686 CodeStubDescriptor* descriptor) { 683 CodeStubDescriptor* descriptor) {
687 descriptor->Initialize( 684 descriptor->Initialize(
688 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry); 685 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry);
689 } 686 }
690 687
691 688
692 void TransitionElementsKindStub::InitializeDescriptor( 689 void TransitionElementsKindStub::InitializeDescriptor(
693 CodeStubDescriptor* descriptor) { 690 CodeStubDescriptor* descriptor) {
694 descriptor->Initialize( 691 descriptor->Initialize(
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 730 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
734 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAdd)->entry); 731 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAdd)->entry);
735 } 732 }
736 733
737 734
738 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { 735 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) {
739 CreateAllocationSiteStub stub(isolate); 736 CreateAllocationSiteStub stub(isolate);
740 stub.GetCode(); 737 stub.GetCode();
741 } 738 }
742 739
743
744 void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) {
745 CreateWeakCellStub stub(isolate);
746 stub.GetCode();
747 }
748
749 740
750 void StoreElementStub::Generate(MacroAssembler* masm) { 741 void StoreElementStub::Generate(MacroAssembler* masm) {
751 switch (elements_kind()) { 742 switch (elements_kind()) {
752 case FAST_ELEMENTS: 743 case FAST_ELEMENTS:
753 case FAST_HOLEY_ELEMENTS: 744 case FAST_HOLEY_ELEMENTS:
754 case FAST_SMI_ELEMENTS: 745 case FAST_SMI_ELEMENTS:
755 case FAST_HOLEY_SMI_ELEMENTS: 746 case FAST_HOLEY_SMI_ELEMENTS:
756 case FAST_DOUBLE_ELEMENTS: 747 case FAST_DOUBLE_ELEMENTS:
757 case FAST_HOLEY_DOUBLE_ELEMENTS: 748 case FAST_HOLEY_DOUBLE_ELEMENTS:
758 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ 749 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 } 965 }
975 966
976 967
977 InternalArrayConstructorStub::InternalArrayConstructorStub( 968 InternalArrayConstructorStub::InternalArrayConstructorStub(
978 Isolate* isolate) : PlatformCodeStub(isolate) { 969 Isolate* isolate) : PlatformCodeStub(isolate) {
979 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 970 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
980 } 971 }
981 972
982 973
983 } } // namespace v8::internal 974 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698