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

Side by Side Diff: src/ic.h

Issue 10985017: Turn get-own-property-descriptor.js test into a regression (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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/ic-ia32.cc ('k') | src/x64/ic-x64.cc » ('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
634 class KeyedStoreIC: public KeyedIC { 646 class KeyedStoreIC: public KeyedIC {
635 public: 647 public:
636 explicit KeyedStoreIC(Isolate* isolate) : KeyedIC(isolate) { 648 explicit KeyedStoreIC(Isolate* isolate) : KeyedIC(isolate) {
637 ASSERT(target()->is_keyed_store_stub()); 649 ASSERT(target()->is_keyed_store_stub());
638 } 650 }
639 651
640 MUST_USE_RESULT MaybeObject* Store(State state, 652 MUST_USE_RESULT MaybeObject* Store(State state,
641 StrictModeFlag strict_mode, 653 StrictModeFlag strict_mode,
642 Handle<Object> object, 654 Handle<Object> object,
643 Handle<Object> name, 655 Handle<Object> name,
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 }; 849 };
838 850
839 851
840 // Helper for BinaryOpIC and CompareIC. 852 // Helper for BinaryOpIC and CompareIC.
841 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; 853 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK };
842 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); 854 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check);
843 855
844 } } // namespace v8::internal 856 } } // namespace v8::internal
845 857
846 #endif // V8_IC_H_ 858 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/x64/ic-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698