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_HYDROGEN_H_ | 5 #ifndef V8_HYDROGEN_H_ |
6 #define V8_HYDROGEN_H_ | 6 #define V8_HYDROGEN_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
(...skipping 1846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1857 HValue* allocation_site, | 1857 HValue* allocation_site, |
1858 AllocationSiteMode mode); | 1858 AllocationSiteMode mode); |
1859 | 1859 |
1860 HValue* BuildCloneShallowArrayNonEmpty(HValue* boilerplate, | 1860 HValue* BuildCloneShallowArrayNonEmpty(HValue* boilerplate, |
1861 HValue* allocation_site, | 1861 HValue* allocation_site, |
1862 AllocationSiteMode mode, | 1862 AllocationSiteMode mode, |
1863 ElementsKind kind); | 1863 ElementsKind kind); |
1864 | 1864 |
1865 HValue* BuildElementIndexHash(HValue* index); | 1865 HValue* BuildElementIndexHash(HValue* index); |
1866 | 1866 |
1867 void BuildCompareNil( | 1867 enum MapEmbedding { kEmbedMapsDirectly, kEmbedMapsViaWeakCells }; |
1868 HValue* value, | 1868 |
1869 Type* type, | 1869 void BuildCompareNil(HValue* value, Type* type, HIfContinuation* continuation, |
1870 HIfContinuation* continuation); | 1870 MapEmbedding map_embedding = kEmbedMapsDirectly); |
1871 | 1871 |
1872 void BuildCreateAllocationMemento(HValue* previous_object, | 1872 void BuildCreateAllocationMemento(HValue* previous_object, |
1873 HValue* previous_object_size, | 1873 HValue* previous_object_size, |
1874 HValue* payload); | 1874 HValue* payload); |
1875 | 1875 |
1876 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); | 1876 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); |
1877 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, | 1877 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, |
1878 Handle<JSObject> holder); | 1878 Handle<JSObject> holder); |
1879 | 1879 |
1880 HInstruction* BuildGetNativeContext(HValue* closure); | 1880 HInstruction* BuildGetNativeContext(HValue* closure); |
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2942 } | 2942 } |
2943 | 2943 |
2944 private: | 2944 private: |
2945 HGraphBuilder* builder_; | 2945 HGraphBuilder* builder_; |
2946 }; | 2946 }; |
2947 | 2947 |
2948 | 2948 |
2949 } } // namespace v8::internal | 2949 } } // namespace v8::internal |
2950 | 2950 |
2951 #endif // V8_HYDROGEN_H_ | 2951 #endif // V8_HYDROGEN_H_ |
OLD | NEW |