| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 Handle<String> name, | 186 Handle<String> name, |
| 187 Handle<Object> value = Handle<Code>::null()); | 187 Handle<Object> value = Handle<Code>::null()); |
| 188 virtual Handle<Code> CompileHandler(LookupResult* lookup, | 188 virtual Handle<Code> CompileHandler(LookupResult* lookup, |
| 189 Handle<Object> object, | 189 Handle<Object> object, |
| 190 Handle<String> name, | 190 Handle<String> name, |
| 191 Handle<Object> value, | 191 Handle<Object> value, |
| 192 InlineCacheHolderFlag cache_holder) { | 192 InlineCacheHolderFlag cache_holder) { |
| 193 UNREACHABLE(); | 193 UNREACHABLE(); |
| 194 return Handle<Code>::null(); | 194 return Handle<Code>::null(); |
| 195 } | 195 } |
| 196 void UpdateMonomorphicIC(Handle<HeapObject> receiver, | 196 void UpdateMonomorphicIC(Handle<Object> receiver, |
| 197 Handle<Code> handler, | 197 Handle<Code> handler, |
| 198 Handle<String> name); | 198 Handle<String> name); |
| 199 | 199 |
| 200 bool UpdatePolymorphicIC(Handle<HeapObject> receiver, | 200 bool UpdatePolymorphicIC(Handle<Object> receiver, |
| 201 Handle<String> name, | 201 Handle<String> name, |
| 202 Handle<Code> code); | 202 Handle<Code> code); |
| 203 | 203 |
| 204 void CopyICToMegamorphicCache(Handle<String> name); | 204 void CopyICToMegamorphicCache(Handle<String> name); |
| 205 bool IsTransitionedMapOfMonomorphicTarget(Map* receiver_map); | 205 bool IsTransitionedMapOfMonomorphicTarget(Map* receiver_map); |
| 206 void PatchCache(Handle<Object> object, | 206 void PatchCache(Handle<Object> object, |
| 207 Handle<String> name, | 207 Handle<String> name, |
| 208 Handle<Code> code); | 208 Handle<Code> code); |
| 209 virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code); | 209 virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code); |
| 210 virtual Code::Kind kind() const { | 210 virtual Code::Kind kind() const { |
| (...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreIC_MissFromStubFailure); | 893 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreIC_MissFromStubFailure); |
| 894 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss); | 894 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss); |
| 895 DECLARE_RUNTIME_FUNCTION(MaybeObject*, BinaryOpIC_Miss); | 895 DECLARE_RUNTIME_FUNCTION(MaybeObject*, BinaryOpIC_Miss); |
| 896 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); | 896 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); |
| 897 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); | 897 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); |
| 898 | 898 |
| 899 | 899 |
| 900 } } // namespace v8::internal | 900 } } // namespace v8::internal |
| 901 | 901 |
| 902 #endif // V8_IC_H_ | 902 #endif // V8_IC_H_ |
| OLD | NEW |