| 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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 os << "NewSloppySlow"; | 879 os << "NewSloppySlow"; |
| 880 break; | 880 break; |
| 881 case NEW_STRICT: | 881 case NEW_STRICT: |
| 882 os << "NewStrict"; | 882 os << "NewStrict"; |
| 883 break; | 883 break; |
| 884 } | 884 } |
| 885 return; | 885 return; |
| 886 } | 886 } |
| 887 | 887 |
| 888 | 888 |
| 889 void CallConstructStub::PrintName(std::ostream& os) const { // NOLINT | |
| 890 os << "CallConstructStub"; | |
| 891 if (RecordCallTarget()) os << "_Recording"; | |
| 892 } | |
| 893 | |
| 894 | |
| 895 void ArrayConstructorStub::PrintName(std::ostream& os) const { // NOLINT | 889 void ArrayConstructorStub::PrintName(std::ostream& os) const { // NOLINT |
| 896 os << "ArrayConstructorStub"; | 890 os << "ArrayConstructorStub"; |
| 897 switch (argument_count()) { | 891 switch (argument_count()) { |
| 898 case ANY: | 892 case ANY: |
| 899 os << "_Any"; | 893 os << "_Any"; |
| 900 break; | 894 break; |
| 901 case NONE: | 895 case NONE: |
| 902 os << "_None"; | 896 os << "_None"; |
| 903 break; | 897 break; |
| 904 case ONE: | 898 case ONE: |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1060 if (type->Is(Type::UntaggedPointer())) { | 1054 if (type->Is(Type::UntaggedPointer())) { |
| 1061 return Representation::External(); | 1055 return Representation::External(); |
| 1062 } | 1056 } |
| 1063 | 1057 |
| 1064 DCHECK(!type->Is(Type::Untagged())); | 1058 DCHECK(!type->Is(Type::Untagged())); |
| 1065 return Representation::Tagged(); | 1059 return Representation::Tagged(); |
| 1066 } | 1060 } |
| 1067 | 1061 |
| 1068 } // namespace internal | 1062 } // namespace internal |
| 1069 } // namespace v8 | 1063 } // namespace v8 |
| OLD | NEW |