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 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 bool TryInline(CallKind call_kind, | 1033 bool TryInline(CallKind call_kind, |
1034 Handle<JSFunction> target, | 1034 Handle<JSFunction> target, |
1035 int arguments_count, | 1035 int arguments_count, |
1036 HValue* receiver, | 1036 HValue* receiver, |
1037 int ast_id, | 1037 int ast_id, |
1038 int return_id, | 1038 int return_id, |
1039 ReturnHandlingFlag return_handling); | 1039 ReturnHandlingFlag return_handling); |
1040 | 1040 |
1041 bool TryInlineCall(Call* expr, bool drop_extra = false); | 1041 bool TryInlineCall(Call* expr, bool drop_extra = false); |
1042 bool TryInlineConstruct(CallNew* expr, HValue* receiver); | 1042 bool TryInlineConstruct(CallNew* expr, HValue* receiver); |
| 1043 bool TryInlineGetter(Handle<JSFunction> getter, Property* prop); |
1043 bool TryInlineBuiltinMethodCall(Call* expr, | 1044 bool TryInlineBuiltinMethodCall(Call* expr, |
1044 HValue* receiver, | 1045 HValue* receiver, |
1045 Handle<Map> receiver_map, | 1046 Handle<Map> receiver_map, |
1046 CheckType check_type); | 1047 CheckType check_type); |
1047 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); | 1048 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); |
1048 | 1049 |
1049 // If --trace-inlining, print a line of the inlining trace. Inlining | 1050 // If --trace-inlining, print a line of the inlining trace. Inlining |
1050 // succeeded if the reason string is NULL and failed if there is a | 1051 // succeeded if the reason string is NULL and failed if there is a |
1051 // non-NULL reason string. | 1052 // non-NULL reason string. |
1052 void TraceInline(Handle<JSFunction> target, | 1053 void TraceInline(Handle<JSFunction> target, |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1466 const char* filename_; | 1467 const char* filename_; |
1467 HeapStringAllocator string_allocator_; | 1468 HeapStringAllocator string_allocator_; |
1468 StringStream trace_; | 1469 StringStream trace_; |
1469 int indent_; | 1470 int indent_; |
1470 }; | 1471 }; |
1471 | 1472 |
1472 | 1473 |
1473 } } // namespace v8::internal | 1474 } } // namespace v8::internal |
1474 | 1475 |
1475 #endif // V8_HYDROGEN_H_ | 1476 #endif // V8_HYDROGEN_H_ |
OLD | NEW |