| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code); | 193 virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code); |
| 194 virtual Handle<Code> megamorphic_stub() { | 194 virtual Handle<Code> megamorphic_stub() { |
| 195 UNREACHABLE(); | 195 UNREACHABLE(); |
| 196 return Handle<Code>::null(); | 196 return Handle<Code>::null(); |
| 197 } | 197 } |
| 198 virtual Handle<Code> generic_stub() const { | 198 virtual Handle<Code> generic_stub() const { |
| 199 UNREACHABLE(); | 199 UNREACHABLE(); |
| 200 return Handle<Code>::null(); | 200 return Handle<Code>::null(); |
| 201 } | 201 } |
| 202 virtual StrictModeFlag strict_mode() const { return kNonStrictMode; } | 202 virtual StrictModeFlag strict_mode() const { return kNonStrictMode; } |
| 203 bool TryRemoveInvalidPrototypeDependentStub(Object* receiver, Object* name); |
| 203 | 204 |
| 204 private: | 205 private: |
| 205 // Frame pointer for the frame that uses (calls) the IC. | 206 // Frame pointer for the frame that uses (calls) the IC. |
| 206 Address fp_; | 207 Address fp_; |
| 207 | 208 |
| 208 // All access to the program counter of an IC structure is indirect | 209 // All access to the program counter of an IC structure is indirect |
| 209 // to make the code GC safe. This feature is crucial since | 210 // to make the code GC safe. This feature is crucial since |
| 210 // GetProperty and SetProperty are called and they in turn might | 211 // GetProperty and SetProperty are called and they in turn might |
| 211 // invoke the garbage collector. | 212 // invoke the garbage collector. |
| 212 Address* pc_address_; | 213 Address* pc_address_; |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 DECLARE_RUNTIME_FUNCTION(MaybeObject*, UnaryOpIC_Miss); | 854 DECLARE_RUNTIME_FUNCTION(MaybeObject*, UnaryOpIC_Miss); |
| 854 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreIC_MissFromStubFailure); | 855 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreIC_MissFromStubFailure); |
| 855 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss); | 856 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss); |
| 856 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); | 857 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); |
| 857 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); | 858 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); |
| 858 | 859 |
| 859 | 860 |
| 860 } } // namespace v8::internal | 861 } } // namespace v8::internal |
| 861 | 862 |
| 862 #endif // V8_IC_H_ | 863 #endif // V8_IC_H_ |
| OLD | NEW |