| 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 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1853 void BuildCreateAllocationMemento(HValue* previous_object, | 1853 void BuildCreateAllocationMemento(HValue* previous_object, |
| 1854 HValue* previous_object_size, | 1854 HValue* previous_object_size, |
| 1855 HValue* payload); | 1855 HValue* payload); |
| 1856 | 1856 |
| 1857 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); | 1857 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant); |
| 1858 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, | 1858 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, |
| 1859 Handle<JSObject> holder); | 1859 Handle<JSObject> holder); |
| 1860 | 1860 |
| 1861 HInstruction* BuildGetNativeContext(HValue* closure); | 1861 HInstruction* BuildGetNativeContext(HValue* closure); |
| 1862 HInstruction* BuildGetNativeContext(); | 1862 HInstruction* BuildGetNativeContext(); |
| 1863 HInstruction* BuildGetScriptContext(int context_index); | 1863 |
| 1864 // Builds a loop version if |depth| is specified or unrolls the loop to | 1864 // Builds a loop version if |depth| is specified or unrolls the loop to |
| 1865 // |depth_value| iterations otherwise. | 1865 // |depth_value| iterations otherwise. |
| 1866 HValue* BuildGetParentContext(HValue* depth, int depth_value); | 1866 HValue* BuildGetParentContext(HValue* depth, int depth_value); |
| 1867 | 1867 |
| 1868 HInstruction* BuildGetArrayFunction(); | 1868 HInstruction* BuildGetArrayFunction(); |
| 1869 HValue* BuildArrayBufferViewFieldAccessor(HValue* object, | 1869 HValue* BuildArrayBufferViewFieldAccessor(HValue* object, |
| 1870 HValue* checked_object, | 1870 HValue* checked_object, |
| 1871 FieldIndex index); | 1871 FieldIndex index); |
| 1872 | 1872 |
| 1873 | 1873 |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3041 } | 3041 } |
| 3042 | 3042 |
| 3043 private: | 3043 private: |
| 3044 HOptimizedGraphBuilder* builder_; | 3044 HOptimizedGraphBuilder* builder_; |
| 3045 }; | 3045 }; |
| 3046 | 3046 |
| 3047 } // namespace internal | 3047 } // namespace internal |
| 3048 } // namespace v8 | 3048 } // namespace v8 |
| 3049 | 3049 |
| 3050 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3050 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
| OLD | NEW |