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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 }; | 643 }; |
644 | 644 |
645 | 645 |
646 class KeyedStoreIC: public KeyedIC { | 646 class KeyedStoreIC: public KeyedIC { |
647 public: | 647 public: |
648 explicit KeyedStoreIC(Isolate* isolate) : KeyedIC(isolate) { | 648 explicit KeyedStoreIC(Isolate* isolate) : KeyedIC(isolate) { |
649 ASSERT(target()->is_keyed_store_stub()); | 649 ASSERT(target()->is_keyed_store_stub()); |
650 } | 650 } |
651 | 651 |
652 MUST_USE_RESULT MaybeObject* Store(State state, | 652 MUST_USE_RESULT MaybeObject* Store(State state, |
653 StrictModeFlag strict_mode, | 653 StrictModeFlag strict_mode, |
654 Handle<Object> object, | 654 Handle<Object> object, |
655 Handle<Object> name, | 655 Handle<Object> name, |
656 Handle<Object> value, | 656 Handle<Object> value, |
657 bool force_generic); | 657 bool force_generic); |
658 | 658 |
659 // Code generators for stub routines. Only called once at startup. | 659 // Code generators for stub routines. Only called once at startup. |
660 static void GenerateInitialize(MacroAssembler* masm) { | 660 static void GenerateInitialize(MacroAssembler* masm) { |
661 GenerateMiss(masm, false); | 661 GenerateMiss(masm, false); |
662 } | 662 } |
663 static void GenerateMiss(MacroAssembler* masm, bool force_generic); | 663 static void GenerateMiss(MacroAssembler* masm, bool force_generic); |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 }; | 849 }; |
850 | 850 |
851 | 851 |
852 // Helper for BinaryOpIC and CompareIC. | 852 // Helper for BinaryOpIC and CompareIC. |
853 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; | 853 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; |
854 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); | 854 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); |
855 | 855 |
856 } } // namespace v8::internal | 856 } } // namespace v8::internal |
857 | 857 |
858 #endif // V8_IC_H_ | 858 #endif // V8_IC_H_ |
OLD | NEW |