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

Side by Side Diff: src/stub-cache.h

Issue 22745003: Remove platform-specific dead code for KeyedStores (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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/ic.cc ('k') | src/stub-cache.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 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 store_mode_(store_mode) { } 977 store_mode_(store_mode) { }
978 978
979 Handle<Code> CompileStoreElement(Handle<Map> receiver_map); 979 Handle<Code> CompileStoreElement(Handle<Map> receiver_map);
980 980
981 Handle<Code> CompileStorePolymorphic(MapHandleList* receiver_maps, 981 Handle<Code> CompileStorePolymorphic(MapHandleList* receiver_maps,
982 CodeHandleList* handler_stubs, 982 CodeHandleList* handler_stubs,
983 MapHandleList* transitioned_maps); 983 MapHandleList* transitioned_maps);
984 984
985 Handle<Code> CompileStoreElementPolymorphic(MapHandleList* receiver_maps); 985 Handle<Code> CompileStoreElementPolymorphic(MapHandleList* receiver_maps);
986 986
987 static void GenerateStoreFastElement(MacroAssembler* masm,
988 bool is_js_array,
989 ElementsKind element_kind,
990 KeyedAccessStoreMode store_mode);
991
992 static void GenerateStoreFastDoubleElement(MacroAssembler* masm,
993 bool is_js_array,
994 KeyedAccessStoreMode store_mode);
995
996 static void GenerateStoreExternalArray(MacroAssembler* masm,
997 ElementsKind elements_kind);
998
999 static void GenerateStoreDictionaryElement(MacroAssembler* masm); 987 static void GenerateStoreDictionaryElement(MacroAssembler* masm);
1000 988
1001 protected: 989 protected:
1002 virtual Code::ExtraICState extra_state() { 990 virtual Code::ExtraICState extra_state() {
1003 return Code::ComputeExtraICState(store_mode_, strict_mode()); 991 return Code::ComputeExtraICState(store_mode_, strict_mode());
1004 } 992 }
1005 993
1006 private: 994 private:
1007 Register transition_map() { 995 Register transition_map() {
1008 return registers()[3]; 996 return registers()[3];
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 Handle<JSFunction> constant_function_; 1171 Handle<JSFunction> constant_function_;
1184 bool is_simple_api_call_; 1172 bool is_simple_api_call_;
1185 Handle<FunctionTemplateInfo> expected_receiver_type_; 1173 Handle<FunctionTemplateInfo> expected_receiver_type_;
1186 Handle<CallHandlerInfo> api_call_info_; 1174 Handle<CallHandlerInfo> api_call_info_;
1187 }; 1175 };
1188 1176
1189 1177
1190 } } // namespace v8::internal 1178 } } // namespace v8::internal
1191 1179
1192 #endif // V8_STUB_CACHE_H_ 1180 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698