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 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1914 | 1914 |
1915 template <typename ViewClass> | 1915 template <typename ViewClass> |
1916 void BuildArrayBufferViewInitialization(HValue* obj, | 1916 void BuildArrayBufferViewInitialization(HValue* obj, |
1917 HValue* buffer, | 1917 HValue* buffer, |
1918 HValue* byte_offset, | 1918 HValue* byte_offset, |
1919 HValue* byte_length); | 1919 HValue* byte_length); |
1920 | 1920 |
1921 private: | 1921 private: |
1922 HGraphBuilder(); | 1922 HGraphBuilder(); |
1923 | 1923 |
1924 HValue* BuildUncheckedDictionaryElementLoadHelper( | |
1925 HValue* elements, | |
1926 HValue* key, | |
1927 HValue* hash, | |
1928 HValue* mask, | |
1929 int current_probe); | |
1930 | |
1931 template <class I> | 1924 template <class I> |
1932 I* AddInstructionTyped(I* instr) { | 1925 I* AddInstructionTyped(I* instr) { |
1933 return I::cast(AddInstruction(instr)); | 1926 return I::cast(AddInstruction(instr)); |
1934 } | 1927 } |
1935 | 1928 |
1936 CompilationInfo* info_; | 1929 CompilationInfo* info_; |
1937 HGraph* graph_; | 1930 HGraph* graph_; |
1938 HBasicBlock* current_block_; | 1931 HBasicBlock* current_block_; |
1939 Scope* scope_; | 1932 Scope* scope_; |
1940 HSourcePosition position_; | 1933 HSourcePosition position_; |
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2901 } | 2894 } |
2902 | 2895 |
2903 private: | 2896 private: |
2904 HGraphBuilder* builder_; | 2897 HGraphBuilder* builder_; |
2905 }; | 2898 }; |
2906 | 2899 |
2907 | 2900 |
2908 } } // namespace v8::internal | 2901 } } // namespace v8::internal |
2909 | 2902 |
2910 #endif // V8_HYDROGEN_H_ | 2903 #endif // V8_HYDROGEN_H_ |
OLD | NEW |