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 2819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2830 | 2830 |
2831 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, | 2831 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, |
2832 ElementsKind kind, | 2832 ElementsKind kind, |
2833 HValue* object_elements, | 2833 HValue* object_elements, |
2834 AllocationSiteUsageContext* site_context); | 2834 AllocationSiteUsageContext* site_context); |
2835 | 2835 |
2836 void AddCheckPrototypeMaps(Handle<JSObject> holder, | 2836 void AddCheckPrototypeMaps(Handle<JSObject> holder, |
2837 Handle<Map> receiver_map); | 2837 Handle<Map> receiver_map); |
2838 | 2838 |
2839 HInstruction* NewCallFunction(HValue* function, int argument_count, | 2839 HInstruction* NewCallFunction(HValue* function, int argument_count, |
2840 TailCallMode syntactic_tail_call_mode, | |
2841 ConvertReceiverMode convert_mode, | 2840 ConvertReceiverMode convert_mode, |
2842 TailCallMode tail_call_mode); | 2841 TailCallMode tail_call_mode); |
2843 | 2842 |
2844 HInstruction* NewCallFunctionViaIC(HValue* function, int argument_count, | 2843 HInstruction* NewCallFunctionViaIC(HValue* function, int argument_count, |
2845 TailCallMode syntactic_tail_call_mode, | |
2846 ConvertReceiverMode convert_mode, | 2844 ConvertReceiverMode convert_mode, |
2847 TailCallMode tail_call_mode, | 2845 TailCallMode tail_call_mode, |
2848 FeedbackVectorSlot slot); | 2846 FeedbackVectorSlot slot); |
2849 | 2847 |
2850 HInstruction* NewCallConstantFunction(Handle<JSFunction> target, | 2848 HInstruction* NewCallConstantFunction(Handle<JSFunction> target, |
2851 int argument_count, | 2849 int argument_count, |
2852 TailCallMode syntactic_tail_call_mode, | |
2853 TailCallMode tail_call_mode); | 2850 TailCallMode tail_call_mode); |
2854 | 2851 |
2855 bool CanBeFunctionApplyArguments(Call* expr); | 2852 bool CanBeFunctionApplyArguments(Call* expr); |
2856 | 2853 |
2857 // The translation state of the currently-being-translated function. | 2854 // The translation state of the currently-being-translated function. |
2858 FunctionState* function_state_; | 2855 FunctionState* function_state_; |
2859 | 2856 |
2860 // The base of the function state stack. | 2857 // The base of the function state stack. |
2861 FunctionState initial_function_state_; | 2858 FunctionState initial_function_state_; |
2862 | 2859 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3060 } | 3057 } |
3061 | 3058 |
3062 private: | 3059 private: |
3063 HOptimizedGraphBuilder* builder_; | 3060 HOptimizedGraphBuilder* builder_; |
3064 }; | 3061 }; |
3065 | 3062 |
3066 } // namespace internal | 3063 } // namespace internal |
3067 } // namespace v8 | 3064 } // namespace v8 |
3068 | 3065 |
3069 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3066 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |