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_IC_H_ | 5 #ifndef V8_IC_H_ |
6 #define V8_IC_H_ | 6 #define V8_IC_H_ |
7 | 7 |
8 #include "src/ic/ic-state.h" | 8 #include "src/ic/ic-state.h" |
9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
10 #include "src/messages.h" | 10 #include "src/messages.h" |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 explicit ToBooleanIC(Isolate* isolate) : IC(EXTRA_CALL_FRAME, isolate) {} | 678 explicit ToBooleanIC(Isolate* isolate) : IC(EXTRA_CALL_FRAME, isolate) {} |
679 | 679 |
680 Handle<Object> ToBoolean(Handle<Object> object); | 680 Handle<Object> ToBoolean(Handle<Object> object); |
681 }; | 681 }; |
682 | 682 |
683 | 683 |
684 // Helper for BinaryOpIC and CompareIC. | 684 // Helper for BinaryOpIC and CompareIC. |
685 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; | 685 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; |
686 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); | 686 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); |
687 | 687 |
688 } | 688 } // namespace internal |
689 } // namespace v8::internal | 689 } // namespace v8 |
690 | 690 |
691 #endif // V8_IC_H_ | 691 #endif // V8_IC_H_ |
OLD | NEW |