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

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

Issue 136403005: Remove CALL_AS_FUNCTION and CALL_AS_METHOD. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Don't store/restore ecx/rcx/r5 given that it doesn't contain callkind anymore Created 6 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/ia32/stub-cache-ia32.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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 CUSTOM_CALL_IC_GENERATORS(DECLARE_CALL_GENERATOR) 993 CUSTOM_CALL_IC_GENERATORS(DECLARE_CALL_GENERATOR)
994 #undef DECLARE_CALL_GENERATOR 994 #undef DECLARE_CALL_GENERATOR
995 995
996 Handle<Code> CompileFastApiCall(const CallOptimization& optimization, 996 Handle<Code> CompileFastApiCall(const CallOptimization& optimization,
997 Handle<Object> object, 997 Handle<Object> object,
998 Handle<JSObject> holder, 998 Handle<JSObject> holder,
999 Handle<Cell> cell, 999 Handle<Cell> cell,
1000 Handle<JSFunction> function, 1000 Handle<JSFunction> function,
1001 Handle<String> name); 1001 Handle<String> name);
1002 1002
1003 CallKind call_kind();
1004
1005 Handle<Code> GetCode(Code::StubType type, Handle<Name> name); 1003 Handle<Code> GetCode(Code::StubType type, Handle<Name> name);
1006 Handle<Code> GetCode(Handle<JSFunction> function); 1004 Handle<Code> GetCode(Handle<JSFunction> function);
1007 1005
1008 const ParameterCount& arguments() { return arguments_; } 1006 const ParameterCount& arguments() { return arguments_; }
1009 1007
1010 void GenerateNameCheck(Handle<Name> name, Label* miss); 1008 void GenerateNameCheck(Handle<Name> name, Label* miss);
1011 1009
1012 // Generates code to load the function from the cell checking that 1010 // Generates code to load the function from the cell checking that
1013 // it still contains the same function. 1011 // it still contains the same function.
1014 void GenerateLoadFunctionFromCell(Handle<Cell> cell, 1012 void GenerateLoadFunctionFromCell(Handle<Cell> cell,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 Handle<JSFunction> constant_function_; 1075 Handle<JSFunction> constant_function_;
1078 bool is_simple_api_call_; 1076 bool is_simple_api_call_;
1079 Handle<FunctionTemplateInfo> expected_receiver_type_; 1077 Handle<FunctionTemplateInfo> expected_receiver_type_;
1080 Handle<CallHandlerInfo> api_call_info_; 1078 Handle<CallHandlerInfo> api_call_info_;
1081 }; 1079 };
1082 1080
1083 1081
1084 } } // namespace v8::internal 1082 } } // namespace v8::internal
1085 1083
1086 #endif // V8_STUB_CACHE_H_ 1084 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698