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 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1662 int arguments_count, | 1662 int arguments_count, |
1663 HValue* implicit_return_value, | 1663 HValue* implicit_return_value, |
1664 BailoutId ast_id, | 1664 BailoutId ast_id, |
1665 BailoutId return_id, | 1665 BailoutId return_id, |
1666 InliningKind inlining_kind); | 1666 InliningKind inlining_kind); |
1667 | 1667 |
1668 bool TryInlineCall(Call* expr, bool drop_extra = false); | 1668 bool TryInlineCall(Call* expr, bool drop_extra = false); |
1669 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); | 1669 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value); |
1670 bool TryInlineGetter(Handle<JSFunction> getter, Property* prop); | 1670 bool TryInlineGetter(Handle<JSFunction> getter, Property* prop); |
1671 bool TryInlineSetter(Handle<JSFunction> setter, | 1671 bool TryInlineSetter(Handle<JSFunction> setter, |
1672 Assignment* assignment, | 1672 BailoutId id, |
| 1673 BailoutId assignment_id, |
1673 HValue* implicit_return_value); | 1674 HValue* implicit_return_value); |
1674 bool TryInlineApply(Handle<JSFunction> function, | 1675 bool TryInlineApply(Handle<JSFunction> function, |
1675 Call* expr, | 1676 Call* expr, |
1676 int arguments_count); | 1677 int arguments_count); |
1677 bool TryInlineBuiltinMethodCall(Call* expr, | 1678 bool TryInlineBuiltinMethodCall(Call* expr, |
1678 HValue* receiver, | 1679 HValue* receiver, |
1679 Handle<Map> receiver_map, | 1680 Handle<Map> receiver_map, |
1680 CheckType check_type); | 1681 CheckType check_type); |
1681 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); | 1682 bool TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra); |
1682 | 1683 |
(...skipping 12 matching lines...) Expand all Loading... |
1695 void HandlePropertyAssignment(Assignment* expr); | 1696 void HandlePropertyAssignment(Assignment* expr); |
1696 void HandleCompoundAssignment(Assignment* expr); | 1697 void HandleCompoundAssignment(Assignment* expr); |
1697 void HandlePolymorphicLoadNamedField(Property* expr, | 1698 void HandlePolymorphicLoadNamedField(Property* expr, |
1698 HValue* object, | 1699 HValue* object, |
1699 SmallMapList* types, | 1700 SmallMapList* types, |
1700 Handle<String> name); | 1701 Handle<String> name); |
1701 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, | 1702 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, |
1702 HValue* object, | 1703 HValue* object, |
1703 SmallMapList* types, | 1704 SmallMapList* types, |
1704 Handle<String> name); | 1705 Handle<String> name); |
1705 void HandlePolymorphicStoreNamedField(Assignment* expr, | 1706 void HandlePolymorphicStoreNamedField(BailoutId id, |
| 1707 int position, |
| 1708 BailoutId assignment_id, |
1706 HValue* object, | 1709 HValue* object, |
1707 HValue* value, | 1710 HValue* value, |
1708 SmallMapList* types, | 1711 SmallMapList* types, |
1709 Handle<String> name); | 1712 Handle<String> name); |
1710 bool TryStorePolymorphicAsMonomorphic(Assignment* expr, | 1713 bool TryStorePolymorphicAsMonomorphic(int position, |
| 1714 BailoutId assignment_id, |
1711 HValue* object, | 1715 HValue* object, |
1712 HValue* value, | 1716 HValue* value, |
1713 SmallMapList* types, | 1717 SmallMapList* types, |
1714 Handle<String> name); | 1718 Handle<String> name); |
1715 void HandlePolymorphicCallNamed(Call* expr, | 1719 void HandlePolymorphicCallNamed(Call* expr, |
1716 HValue* receiver, | 1720 HValue* receiver, |
1717 SmallMapList* types, | 1721 SmallMapList* types, |
1718 Handle<String> name); | 1722 Handle<String> name); |
1719 void HandleLiteralCompareTypeof(CompareOperation* expr, | 1723 void HandleLiteralCompareTypeof(CompareOperation* expr, |
1720 HTypeof* typeof_expr, | 1724 HTypeof* typeof_expr, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 HInstruction* BuildLoadNamedMonomorphic(HValue* object, | 1780 HInstruction* BuildLoadNamedMonomorphic(HValue* object, |
1777 Handle<String> name, | 1781 Handle<String> name, |
1778 Property* expr, | 1782 Property* expr, |
1779 Handle<Map> map); | 1783 Handle<Map> map); |
1780 | 1784 |
1781 void AddCheckMap(HValue* object, Handle<Map> map); | 1785 void AddCheckMap(HValue* object, Handle<Map> map); |
1782 | 1786 |
1783 void AddCheckMapsWithTransitions(HValue* object, | 1787 void AddCheckMapsWithTransitions(HValue* object, |
1784 Handle<Map> map); | 1788 Handle<Map> map); |
1785 | 1789 |
| 1790 void BuildStoreNamed(Expression* expression, |
| 1791 BailoutId id, |
| 1792 int position, |
| 1793 BailoutId assignment_id, |
| 1794 Property* prop, |
| 1795 HValue* object, |
| 1796 HValue* value); |
| 1797 |
1786 HInstruction* BuildStoreNamedField(HValue* object, | 1798 HInstruction* BuildStoreNamedField(HValue* object, |
1787 Handle<String> name, | 1799 Handle<String> name, |
1788 HValue* value, | 1800 HValue* value, |
1789 Handle<Map> map, | 1801 Handle<Map> map, |
1790 LookupResult* lookup); | 1802 LookupResult* lookup); |
1791 HInstruction* BuildStoreNamedGeneric(HValue* object, | 1803 HInstruction* BuildStoreNamedGeneric(HValue* object, |
1792 Handle<String> name, | 1804 Handle<String> name, |
1793 HValue* value); | 1805 HValue* value); |
1794 HInstruction* BuildCallSetter(HValue* object, | 1806 HInstruction* BuildCallSetter(HValue* object, |
1795 HValue* value, | 1807 HValue* value, |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2036 EmbeddedVector<char, 64> filename_; | 2048 EmbeddedVector<char, 64> filename_; |
2037 HeapStringAllocator string_allocator_; | 2049 HeapStringAllocator string_allocator_; |
2038 StringStream trace_; | 2050 StringStream trace_; |
2039 int indent_; | 2051 int indent_; |
2040 }; | 2052 }; |
2041 | 2053 |
2042 | 2054 |
2043 } } // namespace v8::internal | 2055 } } // namespace v8::internal |
2044 | 2056 |
2045 #endif // V8_HYDROGEN_H_ | 2057 #endif // V8_HYDROGEN_H_ |
OLD | NEW |