| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_COMPILER_LINKAGE_H_ | 5 #ifndef V8_COMPILER_LINKAGE_H_ |
| 6 #define V8_COMPILER_LINKAGE_H_ | 6 #define V8_COMPILER_LINKAGE_H_ |
| 7 | 7 |
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/compiler/frame.h" | 9 #include "src/compiler/frame.h" |
| 10 #include "src/compiler/machine-type.h" | 10 #include "src/compiler/machine-type.h" |
| 11 #include "src/compiler/operator.h" | 11 #include "src/compiler/operator.h" |
| 12 #include "src/frames.h" | 12 #include "src/frames.h" |
| 13 #include "src/runtime/runtime.h" | 13 #include "src/runtime/runtime.h" |
| 14 #include "src/zone.h" | 14 #include "src/zone.h" |
| 15 | 15 |
| 16 namespace v8 { | 16 namespace v8 { |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 class CallInterfaceDescriptor; | 19 class CallInterfaceDescriptor; |
| 20 | 20 |
| 21 namespace compiler { | 21 namespace compiler { |
| 22 | 22 |
| 23 const RegList kNoCalleeSaved = 0; |
| 24 |
| 23 class Node; | 25 class Node; |
| 24 class OsrHelper; | 26 class OsrHelper; |
| 25 | 27 |
| 26 // Describes the location for a parameter or a return value to a call. | 28 // Describes the location for a parameter or a return value to a call. |
| 27 class LinkageLocation { | 29 class LinkageLocation { |
| 28 public: | 30 public: |
| 29 bool operator==(const LinkageLocation& other) const { | 31 bool operator==(const LinkageLocation& other) const { |
| 30 return bit_field_ == other.bit_field_; | 32 return bit_field_ == other.bit_field_; |
| 31 } | 33 } |
| 32 | 34 |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 CallDescriptor* const incoming_; | 340 CallDescriptor* const incoming_; |
| 339 | 341 |
| 340 DISALLOW_COPY_AND_ASSIGN(Linkage); | 342 DISALLOW_COPY_AND_ASSIGN(Linkage); |
| 341 }; | 343 }; |
| 342 | 344 |
| 343 } // namespace compiler | 345 } // namespace compiler |
| 344 } // namespace internal | 346 } // namespace internal |
| 345 } // namespace v8 | 347 } // namespace v8 |
| 346 | 348 |
| 347 #endif // V8_COMPILER_LINKAGE_H_ | 349 #endif // V8_COMPILER_LINKAGE_H_ |
| OLD | NEW |