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

Side by Side Diff: src/hydrogen.h

Issue 148333003: crankshaft support for api method calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 6 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/arm/stub-cache-arm.cc ('k') | src/hydrogen.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 2209 matching lines...) Expand 10 before | Expand all | Expand 10 after
2220 BailoutId assignment_id, 2220 BailoutId assignment_id,
2221 HValue* implicit_return_value); 2221 HValue* implicit_return_value);
2222 bool TryInlineApply(Handle<JSFunction> function, 2222 bool TryInlineApply(Handle<JSFunction> function,
2223 Call* expr, 2223 Call* expr,
2224 int arguments_count); 2224 int arguments_count);
2225 bool TryInlineBuiltinMethodCall(Call* expr, 2225 bool TryInlineBuiltinMethodCall(Call* expr,
2226 HValue* receiver, 2226 HValue* receiver,
2227 Handle<Map> receiver_map, 2227 Handle<Map> receiver_map,
2228 CheckType check_type); 2228 CheckType check_type);
2229 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); 2229 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra);
2230 bool TryInlineApiMethodCall(
2231 Call* expr, HValue* receiver, Handle<Map> receiver_map);
2232 bool TryInlineApiFunctionCall(Call* expr, HValue* receiver, bool drop_extra);
2233 bool TryInlineApiCall(Call* expr,
2234 HValue* receiver,
2235 Handle<Map> receiver_map,
2236 bool drop_extra,
2237 bool is_function_call);
2230 2238
2231 // If --trace-inlining, print a line of the inlining trace. Inlining 2239 // If --trace-inlining, print a line of the inlining trace. Inlining
2232 // succeeded if the reason string is NULL and failed if there is a 2240 // succeeded if the reason string is NULL and failed if there is a
2233 // non-NULL reason string. 2241 // non-NULL reason string.
2234 void TraceInline(Handle<JSFunction> target, 2242 void TraceInline(Handle<JSFunction> target,
2235 Handle<JSFunction> caller, 2243 Handle<JSFunction> caller,
2236 const char* failure_reason); 2244 const char* failure_reason);
2237 2245
2238 void HandleGlobalVariableAssignment(Variable* var, 2246 void HandleGlobalVariableAssignment(Variable* var,
2239 HValue* value, 2247 HValue* value,
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
2716 } 2724 }
2717 2725
2718 private: 2726 private:
2719 HGraphBuilder* builder_; 2727 HGraphBuilder* builder_;
2720 }; 2728 };
2721 2729
2722 2730
2723 } } // namespace v8::internal 2731 } } // namespace v8::internal
2724 2732
2725 #endif // V8_HYDROGEN_H_ 2733 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698