| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/ic/ic.h" | 7 #include "src/ic/ic.h" |
| 8 #include "src/ic/ic-state.h" | 8 #include "src/ic/ic-state.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| 11 namespace internal { | 11 namespace internal { |
| 12 | 12 |
| 13 void ICUtility::Clear(Isolate* isolate, Address address, | 13 void ICUtility::Clear(Isolate* isolate, Address address, |
| 14 TypeFeedbackVector* vector, FeedbackVectorICSlot slot, |
| 14 ConstantPoolArray* constant_pool) { | 15 ConstantPoolArray* constant_pool) { |
| 15 IC::Clear(isolate, address, constant_pool); | 16 IC::Clear(isolate, address, vector, slot, constant_pool); |
| 16 } | 17 } |
| 17 | 18 |
| 18 | 19 |
| 19 CallICState::CallICState(ExtraICState extra_ic_state) | 20 CallICState::CallICState(ExtraICState extra_ic_state) |
| 20 : argc_(ArgcBits::decode(extra_ic_state)), | 21 : argc_(ArgcBits::decode(extra_ic_state)), |
| 21 call_type_(CallTypeBits::decode(extra_ic_state)) {} | 22 call_type_(CallTypeBits::decode(extra_ic_state)) {} |
| 22 | 23 |
| 23 | 24 |
| 24 ExtraICState CallICState::GetExtraICState() const { | 25 ExtraICState CallICState::GetExtraICState() const { |
| 25 ExtraICState extra_ic_state = | 26 ExtraICState extra_ic_state = |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 case UNIQUE_NAME: | 606 case UNIQUE_NAME: |
| 606 case OBJECT: | 607 case OBJECT: |
| 607 case GENERIC: | 608 case GENERIC: |
| 608 return GENERIC; | 609 return GENERIC; |
| 609 } | 610 } |
| 610 UNREACHABLE(); | 611 UNREACHABLE(); |
| 611 return GENERIC; // Make the compiler happy. | 612 return GENERIC; // Make the compiler happy. |
| 612 } | 613 } |
| 613 } | 614 } |
| 614 } // namespace v8::internal | 615 } // namespace v8::internal |
| OLD | NEW |