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