Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 1780043004: [crankshaft] Fixing ES6 tail call elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ignition crash is not related to TCE, issue number updated Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2817 matching lines...) Expand 10 before | Expand all | Expand 10 after
2828 2828
2829 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, 2829 void BuildEmitFixedArray(Handle<FixedArrayBase> elements,
2830 ElementsKind kind, 2830 ElementsKind kind,
2831 HValue* object_elements, 2831 HValue* object_elements,
2832 AllocationSiteUsageContext* site_context); 2832 AllocationSiteUsageContext* site_context);
2833 2833
2834 void AddCheckPrototypeMaps(Handle<JSObject> holder, 2834 void AddCheckPrototypeMaps(Handle<JSObject> holder,
2835 Handle<Map> receiver_map); 2835 Handle<Map> receiver_map);
2836 2836
2837 HInstruction* NewCallFunction(HValue* function, int argument_count, 2837 HInstruction* NewCallFunction(HValue* function, int argument_count,
2838 TailCallMode syntactic_tail_call_mode,
2838 ConvertReceiverMode convert_mode, 2839 ConvertReceiverMode convert_mode,
2839 TailCallMode tail_call_mode); 2840 TailCallMode tail_call_mode);
2840 2841
2841 HInstruction* NewCallFunctionViaIC(HValue* function, int argument_count, 2842 HInstruction* NewCallFunctionViaIC(HValue* function, int argument_count,
2843 TailCallMode syntactic_tail_call_mode,
2842 ConvertReceiverMode convert_mode, 2844 ConvertReceiverMode convert_mode,
2843 TailCallMode tail_call_mode, 2845 TailCallMode tail_call_mode,
2844 FeedbackVectorSlot slot); 2846 FeedbackVectorSlot slot);
2845 2847
2846 HInstruction* NewCallConstantFunction(Handle<JSFunction> target, 2848 HInstruction* NewCallConstantFunction(Handle<JSFunction> target,
2847 int argument_count, 2849 int argument_count,
2850 TailCallMode syntactic_tail_call_mode,
2848 TailCallMode tail_call_mode); 2851 TailCallMode tail_call_mode);
2849 2852
2850 bool CanBeFunctionApplyArguments(Call* expr); 2853 bool CanBeFunctionApplyArguments(Call* expr);
2851 2854
2852 // The translation state of the currently-being-translated function. 2855 // The translation state of the currently-being-translated function.
2853 FunctionState* function_state_; 2856 FunctionState* function_state_;
2854 2857
2855 // The base of the function state stack. 2858 // The base of the function state stack.
2856 FunctionState initial_function_state_; 2859 FunctionState initial_function_state_;
2857 2860
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
3055 } 3058 }
3056 3059
3057 private: 3060 private:
3058 HOptimizedGraphBuilder* builder_; 3061 HOptimizedGraphBuilder* builder_;
3059 }; 3062 };
3060 3063
3061 } // namespace internal 3064 } // namespace internal
3062 } // namespace v8 3065 } // namespace v8
3063 3066
3064 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3067 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698