OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |