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

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

Issue 1407373007: Remove CallFunctionStub, always call through the Call builtin (also from CallIC) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/crankshaft/arm/lithium-codegen-arm.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/factory.h" 10 #include "src/factory.h"
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 os << "NewSloppySlow"; 886 os << "NewSloppySlow";
887 break; 887 break;
888 case NEW_STRICT: 888 case NEW_STRICT:
889 os << "NewStrict"; 889 os << "NewStrict";
890 break; 890 break;
891 } 891 }
892 return; 892 return;
893 } 893 }
894 894
895 895
896 void CallFunctionStub::PrintName(std::ostream& os) const { // NOLINT
897 os << "CallFunctionStub_Args" << argc();
898 }
899
900
901 void CallConstructStub::PrintName(std::ostream& os) const { // NOLINT 896 void CallConstructStub::PrintName(std::ostream& os) const { // NOLINT
902 os << "CallConstructStub"; 897 os << "CallConstructStub";
903 if (RecordCallTarget()) os << "_Recording"; 898 if (RecordCallTarget()) os << "_Recording";
904 } 899 }
905 900
906 901
907 void ArrayConstructorStub::PrintName(std::ostream& os) const { // NOLINT 902 void ArrayConstructorStub::PrintName(std::ostream& os) const { // NOLINT
908 os << "ArrayConstructorStub"; 903 os << "ArrayConstructorStub";
909 switch (argument_count()) { 904 switch (argument_count()) {
910 case ANY: 905 case ANY:
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 if (type->Is(Type::UntaggedPointer())) { 1067 if (type->Is(Type::UntaggedPointer())) {
1073 return Representation::External(); 1068 return Representation::External();
1074 } 1069 }
1075 1070
1076 DCHECK(!type->Is(Type::Untagged())); 1071 DCHECK(!type->Is(Type::Untagged()));
1077 return Representation::Tagged(); 1072 return Representation::Tagged();
1078 } 1073 }
1079 1074
1080 } // namespace internal 1075 } // namespace internal
1081 } // namespace v8 1076 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698