Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/ic.h

Issue 11035053: Rollback trunk to bleeding_edge revision 12525 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/ic-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 Handle<Code> global_proxy_stub_strict() { 624 Handle<Code> global_proxy_stub_strict() {
625 return isolate()->builtins()->StoreIC_GlobalProxy_Strict(); 625 return isolate()->builtins()->StoreIC_GlobalProxy_Strict();
626 } 626 }
627 627
628 static void Clear(Address address, Code* target); 628 static void Clear(Address address, Code* target);
629 629
630 friend class IC; 630 friend class IC;
631 }; 631 };
632 632
633 633
634 enum KeyedStoreCheckMap {
635 kDontCheckMap,
636 kCheckMap
637 };
638
639
640 enum KeyedStoreIncrementLength {
641 kDontIncrementLength,
642 kIncrementLength
643 };
644
645
646 class KeyedStoreIC: public KeyedIC { 634 class KeyedStoreIC: public KeyedIC {
647 public: 635 public:
648 explicit KeyedStoreIC(Isolate* isolate) : KeyedIC(isolate) { 636 explicit KeyedStoreIC(Isolate* isolate) : KeyedIC(isolate) {
649 ASSERT(target()->is_keyed_store_stub()); 637 ASSERT(target()->is_keyed_store_stub());
650 } 638 }
651 639
652 MUST_USE_RESULT MaybeObject* Store(State state, 640 MUST_USE_RESULT MaybeObject* Store(State state,
653 StrictModeFlag strict_mode, 641 StrictModeFlag strict_mode,
654 Handle<Object> object, 642 Handle<Object> object,
655 Handle<Object> name, 643 Handle<Object> name,
656 Handle<Object> value, 644 Handle<Object> value,
657 bool force_generic); 645 bool force_generic);
658 646
659 // Code generators for stub routines. Only called once at startup. 647 // Code generators for stub routines. Only called once at startup.
660 static void GenerateInitialize(MacroAssembler* masm) { 648 static void GenerateInitialize(MacroAssembler* masm) {
661 GenerateMiss(masm, false); 649 GenerateMiss(masm, false);
662 } 650 }
663 static void GenerateMiss(MacroAssembler* masm, bool force_generic); 651 static void GenerateMiss(MacroAssembler* masm, bool force_generic);
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 }; 837 };
850 838
851 839
852 // Helper for BinaryOpIC and CompareIC. 840 // Helper for BinaryOpIC and CompareIC.
853 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; 841 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK };
854 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); 842 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check);
855 843
856 } } // namespace v8::internal 844 } } // namespace v8::internal
857 845
858 #endif // V8_IC_H_ 846 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/ic-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698