OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef V8_SIGNATURE_H_ | 5 #ifndef V8_SIGNATURE_H_ |
6 #define V8_SIGNATURE_H_ | 6 #define V8_SIGNATURE_H_ |
7 | 7 |
8 #include "src/zone.h" | 8 #include "src/zone/zone.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // Describes the inputs and outputs of a function or call. | 13 // Describes the inputs and outputs of a function or call. |
14 template <typename T> | 14 template <typename T> |
15 class Signature : public ZoneObject { | 15 class Signature : public ZoneObject { |
16 public: | 16 public: |
17 Signature(size_t return_count, size_t parameter_count, const T* reps) | 17 Signature(size_t return_count, size_t parameter_count, const T* reps) |
18 : return_count_(return_count), | 18 : return_count_(return_count), |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 protected: | 73 protected: |
74 size_t return_count_; | 74 size_t return_count_; |
75 size_t parameter_count_; | 75 size_t parameter_count_; |
76 const T* reps_; | 76 const T* reps_; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace internal | 79 } // namespace internal |
80 } // namespace v8 | 80 } // namespace v8 |
81 | 81 |
82 #endif // V8_SIGNATURE_H_ | 82 #endif // V8_SIGNATURE_H_ |
OLD | NEW |