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 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 | 1025 |
1026 void EnsureArgumentsArePushedForAccess(); | 1026 void EnsureArgumentsArePushedForAccess(); |
1027 bool TryArgumentsAccess(Property* expr); | 1027 bool TryArgumentsAccess(Property* expr); |
1028 | 1028 |
1029 // Try to optimize fun.apply(receiver, arguments) pattern. | 1029 // Try to optimize fun.apply(receiver, arguments) pattern. |
1030 bool TryCallApply(Call* expr); | 1030 bool TryCallApply(Call* expr); |
1031 | 1031 |
1032 int InliningAstSize(Handle<JSFunction> target); | 1032 int InliningAstSize(Handle<JSFunction> target); |
1033 bool TryInline(CallKind call_kind, | 1033 bool TryInline(CallKind call_kind, |
1034 Handle<JSFunction> target, | 1034 Handle<JSFunction> target, |
1035 ZoneList<Expression*>* arguments, | 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 TryInlineBuiltinMethodCall(Call* expr, | 1043 bool TryInlineBuiltinMethodCall(Call* expr, |
1044 HValue* receiver, | 1044 HValue* receiver, |
1045 Handle<Map> receiver_map, | 1045 Handle<Map> receiver_map, |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1456 const char* filename_; | 1456 const char* filename_; |
1457 HeapStringAllocator string_allocator_; | 1457 HeapStringAllocator string_allocator_; |
1458 StringStream trace_; | 1458 StringStream trace_; |
1459 int indent_; | 1459 int indent_; |
1460 }; | 1460 }; |
1461 | 1461 |
1462 | 1462 |
1463 } } // namespace v8::internal | 1463 } } // namespace v8::internal |
1464 | 1464 |
1465 #endif // V8_HYDROGEN_H_ | 1465 #endif // V8_HYDROGEN_H_ |
OLD | NEW |