5#ifndef V8_COMPILER_JS_GENERIC_LOWERING_H_
6#define V8_COMPILER_JS_GENERIC_LOWERING_H_
17class CommonOperatorBuilder;
19class MachineOperatorBuilder;
29 const
char*
reducer_name()
const override {
return "JSGenericLowering"; }
34#define DECLARE_LOWER(x, ...) void Lower##x(Node* node);
49 Builtin builtin_without_feedback,
52 Builtin builtin_without_feedback,
base::Flags< Flag > Flags
void ReplaceBinaryOpWithBuiltinCall(Node *node, Builtin builtin_without_feedback, Builtin builtin_with_feedback)
JSHeapBroker *const broker_
Isolate * isolate() const
JSGraph * jsgraph() const
Reduction Reduce(Node *node) final
void ReplaceWithRuntimeCall(Node *node, Runtime::FunctionId f, int args=-1)
void ReplaceWithBuiltinCall(Node *node, Builtin builtin)
CommonOperatorBuilder * common() const
MachineOperatorBuilder * machine() const
void ReplaceUnaryOpWithBuiltinCall(Node *node, Builtin builtin_without_feedback, Builtin builtin_with_feedback)
~JSGenericLowering() final
const char * reducer_name() const override
JSHeapBroker * broker() const
JSGenericLowering(JSGraph *jsgraph, Editor *editor, JSHeapBroker *broker)
base::Flags< Property, uint8_t > Properties
base::Vector< const DirectHandle< Object > > args
#define DECLARE_LOWER(x,...)