OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ |
6 #define V8_CRANKSHAFT_HYDROGEN_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_H_ |
7 | 7 |
8 #include "src/accessors.h" | 8 #include "src/accessors.h" |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/ast/ast-type-bounds.h" | 10 #include "src/ast/ast-type-bounds.h" |
(...skipping 1816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1827 void BuildCopyProperties(HValue* from_properties, HValue* to_properties, | 1827 void BuildCopyProperties(HValue* from_properties, HValue* to_properties, |
1828 HValue* length, HValue* capacity); | 1828 HValue* length, HValue* capacity); |
1829 | 1829 |
1830 void BuildCopyElements(HValue* from_elements, | 1830 void BuildCopyElements(HValue* from_elements, |
1831 ElementsKind from_elements_kind, | 1831 ElementsKind from_elements_kind, |
1832 HValue* to_elements, | 1832 HValue* to_elements, |
1833 ElementsKind to_elements_kind, | 1833 ElementsKind to_elements_kind, |
1834 HValue* length, | 1834 HValue* length, |
1835 HValue* capacity); | 1835 HValue* capacity); |
1836 | 1836 |
1837 HValue* BuildCloneShallowArrayCow(HValue* boilerplate, | |
1838 HValue* allocation_site, | |
1839 AllocationSiteMode mode, | |
1840 ElementsKind kind); | |
1841 | |
1842 HValue* BuildCloneShallowArrayEmpty(HValue* boilerplate, | |
1843 HValue* allocation_site, | |
1844 AllocationSiteMode mode); | |
1845 | |
1846 HValue* BuildCloneShallowArrayNonEmpty(HValue* boilerplate, | |
1847 HValue* allocation_site, | |
1848 AllocationSiteMode mode, | |
1849 ElementsKind kind); | |
1850 | |
1851 HValue* BuildElementIndexHash(HValue* index); | 1837 HValue* BuildElementIndexHash(HValue* index); |
1852 | 1838 |
1853 void BuildCreateAllocationMemento(HValue* previous_object, | 1839 void BuildCreateAllocationMemento(HValue* previous_object, |
1854 HValue* previous_object_size, | 1840 HValue* previous_object_size, |
1855 HValue* payload); | 1841 HValue* payload); |
1856 | 1842 |
1857 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); | 1843 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); |
1858 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, | 1844 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, |
1859 Handle<JSObject> holder); | 1845 Handle<JSObject> holder); |
1860 | 1846 |
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3041 } | 3027 } |
3042 | 3028 |
3043 private: | 3029 private: |
3044 HOptimizedGraphBuilder* builder_; | 3030 HOptimizedGraphBuilder* builder_; |
3045 }; | 3031 }; |
3046 | 3032 |
3047 } // namespace internal | 3033 } // namespace internal |
3048 } // namespace v8 | 3034 } // namespace v8 |
3049 | 3035 |
3050 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3036 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |