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

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

Issue 11973008: Replace special IC builtins and stubs in the map's cache by codestubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 11 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/objects-inl.h ('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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 Handle<JSObject> holder, 129 Handle<JSObject> holder,
130 Handle<JSFunction> value); 130 Handle<JSFunction> value);
131 131
132 Handle<Code> ComputeKeyedLoadInterceptor(Handle<String> name, 132 Handle<Code> ComputeKeyedLoadInterceptor(Handle<String> name,
133 Handle<JSObject> receiver, 133 Handle<JSObject> receiver,
134 Handle<JSObject> holder); 134 Handle<JSObject> holder);
135 135
136 Handle<Code> ComputeKeyedLoadArrayLength(Handle<String> name, 136 Handle<Code> ComputeKeyedLoadArrayLength(Handle<String> name,
137 Handle<JSArray> receiver); 137 Handle<JSArray> receiver);
138 138
139 Handle<Code> ComputeKeyedLoadStringLength(Handle<String> name,
140 Handle<String> receiver);
141
142 Handle<Code> ComputeKeyedLoadFunctionPrototype(Handle<String> name, 139 Handle<Code> ComputeKeyedLoadFunctionPrototype(Handle<String> name,
143 Handle<JSFunction> receiver); 140 Handle<JSFunction> receiver);
144 141
145 // --- 142 // ---
146 143
147 Handle<Code> ComputeStoreField(Handle<String> name, 144 Handle<Code> ComputeStoreField(Handle<String> name,
148 Handle<JSObject> receiver, 145 Handle<JSObject> receiver,
149 int field_index, 146 int field_index,
150 Handle<Map> transition, 147 Handle<Map> transition,
151 StrictModeFlag strict_mode); 148 StrictModeFlag strict_mode);
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 Handle<JSObject> object, 662 Handle<JSObject> object,
666 Handle<JSObject> holder, 663 Handle<JSObject> holder,
667 Handle<JSFunction> value); 664 Handle<JSFunction> value);
668 665
669 Handle<Code> CompileLoadInterceptor(Handle<JSObject> object, 666 Handle<Code> CompileLoadInterceptor(Handle<JSObject> object,
670 Handle<JSObject> holder, 667 Handle<JSObject> holder,
671 Handle<String> name); 668 Handle<String> name);
672 669
673 Handle<Code> CompileLoadArrayLength(Handle<String> name); 670 Handle<Code> CompileLoadArrayLength(Handle<String> name);
674 671
675 Handle<Code> CompileLoadStringLength(Handle<String> name);
676
677 Handle<Code> CompileLoadFunctionPrototype(Handle<String> name); 672 Handle<Code> CompileLoadFunctionPrototype(Handle<String> name);
678 673
679 Handle<Code> CompileLoadElement(Handle<Map> receiver_map); 674 Handle<Code> CompileLoadElement(Handle<Map> receiver_map);
680 675
681 Handle<Code> CompileLoadPolymorphic(MapHandleList* receiver_maps, 676 Handle<Code> CompileLoadPolymorphic(MapHandleList* receiver_maps,
682 CodeHandleList* handler_ics); 677 CodeHandleList* handler_ics);
683 678
684 static void GenerateLoadDictionaryElement(MacroAssembler* masm); 679 static void GenerateLoadDictionaryElement(MacroAssembler* masm);
685 680
686 private: 681 private:
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 Handle<JSFunction> constant_function_; 922 Handle<JSFunction> constant_function_;
928 bool is_simple_api_call_; 923 bool is_simple_api_call_;
929 Handle<FunctionTemplateInfo> expected_receiver_type_; 924 Handle<FunctionTemplateInfo> expected_receiver_type_;
930 Handle<CallHandlerInfo> api_call_info_; 925 Handle<CallHandlerInfo> api_call_info_;
931 }; 926 };
932 927
933 928
934 } } // namespace v8::internal 929 } } // namespace v8::internal
935 930
936 #endif // V8_STUB_CACHE_H_ 931 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698