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

Side by Side Diff: src/ic.h

Issue 10984065: Add the VFP-ness to the minor number of the keyed store elements (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/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698