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.h" | 10 #include "src/ast/ast.h" |
(...skipping 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1826 HValue* allocation_site, | 1826 HValue* allocation_site, |
1827 AllocationSiteMode mode); | 1827 AllocationSiteMode mode); |
1828 | 1828 |
1829 HValue* BuildCloneShallowArrayNonEmpty(HValue* boilerplate, | 1829 HValue* BuildCloneShallowArrayNonEmpty(HValue* boilerplate, |
1830 HValue* allocation_site, | 1830 HValue* allocation_site, |
1831 AllocationSiteMode mode, | 1831 AllocationSiteMode mode, |
1832 ElementsKind kind); | 1832 ElementsKind kind); |
1833 | 1833 |
1834 HValue* BuildElementIndexHash(HValue* index); | 1834 HValue* BuildElementIndexHash(HValue* index); |
1835 | 1835 |
1836 enum MapEmbedding { kEmbedMapsDirectly, kEmbedMapsViaWeakCells }; | |
1837 | |
1838 void BuildCompareNil(HValue* value, Type* type, HIfContinuation* continuation, | |
1839 MapEmbedding map_embedding = kEmbedMapsDirectly); | |
1840 | |
1841 void BuildCreateAllocationMemento(HValue* previous_object, | 1836 void BuildCreateAllocationMemento(HValue* previous_object, |
1842 HValue* previous_object_size, | 1837 HValue* previous_object_size, |
1843 HValue* payload); | 1838 HValue* payload); |
1844 | 1839 |
1845 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); | 1840 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); |
1846 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, | 1841 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, |
1847 Handle<JSObject> holder); | 1842 Handle<JSObject> holder); |
1848 | 1843 |
1849 HInstruction* BuildGetNativeContext(HValue* closure); | 1844 HInstruction* BuildGetNativeContext(HValue* closure); |
1850 HInstruction* BuildGetNativeContext(); | 1845 HInstruction* BuildGetNativeContext(); |
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3027 | 3022 |
3028 private: | 3023 private: |
3029 HGraphBuilder* builder_; | 3024 HGraphBuilder* builder_; |
3030 }; | 3025 }; |
3031 | 3026 |
3032 | 3027 |
3033 } // namespace internal | 3028 } // namespace internal |
3034 } // namespace v8 | 3029 } // namespace v8 |
3035 | 3030 |
3036 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3031 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |