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 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1904 bool TryInline(CallKind call_kind, | 1904 bool TryInline(CallKind call_kind, |
1905 Handle<JSFunction> target, | 1905 Handle<JSFunction> target, |
1906 int arguments_count, | 1906 int arguments_count, |
1907 HValue* implicit_return_value, | 1907 HValue* implicit_return_value, |
1908 BailoutId ast_id, | 1908 BailoutId ast_id, |
1909 BailoutId return_id, | 1909 BailoutId return_id, |
1910 InliningKind inlining_kind); | 1910 InliningKind inlining_kind); |
1911 | 1911 |
1912 bool TryInlineCall(Call* expr, bool drop_extra = false); | 1912 bool TryInlineCall(Call* expr, bool drop_extra = false); |
1913 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); | 1913 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); |
1914 bool TryInlineGetter(Handle<JSFunction> getter, BailoutId return_id); | 1914 bool TryInlineGetter(Handle<JSFunction> getter, |
| 1915 BailoutId ast_id, |
| 1916 BailoutId return_id); |
1915 bool TryInlineSetter(Handle<JSFunction> setter, | 1917 bool TryInlineSetter(Handle<JSFunction> setter, |
1916 BailoutId id, | 1918 BailoutId id, |
1917 BailoutId assignment_id, | 1919 BailoutId assignment_id, |
1918 HValue* implicit_return_value); | 1920 HValue* implicit_return_value); |
1919 bool TryInlineApply(Handle<JSFunction> function, | 1921 bool TryInlineApply(Handle<JSFunction> function, |
1920 Call* expr, | 1922 Call* expr, |
1921 int arguments_count); | 1923 int arguments_count); |
1922 bool TryInlineBuiltinMethodCall(Call* expr, | 1924 bool TryInlineBuiltinMethodCall(Call* expr, |
1923 HValue* receiver, | 1925 HValue* receiver, |
1924 Handle<Map> receiver_map, | 1926 Handle<Map> receiver_map, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2026 Handle<JSFunction> getter, | 2028 Handle<JSFunction> getter, |
2027 Handle<JSObject> holder); | 2029 Handle<JSObject> holder); |
2028 HInstruction* BuildLoadNamedMonomorphic(HValue* object, | 2030 HInstruction* BuildLoadNamedMonomorphic(HValue* object, |
2029 Handle<String> name, | 2031 Handle<String> name, |
2030 Handle<Map> map); | 2032 Handle<Map> map); |
2031 | 2033 |
2032 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); | 2034 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); |
2033 | 2035 |
2034 void BuildLoad(Property* property, | 2036 void BuildLoad(Property* property, |
2035 int position, | 2037 int position, |
2036 BailoutId ast_id, | 2038 BailoutId ast_id); |
2037 BailoutId return_id); | |
2038 void PushLoad(Property* property, | 2039 void PushLoad(Property* property, |
2039 HValue* object, | 2040 HValue* object, |
2040 int position, | 2041 int position); |
2041 BailoutId ast_id, | |
2042 BailoutId return_id); | |
2043 | 2042 |
2044 void BuildStoreNamed(Expression* expression, | 2043 void BuildStoreNamed(Expression* expression, |
2045 BailoutId id, | 2044 BailoutId id, |
2046 int position, | 2045 int position, |
2047 BailoutId assignment_id, | 2046 BailoutId assignment_id, |
2048 Property* prop, | 2047 Property* prop, |
2049 HValue* object, | 2048 HValue* object, |
2050 HValue* value); | 2049 HValue* value); |
2051 | 2050 |
2052 HInstruction* BuildStoreNamedField(HValue* object, | 2051 HInstruction* BuildStoreNamedField(HValue* object, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2291 } | 2290 } |
2292 | 2291 |
2293 private: | 2292 private: |
2294 HGraphBuilder* builder_; | 2293 HGraphBuilder* builder_; |
2295 }; | 2294 }; |
2296 | 2295 |
2297 | 2296 |
2298 } } // namespace v8::internal | 2297 } } // namespace v8::internal |
2299 | 2298 |
2300 #endif // V8_HYDROGEN_H_ | 2299 #endif // V8_HYDROGEN_H_ |
OLD | NEW |