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 2177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2188 LookupResult* lookup, | 2188 LookupResult* lookup, |
2189 bool is_store); | 2189 bool is_store); |
2190 | 2190 |
2191 void EnsureArgumentsArePushedForAccess(); | 2191 void EnsureArgumentsArePushedForAccess(); |
2192 bool TryArgumentsAccess(Property* expr); | 2192 bool TryArgumentsAccess(Property* expr); |
2193 | 2193 |
2194 // Try to optimize fun.apply(receiver, arguments) pattern. | 2194 // Try to optimize fun.apply(receiver, arguments) pattern. |
2195 bool TryCallApply(Call* expr); | 2195 bool TryCallApply(Call* expr); |
2196 | 2196 |
2197 int InliningAstSize(Handle<JSFunction> target); | 2197 int InliningAstSize(Handle<JSFunction> target); |
2198 bool TryInline(CallKind call_kind, | 2198 bool TryInline(Handle<JSFunction> target, |
2199 Handle<JSFunction> target, | |
2200 int arguments_count, | 2199 int arguments_count, |
2201 HValue* implicit_return_value, | 2200 HValue* implicit_return_value, |
2202 BailoutId ast_id, | 2201 BailoutId ast_id, |
2203 BailoutId return_id, | 2202 BailoutId return_id, |
2204 InliningKind inlining_kind); | 2203 InliningKind inlining_kind); |
2205 | 2204 |
2206 bool TryInlineCall(Call* expr, bool drop_extra = false); | 2205 bool TryInlineCall(Call* expr, bool drop_extra = false); |
2207 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); | 2206 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); |
2208 bool TryInlineGetter(Handle<JSFunction> getter, | 2207 bool TryInlineGetter(Handle<JSFunction> getter, |
2209 BailoutId ast_id, | 2208 BailoutId ast_id, |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2678 } | 2677 } |
2679 | 2678 |
2680 private: | 2679 private: |
2681 HGraphBuilder* builder_; | 2680 HGraphBuilder* builder_; |
2682 }; | 2681 }; |
2683 | 2682 |
2684 | 2683 |
2685 } } // namespace v8::internal | 2684 } } // namespace v8::internal |
2686 | 2685 |
2687 #endif // V8_HYDROGEN_H_ | 2686 #endif // V8_HYDROGEN_H_ |
OLD | NEW |