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