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

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

Issue 23881004: Delete useless CompileStoreGlobal (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: clean up more code Created 7 years, 3 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
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/x64/code-stubs-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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 Handle<JSFunction> setter); 975 Handle<JSFunction> setter);
976 976
977 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, 977 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object,
978 Handle<JSObject> holder, 978 Handle<JSObject> holder,
979 Handle<Name> name, 979 Handle<Name> name,
980 Handle<JSFunction> setter); 980 Handle<JSFunction> setter);
981 981
982 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object, 982 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object,
983 Handle<Name> name); 983 Handle<Name> name);
984 984
985 Handle<Code> CompileStoreGlobal(Handle<GlobalObject> object,
986 Handle<PropertyCell> holder,
987 Handle<Name> name);
988
989 private: 985 private:
990 static Register* registers(); 986 static Register* registers();
991 virtual Code::Kind kind() { return Code::STORE_IC; } 987 virtual Code::Kind kind() { return Code::STORE_IC; }
992 virtual Logger::LogEventsAndTags log_kind(Handle<Code> code) { 988 virtual Logger::LogEventsAndTags log_kind(Handle<Code> code) {
993 if (!code->is_inline_cache_stub()) return Logger::STUB_TAG; 989 if (!code->is_inline_cache_stub()) return Logger::STUB_TAG;
994 return code->ic_state() == MONOMORPHIC 990 return code->ic_state() == MONOMORPHIC
995 ? Logger::STORE_IC_TAG : Logger::STORE_POLYMORPHIC_IC_TAG; 991 ? Logger::STORE_IC_TAG : Logger::STORE_POLYMORPHIC_IC_TAG;
996 } 992 }
997 virtual void JitEvent(Handle<Name> name, Handle<Code> code); 993 virtual void JitEvent(Handle<Name> name, Handle<Code> code);
998 }; 994 };
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 Handle<JSFunction> constant_function_; 1201 Handle<JSFunction> constant_function_;
1206 bool is_simple_api_call_; 1202 bool is_simple_api_call_;
1207 Handle<FunctionTemplateInfo> expected_receiver_type_; 1203 Handle<FunctionTemplateInfo> expected_receiver_type_;
1208 Handle<CallHandlerInfo> api_call_info_; 1204 Handle<CallHandlerInfo> api_call_info_;
1209 }; 1205 };
1210 1206
1211 1207
1212 } } // namespace v8::internal 1208 } } // namespace v8::internal
1213 1209
1214 #endif // V8_STUB_CACHE_H_ 1210 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698