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

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

Issue 12207016: Split CompileCallConstant into logical parts for Frontend and Backend. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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/mips/stub-cache-mips.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 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 int argc, 810 int argc,
811 Code::Kind kind, 811 Code::Kind kind,
812 Code::ExtraICState extra_state, 812 Code::ExtraICState extra_state,
813 InlineCacheHolderFlag cache_holder); 813 InlineCacheHolderFlag cache_holder);
814 814
815 Handle<Code> CompileCallField(Handle<JSObject> object, 815 Handle<Code> CompileCallField(Handle<JSObject> object,
816 Handle<JSObject> holder, 816 Handle<JSObject> holder,
817 PropertyIndex index, 817 PropertyIndex index,
818 Handle<String> name); 818 Handle<String> name);
819 819
820 void CompileHandlerFrontend(Handle<Object> object,
821 Handle<JSObject> holder,
822 Handle<String> name,
823 CheckType check,
824 Label* success);
825
826 void CompileHandlerBackend(Handle<JSFunction> function);
827
820 Handle<Code> CompileCallConstant(Handle<Object> object, 828 Handle<Code> CompileCallConstant(Handle<Object> object,
821 Handle<JSObject> holder, 829 Handle<JSObject> holder,
822 Handle<JSFunction> function,
823 Handle<String> name, 830 Handle<String> name,
824 CheckType check); 831 CheckType check,
832 Handle<JSFunction> function);
825 833
826 Handle<Code> CompileCallInterceptor(Handle<JSObject> object, 834 Handle<Code> CompileCallInterceptor(Handle<JSObject> object,
827 Handle<JSObject> holder, 835 Handle<JSObject> holder,
828 Handle<String> name); 836 Handle<String> name);
829 837
830 Handle<Code> CompileCallGlobal(Handle<JSObject> object, 838 Handle<Code> CompileCallGlobal(Handle<JSObject> object,
831 Handle<GlobalObject> holder, 839 Handle<GlobalObject> holder,
832 Handle<JSGlobalPropertyCell> cell, 840 Handle<JSGlobalPropertyCell> cell,
833 Handle<JSFunction> function, 841 Handle<JSFunction> function,
834 Handle<String> name); 842 Handle<String> name);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 Handle<JSFunction> constant_function_; 953 Handle<JSFunction> constant_function_;
946 bool is_simple_api_call_; 954 bool is_simple_api_call_;
947 Handle<FunctionTemplateInfo> expected_receiver_type_; 955 Handle<FunctionTemplateInfo> expected_receiver_type_;
948 Handle<CallHandlerInfo> api_call_info_; 956 Handle<CallHandlerInfo> api_call_info_;
949 }; 957 };
950 958
951 959
952 } } // namespace v8::internal 960 } } // namespace v8::internal
953 961
954 #endif // V8_STUB_CACHE_H_ 962 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698