| 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/v8.h" | |
| 6 | |
| 7 #include "src/interface-descriptors.h" | 5 #include "src/interface-descriptors.h" |
| 8 | 6 |
| 9 namespace v8 { | 7 namespace v8 { |
| 10 namespace internal { | 8 namespace internal { |
| 11 | 9 |
| 12 namespace { | 10 namespace { |
| 13 // Constructors for common combined semantic and representation types. | 11 // Constructors for common combined semantic and representation types. |
| 14 Type* SmiType() { | 12 Type* SmiType() { |
| 15 return Type::Intersect(Type::SignedSmall(), Type::TaggedSigned()); | 13 return Type::Intersect(Type::SignedSmall(), Type::TaggedSigned()); |
| 16 } | 14 } |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); | 416 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); |
| 419 function->InitParameter(0, Type::Receiver()); | 417 function->InitParameter(0, Type::Receiver()); |
| 420 function->InitParameter(1, SmiType()); | 418 function->InitParameter(1, SmiType()); |
| 421 function->InitParameter(2, AnyTagged()); | 419 function->InitParameter(2, AnyTagged()); |
| 422 function->InitParameter(3, AnyTagged()); | 420 function->InitParameter(3, AnyTagged()); |
| 423 function->InitParameter(4, AnyTagged()); | 421 function->InitParameter(4, AnyTagged()); |
| 424 return function; | 422 return function; |
| 425 } | 423 } |
| 426 } // namespace internal | 424 } // namespace internal |
| 427 } // namespace v8 | 425 } // namespace v8 |
| OLD | NEW |