| 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 #ifndef V8_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
| 6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/code-stub-assembler.h" | 10 #include "src/code-stub-assembler.h" |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 } | 557 } |
| 558 | 558 |
| 559 int GetParameterCount() const { | 559 int GetParameterCount() const { |
| 560 return call_descriptor().GetParameterCount(); | 560 return call_descriptor().GetParameterCount(); |
| 561 } | 561 } |
| 562 | 562 |
| 563 Register GetRegisterParameter(int index) const { | 563 Register GetRegisterParameter(int index) const { |
| 564 return call_descriptor().GetRegisterParameter(index); | 564 return call_descriptor().GetRegisterParameter(index); |
| 565 } | 565 } |
| 566 | 566 |
| 567 Type* GetParameterType(int index) const { | 567 MachineType GetParameterType(int index) const { |
| 568 return call_descriptor().GetParameterType(index); | 568 return call_descriptor().GetParameterType(index); |
| 569 } | 569 } |
| 570 | 570 |
| 571 ExternalReference miss_handler() const { | 571 ExternalReference miss_handler() const { |
| 572 DCHECK(has_miss_handler_); | 572 DCHECK(has_miss_handler_); |
| 573 return miss_handler_; | 573 return miss_handler_; |
| 574 } | 574 } |
| 575 | 575 |
| 576 Runtime::FunctionId miss_handler_id() const { | 576 Runtime::FunctionId miss_handler_id() const { |
| 577 DCHECK(has_miss_handler_); | 577 DCHECK(has_miss_handler_); |
| (...skipping 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3218 }; | 3218 }; |
| 3219 | 3219 |
| 3220 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR | 3220 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR |
| 3221 #undef DEFINE_PLATFORM_CODE_STUB | 3221 #undef DEFINE_PLATFORM_CODE_STUB |
| 3222 #undef DEFINE_HANDLER_CODE_STUB | 3222 #undef DEFINE_HANDLER_CODE_STUB |
| 3223 #undef DEFINE_HYDROGEN_CODE_STUB | 3223 #undef DEFINE_HYDROGEN_CODE_STUB |
| 3224 #undef DEFINE_CODE_STUB | 3224 #undef DEFINE_CODE_STUB |
| 3225 #undef DEFINE_CODE_STUB_BASE | 3225 #undef DEFINE_CODE_STUB_BASE |
| 3226 | 3226 |
| 3227 extern Representation RepresentationFromType(Type* type); | 3227 extern Representation RepresentationFromType(Type* type); |
| 3228 extern Representation RepresentationFromMachineType(MachineType type); |
| 3228 | 3229 |
| 3229 } // namespace internal | 3230 } // namespace internal |
| 3230 } // namespace v8 | 3231 } // namespace v8 |
| 3231 | 3232 |
| 3232 #endif // V8_CODE_STUBS_H_ | 3233 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |