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 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 Handle<String> name); | 1737 Handle<String> name); |
1738 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, | 1738 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, |
1739 HValue* object, | 1739 HValue* object, |
1740 SmallMapList* types, | 1740 SmallMapList* types, |
1741 Handle<String> name); | 1741 Handle<String> name); |
1742 void HandlePolymorphicStoreNamedField(BailoutId id, | 1742 void HandlePolymorphicStoreNamedField(BailoutId id, |
1743 int position, | 1743 int position, |
1744 BailoutId assignment_id, | 1744 BailoutId assignment_id, |
1745 HValue* object, | 1745 HValue* object, |
1746 HValue* value, | 1746 HValue* value, |
| 1747 HValue* result, |
1747 SmallMapList* types, | 1748 SmallMapList* types, |
1748 Handle<String> name); | 1749 Handle<String> name); |
1749 bool TryStorePolymorphicAsMonomorphic(int position, | 1750 bool TryStorePolymorphicAsMonomorphic(int position, |
1750 BailoutId assignment_id, | 1751 BailoutId assignment_id, |
1751 HValue* object, | 1752 HValue* object, |
1752 HValue* value, | 1753 HValue* value, |
| 1754 HValue* result, |
1753 SmallMapList* types, | 1755 SmallMapList* types, |
1754 Handle<String> name); | 1756 Handle<String> name); |
1755 void HandlePolymorphicCallNamed(Call* expr, | 1757 void HandlePolymorphicCallNamed(Call* expr, |
1756 HValue* receiver, | 1758 HValue* receiver, |
1757 SmallMapList* types, | 1759 SmallMapList* types, |
1758 Handle<String> name); | 1760 Handle<String> name); |
1759 void HandleLiteralCompareTypeof(CompareOperation* expr, | 1761 void HandleLiteralCompareTypeof(CompareOperation* expr, |
1760 HTypeof* typeof_expr, | 1762 HTypeof* typeof_expr, |
1761 Handle<String> check); | 1763 Handle<String> check); |
1762 void HandleLiteralCompareNil(CompareOperation* expr, | 1764 void HandleLiteralCompareNil(CompareOperation* expr, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1822 | 1824 |
1823 void AddCheckMapsWithTransitions(HValue* object, | 1825 void AddCheckMapsWithTransitions(HValue* object, |
1824 Handle<Map> map); | 1826 Handle<Map> map); |
1825 | 1827 |
1826 void BuildStoreNamed(Expression* expression, | 1828 void BuildStoreNamed(Expression* expression, |
1827 BailoutId id, | 1829 BailoutId id, |
1828 int position, | 1830 int position, |
1829 BailoutId assignment_id, | 1831 BailoutId assignment_id, |
1830 Property* prop, | 1832 Property* prop, |
1831 HValue* object, | 1833 HValue* object, |
1832 HValue* value); | 1834 HValue* store_value, |
| 1835 HValue* result_value = NULL); |
1833 | 1836 |
1834 HInstruction* BuildStoreNamedField(HValue* object, | 1837 HInstruction* BuildStoreNamedField(HValue* object, |
1835 Handle<String> name, | 1838 Handle<String> name, |
1836 HValue* value, | 1839 HValue* value, |
1837 Handle<Map> map, | 1840 Handle<Map> map, |
1838 LookupResult* lookup); | 1841 LookupResult* lookup); |
1839 HInstruction* BuildStoreNamedGeneric(HValue* object, | 1842 HInstruction* BuildStoreNamedGeneric(HValue* object, |
1840 Handle<String> name, | 1843 Handle<String> name, |
1841 HValue* value); | 1844 HValue* value); |
1842 HInstruction* BuildCallSetter(HValue* object, | 1845 HInstruction* BuildCallSetter(HValue* object, |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2092 EmbeddedVector<char, 64> filename_; | 2095 EmbeddedVector<char, 64> filename_; |
2093 HeapStringAllocator string_allocator_; | 2096 HeapStringAllocator string_allocator_; |
2094 StringStream trace_; | 2097 StringStream trace_; |
2095 int indent_; | 2098 int indent_; |
2096 }; | 2099 }; |
2097 | 2100 |
2098 | 2101 |
2099 } } // namespace v8::internal | 2102 } } // namespace v8::internal |
2100 | 2103 |
2101 #endif // V8_HYDROGEN_H_ | 2104 #endif // V8_HYDROGEN_H_ |
OLD | NEW |