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-type-bounds.h" | 10 #include "src/ast/ast-type-bounds.h" |
(...skipping 2782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2793 TailCallMode tail_call_mode, | 2793 TailCallMode tail_call_mode, |
2794 FeedbackVectorSlot slot); | 2794 FeedbackVectorSlot slot); |
2795 | 2795 |
2796 HInstruction* NewCallConstantFunction(Handle<JSFunction> target, | 2796 HInstruction* NewCallConstantFunction(Handle<JSFunction> target, |
2797 int argument_count, | 2797 int argument_count, |
2798 TailCallMode syntactic_tail_call_mode, | 2798 TailCallMode syntactic_tail_call_mode, |
2799 TailCallMode tail_call_mode); | 2799 TailCallMode tail_call_mode); |
2800 | 2800 |
2801 bool CanBeFunctionApplyArguments(Call* expr); | 2801 bool CanBeFunctionApplyArguments(Call* expr); |
2802 | 2802 |
| 2803 bool IsAnyParameterContextAllocated(); |
| 2804 |
2803 // The translation state of the currently-being-translated function. | 2805 // The translation state of the currently-being-translated function. |
2804 FunctionState* function_state_; | 2806 FunctionState* function_state_; |
2805 | 2807 |
2806 // The base of the function state stack. | 2808 // The base of the function state stack. |
2807 FunctionState initial_function_state_; | 2809 FunctionState initial_function_state_; |
2808 | 2810 |
2809 // Expression context of the currently visited subexpression. NULL when | 2811 // Expression context of the currently visited subexpression. NULL when |
2810 // visiting statements. | 2812 // visiting statements. |
2811 AstContext* ast_context_; | 2813 AstContext* ast_context_; |
2812 | 2814 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3008 } | 3010 } |
3009 | 3011 |
3010 private: | 3012 private: |
3011 HOptimizedGraphBuilder* builder_; | 3013 HOptimizedGraphBuilder* builder_; |
3012 }; | 3014 }; |
3013 | 3015 |
3014 } // namespace internal | 3016 } // namespace internal |
3015 } // namespace v8 | 3017 } // namespace v8 |
3016 | 3018 |
3017 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3019 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
OLD | NEW |