OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 41 matching lines...) Loading... |
52 /* Utilities for IC stubs. */ \ | 52 /* Utilities for IC stubs. */ \ |
53 ICU(StoreCallbackProperty) \ | 53 ICU(StoreCallbackProperty) \ |
54 ICU(LoadPropertyWithInterceptorOnly) \ | 54 ICU(LoadPropertyWithInterceptorOnly) \ |
55 ICU(LoadPropertyWithInterceptorForLoad) \ | 55 ICU(LoadPropertyWithInterceptorForLoad) \ |
56 ICU(LoadPropertyWithInterceptorForCall) \ | 56 ICU(LoadPropertyWithInterceptorForCall) \ |
57 ICU(KeyedLoadPropertyWithInterceptor) \ | 57 ICU(KeyedLoadPropertyWithInterceptor) \ |
58 ICU(StoreInterceptorProperty) \ | 58 ICU(StoreInterceptorProperty) \ |
59 ICU(UnaryOp_Patch) \ | 59 ICU(UnaryOp_Patch) \ |
60 ICU(BinaryOp_Patch) \ | 60 ICU(BinaryOp_Patch) \ |
61 ICU(CompareIC_Miss) \ | 61 ICU(CompareIC_Miss) \ |
| 62 ICU(Unreachable) \ |
62 ICU(ToBoolean_Patch) | 63 ICU(ToBoolean_Patch) |
63 // | 64 // |
64 // IC is the base class for LoadIC, StoreIC, CallIC, KeyedLoadIC, | 65 // IC is the base class for LoadIC, StoreIC, CallIC, KeyedLoadIC, |
65 // and KeyedStoreIC. | 66 // and KeyedStoreIC. |
66 // | 67 // |
67 class IC { | 68 class IC { |
68 public: | 69 public: |
69 // The ids for utility called from the generated code. | 70 // The ids for utility called from the generated code. |
70 enum UtilityId { | 71 enum UtilityId { |
71 #define CONST_NAME(name) k##name, | 72 #define CONST_NAME(name) k##name, |
(...skipping 714 matching lines...) Loading... |
786 // Helper for BinaryOpIC and CompareIC. | 787 // Helper for BinaryOpIC and CompareIC. |
787 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; | 788 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; |
788 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); | 789 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); |
789 | 790 |
790 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure); | 791 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure); |
791 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_MissFromStubFailure); | 792 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_MissFromStubFailure); |
792 | 793 |
793 } } // namespace v8::internal | 794 } } // namespace v8::internal |
794 | 795 |
795 #endif // V8_IC_H_ | 796 #endif // V8_IC_H_ |
OLD | NEW |