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 1922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1933 } | 1933 } |
1934 SourcePosition pos = position_; | 1934 SourcePosition pos = position_; |
1935 pos.set_position(position - start_position_); | 1935 pos.set_position(position - start_position_); |
1936 return pos; | 1936 return pos; |
1937 } | 1937 } |
1938 | 1938 |
1939 SourcePosition source_position() { return position_; } | 1939 SourcePosition source_position() { return position_; } |
1940 void set_source_position(SourcePosition position) { position_ = position; } | 1940 void set_source_position(SourcePosition position) { position_ = position; } |
1941 | 1941 |
1942 int TraceInlinedFunction(Handle<SharedFunctionInfo> shared, | 1942 int TraceInlinedFunction(Handle<SharedFunctionInfo> shared, |
1943 SourcePosition position, int pareint_id); | 1943 SourcePosition position); |
1944 | 1944 |
1945 HValue* BuildAllocateEmptyArrayBuffer(HValue* byte_length); | 1945 HValue* BuildAllocateEmptyArrayBuffer(HValue* byte_length); |
1946 template <typename ViewClass> | 1946 template <typename ViewClass> |
1947 void BuildArrayBufferViewInitialization(HValue* obj, | 1947 void BuildArrayBufferViewInitialization(HValue* obj, |
1948 HValue* buffer, | 1948 HValue* buffer, |
1949 HValue* byte_offset, | 1949 HValue* byte_offset, |
1950 HValue* byte_length); | 1950 HValue* byte_length); |
1951 | 1951 |
1952 private: | 1952 private: |
1953 HGraphBuilder(); | 1953 HGraphBuilder(); |
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3102 } | 3102 } |
3103 | 3103 |
3104 private: | 3104 private: |
3105 HOptimizedGraphBuilder* builder_; | 3105 HOptimizedGraphBuilder* builder_; |
3106 }; | 3106 }; |
3107 | 3107 |
3108 } // namespace internal | 3108 } // namespace internal |
3109 } // namespace v8 | 3109 } // namespace v8 |
3110 | 3110 |
3111 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3111 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |