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

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

Issue 1731303002: [crankshaft] Remove useless HCallFunction instruction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/crankshaft/arm64/lithium-codegen-arm64.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2803 matching lines...) Expand 10 before | Expand all | Expand 10 after
2814 HValue* object_elements); 2814 HValue* object_elements);
2815 2815
2816 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, 2816 void BuildEmitFixedArray(Handle<FixedArrayBase> elements,
2817 ElementsKind kind, 2817 ElementsKind kind,
2818 HValue* object_elements, 2818 HValue* object_elements,
2819 AllocationSiteUsageContext* site_context); 2819 AllocationSiteUsageContext* site_context);
2820 2820
2821 void AddCheckPrototypeMaps(Handle<JSObject> holder, 2821 void AddCheckPrototypeMaps(Handle<JSObject> holder,
2822 Handle<Map> receiver_map); 2822 Handle<Map> receiver_map);
2823 2823
2824 HInstruction* NewPlainFunctionCall(HValue* fun, int argument_count); 2824 HInstruction* NewPlainFunctionCall(HValue* function, int argument_count);
2825 2825
2826 HInstruction* NewArgumentAdaptorCall(HValue* fun, HValue* context, 2826 HInstruction* NewArgumentAdaptorCall(HValue* function, int argument_count,
2827 int argument_count,
2828 HValue* expected_param_count); 2827 HValue* expected_param_count);
2829 2828
2829 HInstruction* NewCallFunction(HValue* function, int argument_count,
2830 ConvertReceiverMode convert_mode);
2831
2832 HInstruction* NewCallFunctionViaIC(HValue* function, int argument_count,
2833 ConvertReceiverMode convert_mode,
2834 FeedbackVectorSlot slot);
2835
2830 HInstruction* BuildCallConstantFunction(Handle<JSFunction> target, 2836 HInstruction* BuildCallConstantFunction(Handle<JSFunction> target,
2831 int argument_count); 2837 int argument_count);
2832 2838
2833 bool CanBeFunctionApplyArguments(Call* expr); 2839 bool CanBeFunctionApplyArguments(Call* expr);
2834 2840
2835 // The translation state of the currently-being-translated function. 2841 // The translation state of the currently-being-translated function.
2836 FunctionState* function_state_; 2842 FunctionState* function_state_;
2837 2843
2838 // The base of the function state stack. 2844 // The base of the function state stack.
2839 FunctionState initial_function_state_; 2845 FunctionState initial_function_state_;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
3025 3031
3026 private: 3032 private:
3027 HGraphBuilder* builder_; 3033 HGraphBuilder* builder_;
3028 }; 3034 };
3029 3035
3030 3036
3031 } // namespace internal 3037 } // namespace internal
3032 } // namespace v8 3038 } // namespace v8
3033 3039
3034 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3040 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/crankshaft/arm64/lithium-codegen-arm64.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698