| 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 #include "src/ic/ic-state.h" | 5 #include "src/ic/ic-state.h" |
| 6 | 6 |
| 7 #include "src/ic/ic.h" | 7 #include "src/ic/ic.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| 11 | 11 |
| 12 // static | 12 // static |
| 13 void ICUtility::Clear(Isolate* isolate, Address address, | 13 void ICUtility::Clear(Isolate* isolate, Address address, |
| 14 Address constant_pool) { | 14 Address constant_pool) { |
| 15 IC::Clear(isolate, address, constant_pool); | 15 IC::Clear(isolate, address, constant_pool); |
| 16 } | 16 } |
| 17 | 17 |
| 18 | 18 |
| 19 std::ostream& operator<<(std::ostream& os, const CallICState& s) { | 19 std::ostream& operator<<(std::ostream& os, const CallICState& s) { |
| 20 return os << "(args(" << s.argc() << "), " << s.convert_mode() << ", "; | 20 return os << "(" << s.convert_mode() << ", " << s.tail_call_mode() << ")"; |
| 21 } | 21 } |
| 22 | 22 |
| 23 | 23 |
| 24 // static | 24 // static |
| 25 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::FIRST_TOKEN; | 25 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::FIRST_TOKEN; |
| 26 | 26 |
| 27 | 27 |
| 28 // static | 28 // static |
| 29 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::LAST_TOKEN; | 29 STATIC_CONST_MEMBER_DEFINITION const int BinaryOpICState::LAST_TOKEN; |
| 30 | 30 |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 case RECEIVER: | 505 case RECEIVER: |
| 506 case GENERIC: | 506 case GENERIC: |
| 507 return GENERIC; | 507 return GENERIC; |
| 508 } | 508 } |
| 509 UNREACHABLE(); | 509 UNREACHABLE(); |
| 510 return GENERIC; // Make the compiler happy. | 510 return GENERIC; // Make the compiler happy. |
| 511 } | 511 } |
| 512 | 512 |
| 513 } // namespace internal | 513 } // namespace internal |
| 514 } // namespace v8 | 514 } // namespace v8 |
| OLD | NEW |