| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index 2b81fede9e21dd62e128a240b658e04d6b4f4ed4..e61b621b02ab930760c28777099b75caa2120d4b 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -5836,23 +5836,6 @@ ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate,
|
| InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate)
|
| : PlatformCodeStub(isolate) {}
|
|
|
| -Representation RepresentationFromType(AstType* type) {
|
| - if (type->Is(AstType::UntaggedIntegral())) {
|
| - return Representation::Integer32();
|
| - }
|
| -
|
| - if (type->Is(AstType::TaggedSigned())) {
|
| - return Representation::Smi();
|
| - }
|
| -
|
| - if (type->Is(AstType::UntaggedPointer())) {
|
| - return Representation::External();
|
| - }
|
| -
|
| - DCHECK(!type->Is(AstType::Untagged()));
|
| - return Representation::Tagged();
|
| -}
|
| -
|
| Representation RepresentationFromMachineType(MachineType type) {
|
| if (type == MachineType::Int32()) {
|
| return Representation::Integer32();
|
|
|