| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 Handle<Code> handler, | 210 Handle<Code> handler, |
| 211 Handle<String> name); | 211 Handle<String> name); |
| 212 | 212 |
| 213 bool UpdatePolymorphicIC(Handle<HeapType> type, | 213 bool UpdatePolymorphicIC(Handle<HeapType> type, |
| 214 Handle<String> name, | 214 Handle<String> name, |
| 215 Handle<Code> code); | 215 Handle<Code> code); |
| 216 | 216 |
| 217 virtual void UpdateMegamorphicCache(HeapType* type, Name* name, Code* code); | 217 virtual void UpdateMegamorphicCache(HeapType* type, Name* name, Code* code); |
| 218 | 218 |
| 219 void CopyICToMegamorphicCache(Handle<String> name); | 219 void CopyICToMegamorphicCache(Handle<String> name); |
| 220 bool IsTransitionOfMonomorphicTarget(Handle<HeapType> type); | 220 bool IsTransitionOfMonomorphicTarget(Map* source_map, Map* target_map); |
| 221 void PatchCache(Handle<HeapType> type, | 221 void PatchCache(Handle<HeapType> type, |
| 222 Handle<String> name, | 222 Handle<String> name, |
| 223 Handle<Code> code); | 223 Handle<Code> code); |
| 224 virtual Code::Kind kind() const { | 224 virtual Code::Kind kind() const { |
| 225 UNREACHABLE(); | 225 UNREACHABLE(); |
| 226 return Code::STUB; | 226 return Code::STUB; |
| 227 } | 227 } |
| 228 virtual Handle<Code> slow_stub() const { | 228 virtual Handle<Code> slow_stub() const { |
| 229 UNREACHABLE(); | 229 UNREACHABLE(); |
| 230 return Handle<Code>::null(); | 230 return Handle<Code>::null(); |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss); | 927 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss); |
| 928 DECLARE_RUNTIME_FUNCTION(MaybeObject*, BinaryOpIC_Miss); | 928 DECLARE_RUNTIME_FUNCTION(MaybeObject*, BinaryOpIC_Miss); |
| 929 DECLARE_RUNTIME_FUNCTION(MaybeObject*, BinaryOpIC_MissWithAllocationSite); | 929 DECLARE_RUNTIME_FUNCTION(MaybeObject*, BinaryOpIC_MissWithAllocationSite); |
| 930 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); | 930 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); |
| 931 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); | 931 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); |
| 932 | 932 |
| 933 | 933 |
| 934 } } // namespace v8::internal | 934 } } // namespace v8::internal |
| 935 | 935 |
| 936 #endif // V8_IC_H_ | 936 #endif // V8_IC_H_ |
| OLD | NEW |