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 2209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |