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

Side by Side Diff: src/ic.h

Issue 21173004: Version 3.20.11.1 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 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/macro-assembler-ia32.cc ('k') | src/isolate.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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 // Code generators for stub routines. Only called once at startup. 642 // Code generators for stub routines. Only called once at startup.
643 static void GenerateInitialize(MacroAssembler* masm) { 643 static void GenerateInitialize(MacroAssembler* masm) {
644 GenerateMiss(masm, MISS); 644 GenerateMiss(masm, MISS);
645 } 645 }
646 static void GenerateMiss(MacroAssembler* masm, ICMissMode force_generic); 646 static void GenerateMiss(MacroAssembler* masm, ICMissMode force_generic);
647 static void GenerateSlow(MacroAssembler* masm); 647 static void GenerateSlow(MacroAssembler* masm);
648 static void GenerateRuntimeSetProperty(MacroAssembler* masm, 648 static void GenerateRuntimeSetProperty(MacroAssembler* masm,
649 StrictModeFlag strict_mode); 649 StrictModeFlag strict_mode);
650 static void GenerateGeneric(MacroAssembler* masm, StrictModeFlag strict_mode); 650 static void GenerateGeneric(MacroAssembler* masm, StrictModeFlag strict_mode);
651 static void GenerateNonStrictArguments(MacroAssembler* masm); 651 static void GenerateNonStrictArguments(MacroAssembler* masm);
652 static void GenerateTransitionElementsSmiToDouble(MacroAssembler* masm);
653 static void GenerateTransitionElementsDoubleToObject(MacroAssembler* masm);
652 654
653 protected: 655 protected:
654 virtual Code::Kind kind() const { return Code::KEYED_STORE_IC; } 656 virtual Code::Kind kind() const { return Code::KEYED_STORE_IC; }
655 657
656 virtual Handle<Code> ComputeStoreMonomorphic(LookupResult* lookup, 658 virtual Handle<Code> ComputeStoreMonomorphic(LookupResult* lookup,
657 StrictModeFlag strict_mode, 659 StrictModeFlag strict_mode,
658 Handle<JSObject> receiver, 660 Handle<JSObject> receiver,
659 Handle<String> name, 661 Handle<String> name,
660 Handle<Object> value); 662 Handle<Object> value);
661 virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code) { } 663 virtual void UpdateMegamorphicCache(Map* map, Name* name, Code* code) { }
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 DECLARE_RUNTIME_FUNCTION(MaybeObject*, UnaryOpIC_Miss); 859 DECLARE_RUNTIME_FUNCTION(MaybeObject*, UnaryOpIC_Miss);
858 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreIC_MissFromStubFailure); 860 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreIC_MissFromStubFailure);
859 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss); 861 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss);
860 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); 862 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss);
861 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); 863 DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss);
862 864
863 865
864 } } // namespace v8::internal 866 } } // namespace v8::internal
865 867
866 #endif // V8_IC_H_ 868 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698