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 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1823 | 1823 |
1824 HInstruction* BuildFastLiteral(HValue* context, | 1824 HInstruction* BuildFastLiteral(HValue* context, |
1825 Handle<JSObject> boilerplate_object, | 1825 Handle<JSObject> boilerplate_object, |
1826 Handle<JSObject> original_boilerplate_object, | 1826 Handle<JSObject> original_boilerplate_object, |
1827 int data_size, | 1827 int data_size, |
1828 int pointer_size, | 1828 int pointer_size, |
1829 AllocationSiteMode mode); | 1829 AllocationSiteMode mode); |
1830 | 1830 |
1831 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, | 1831 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, |
1832 Handle<JSObject> object, | 1832 Handle<JSObject> object, |
1833 HInstruction* result, | 1833 HInstruction* target, |
1834 int* offset, | 1834 int* offset, |
| 1835 HInstruction* data_target, |
| 1836 int* data_offset, |
1835 AllocationSiteMode mode); | 1837 AllocationSiteMode mode); |
1836 | 1838 |
1837 MUST_USE_RESULT HValue* BuildEmitObjectHeader( | 1839 MUST_USE_RESULT HValue* BuildEmitObjectHeader( |
1838 Handle<JSObject> boilerplat_object, | 1840 Handle<JSObject> boilerplat_object, |
1839 HInstruction* target, | 1841 HInstruction* target, |
| 1842 HInstruction* data_target, |
1840 int object_offset, | 1843 int object_offset, |
1841 int elements_offset, | 1844 int elements_offset, |
1842 int elements_size); | 1845 int elements_size); |
1843 | 1846 |
1844 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, | 1847 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, |
1845 Handle<JSObject> original_boilerplate_object, | 1848 Handle<JSObject> original_boilerplate_object, |
1846 HValue* object_properties, | 1849 HValue* object_properties, |
1847 HInstruction* target, | 1850 HInstruction* target, |
1848 int* offset); | 1851 int* offset, |
| 1852 HInstruction* data_target, |
| 1853 int* data_offset); |
1849 | 1854 |
1850 void BuildEmitElements(Handle<FixedArrayBase> elements, | 1855 void BuildEmitElements(Handle<FixedArrayBase> elements, |
1851 Handle<FixedArrayBase> original_elements, | 1856 Handle<FixedArrayBase> original_elements, |
1852 ElementsKind kind, | 1857 ElementsKind kind, |
1853 HValue* object_elements, | 1858 HValue* object_elements, |
1854 HInstruction* target, | 1859 HInstruction* target, |
1855 int* offset); | 1860 int* offset, |
| 1861 HInstruction* data_target, |
| 1862 int* data_offset); |
1856 | 1863 |
1857 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, | 1864 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, |
1858 ElementsKind kind, | 1865 ElementsKind kind, |
1859 HValue* object_elements); | 1866 HValue* object_elements); |
1860 | 1867 |
1861 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, | 1868 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, |
1862 Handle<FixedArrayBase> original_elements, | 1869 Handle<FixedArrayBase> original_elements, |
1863 ElementsKind kind, | 1870 ElementsKind kind, |
1864 HValue* object_elements, | 1871 HValue* object_elements, |
1865 HInstruction* target, | 1872 HInstruction* target, |
1866 int* offset); | 1873 int* offset, |
| 1874 HInstruction* data_target, |
| 1875 int* data_offset); |
1867 | 1876 |
1868 void AddCheckPrototypeMaps(Handle<JSObject> holder, | 1877 void AddCheckPrototypeMaps(Handle<JSObject> holder, |
1869 Handle<Map> receiver_map); | 1878 Handle<Map> receiver_map); |
1870 | 1879 |
1871 void AddCheckConstantFunction(Handle<JSObject> holder, | 1880 void AddCheckConstantFunction(Handle<JSObject> holder, |
1872 HValue* receiver, | 1881 HValue* receiver, |
1873 Handle<Map> receiver_map); | 1882 Handle<Map> receiver_map); |
1874 | 1883 |
1875 bool MatchRotateRight(HValue* left, | 1884 bool MatchRotateRight(HValue* left, |
1876 HValue* right, | 1885 HValue* right, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2051 EmbeddedVector<char, 64> filename_; | 2060 EmbeddedVector<char, 64> filename_; |
2052 HeapStringAllocator string_allocator_; | 2061 HeapStringAllocator string_allocator_; |
2053 StringStream trace_; | 2062 StringStream trace_; |
2054 int indent_; | 2063 int indent_; |
2055 }; | 2064 }; |
2056 | 2065 |
2057 | 2066 |
2058 } } // namespace v8::internal | 2067 } } // namespace v8::internal |
2059 | 2068 |
2060 #endif // V8_HYDROGEN_H_ | 2069 #endif // V8_HYDROGEN_H_ |
OLD | NEW |