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 2803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2814 HValue* object_elements); | 2814 HValue* object_elements); |
2815 | 2815 |
2816 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, | 2816 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, |
2817 ElementsKind kind, | 2817 ElementsKind kind, |
2818 HValue* object_elements, | 2818 HValue* object_elements, |
2819 AllocationSiteUsageContext* site_context); | 2819 AllocationSiteUsageContext* site_context); |
2820 | 2820 |
2821 void AddCheckPrototypeMaps(Handle<JSObject> holder, | 2821 void AddCheckPrototypeMaps(Handle<JSObject> holder, |
2822 Handle<Map> receiver_map); | 2822 Handle<Map> receiver_map); |
2823 | 2823 |
2824 HInstruction* NewPlainFunctionCall(HValue* fun, int argument_count); | 2824 HInstruction* NewPlainFunctionCall(HValue* function, int argument_count); |
2825 | 2825 |
2826 HInstruction* NewArgumentAdaptorCall(HValue* fun, HValue* context, | 2826 HInstruction* NewArgumentAdaptorCall(HValue* function, int argument_count, |
2827 int argument_count, | |
2828 HValue* expected_param_count); | 2827 HValue* expected_param_count); |
2829 | 2828 |
| 2829 HInstruction* NewCallFunction(HValue* function, int argument_count, |
| 2830 ConvertReceiverMode convert_mode); |
| 2831 |
| 2832 HInstruction* NewCallFunctionViaIC(HValue* function, int argument_count, |
| 2833 ConvertReceiverMode convert_mode, |
| 2834 FeedbackVectorSlot slot); |
| 2835 |
2830 HInstruction* BuildCallConstantFunction(Handle<JSFunction> target, | 2836 HInstruction* BuildCallConstantFunction(Handle<JSFunction> target, |
2831 int argument_count); | 2837 int argument_count); |
2832 | 2838 |
2833 bool CanBeFunctionApplyArguments(Call* expr); | 2839 bool CanBeFunctionApplyArguments(Call* expr); |
2834 | 2840 |
2835 // The translation state of the currently-being-translated function. | 2841 // The translation state of the currently-being-translated function. |
2836 FunctionState* function_state_; | 2842 FunctionState* function_state_; |
2837 | 2843 |
2838 // The base of the function state stack. | 2844 // The base of the function state stack. |
2839 FunctionState initial_function_state_; | 2845 FunctionState initial_function_state_; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3025 | 3031 |
3026 private: | 3032 private: |
3027 HGraphBuilder* builder_; | 3033 HGraphBuilder* builder_; |
3028 }; | 3034 }; |
3029 | 3035 |
3030 | 3036 |
3031 } // namespace internal | 3037 } // namespace internal |
3032 } // namespace v8 | 3038 } // namespace v8 |
3033 | 3039 |
3034 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3040 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |