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