OLD | NEW |
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 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2216 BailoutId assignment_id, | 2216 BailoutId assignment_id, |
2217 HValue* implicit_return_value); | 2217 HValue* implicit_return_value); |
2218 bool TryInlineApply(Handle<JSFunction> function, | 2218 bool TryInlineApply(Handle<JSFunction> function, |
2219 Call* expr, | 2219 Call* expr, |
2220 int arguments_count); | 2220 int arguments_count); |
2221 bool TryInlineBuiltinMethodCall(Call* expr, | 2221 bool TryInlineBuiltinMethodCall(Call* expr, |
2222 HValue* receiver, | 2222 HValue* receiver, |
2223 Handle<Map> receiver_map, | 2223 Handle<Map> receiver_map, |
2224 CheckType check_type); | 2224 CheckType check_type); |
2225 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); | 2225 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); |
| 2226 bool TryInlineApiMethodCall( |
| 2227 Call* expr, HValue* receiver, Handle<Map> receiver_map); |
| 2228 bool TryInlineApiFunctionCall(Call* expr, HValue* receiver, bool drop_extra); |
| 2229 bool TryInlineApiCall(Call* expr, |
| 2230 HValue* receiver, |
| 2231 Handle<Map> receiver_map, |
| 2232 bool drop_extra, |
| 2233 bool is_function_call); |
2226 | 2234 |
2227 // If --trace-inlining, print a line of the inlining trace. Inlining | 2235 // If --trace-inlining, print a line of the inlining trace. Inlining |
2228 // succeeded if the reason string is NULL and failed if there is a | 2236 // succeeded if the reason string is NULL and failed if there is a |
2229 // non-NULL reason string. | 2237 // non-NULL reason string. |
2230 void TraceInline(Handle<JSFunction> target, | 2238 void TraceInline(Handle<JSFunction> target, |
2231 Handle<JSFunction> caller, | 2239 Handle<JSFunction> caller, |
2232 const char* failure_reason); | 2240 const char* failure_reason); |
2233 | 2241 |
2234 void HandleGlobalVariableAssignment(Variable* var, | 2242 void HandleGlobalVariableAssignment(Variable* var, |
2235 HValue* value, | 2243 HValue* value, |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2696 } | 2704 } |
2697 | 2705 |
2698 private: | 2706 private: |
2699 HGraphBuilder* builder_; | 2707 HGraphBuilder* builder_; |
2700 }; | 2708 }; |
2701 | 2709 |
2702 | 2710 |
2703 } } // namespace v8::internal | 2711 } } // namespace v8::internal |
2704 | 2712 |
2705 #endif // V8_HYDROGEN_H_ | 2713 #endif // V8_HYDROGEN_H_ |
OLD | NEW |