| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 virtual void UpdateMonomorphicIC(Handle<JSObject> receiver, | 168 virtual void UpdateMonomorphicIC(Handle<JSObject> receiver, |
| 169 Handle<Code> handler, | 169 Handle<Code> handler, |
| 170 Handle<String> name) { | 170 Handle<String> name) { |
| 171 set_target(*handler); | 171 set_target(*handler); |
| 172 } | 172 } |
| 173 bool UpdatePolymorphicIC(State state, | 173 bool UpdatePolymorphicIC(State state, |
| 174 StrictModeFlag strict_mode, | 174 StrictModeFlag strict_mode, |
| 175 Handle<JSObject> receiver, | 175 Handle<JSObject> receiver, |
| 176 Handle<String> name, | 176 Handle<String> name, |
| 177 Handle<Code> code); | 177 Handle<Code> code); |
| 178 void CopyICToMegamorphicCache(Handle<String> name); |
| 178 void PatchCache(State state, | 179 void PatchCache(State state, |
| 179 StrictModeFlag strict_mode, | 180 StrictModeFlag strict_mode, |
| 180 Handle<JSObject> receiver, | 181 Handle<JSObject> receiver, |
| 181 Handle<String> name, | 182 Handle<String> name, |
| 182 Handle<Code> code); | 183 Handle<Code> code); |
| 183 virtual void UpdateMegamorphicCache(Map* map, String* name, Code* code); | 184 virtual void UpdateMegamorphicCache(Map* map, String* name, Code* code); |
| 184 virtual Handle<Code> megamorphic_stub() { | 185 virtual Handle<Code> megamorphic_stub() { |
| 185 UNREACHABLE(); | 186 UNREACHABLE(); |
| 186 return Handle<Code>::null(); | 187 return Handle<Code>::null(); |
| 187 } | 188 } |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 835 // Helper for BinaryOpIC and CompareIC. | 836 // Helper for BinaryOpIC and CompareIC. |
| 836 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; | 837 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; |
| 837 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); | 838 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); |
| 838 | 839 |
| 839 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_Miss); | 840 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_Miss); |
| 840 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure); | 841 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure); |
| 841 | 842 |
| 842 } } // namespace v8::internal | 843 } } // namespace v8::internal |
| 843 | 844 |
| 844 #endif // V8_IC_H_ | 845 #endif // V8_IC_H_ |
| OLD | NEW |