summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-intrinsic-lowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-intrinsic-lowering.h')
-rw-r--r--deps/v8/src/compiler/js-intrinsic-lowering.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/deps/v8/src/compiler/js-intrinsic-lowering.h b/deps/v8/src/compiler/js-intrinsic-lowering.h
index 7313264c08..844e051d0a 100644
--- a/deps/v8/src/compiler/js-intrinsic-lowering.h
+++ b/deps/v8/src/compiler/js-intrinsic-lowering.h
@@ -6,9 +6,9 @@
#define V8_COMPILER_JS_INTRINSIC_LOWERING_H_
#include "src/base/compiler-specific.h"
+#include "src/common/globals.h"
#include "src/compiler/common-operator.h"
#include "src/compiler/graph-reducer.h"
-#include "src/globals.h"
namespace v8 {
namespace internal {
@@ -39,6 +39,7 @@ class V8_EXPORT_PRIVATE JSIntrinsicLowering final
Reduction Reduce(Node* node) final;
private:
+ Reduction ReduceCopyDataProperties(Node* node);
Reduction ReduceCreateIterResultObject(Node* node);
Reduction ReduceDeoptimizeNow(Node* node);
Reduction ReduceCreateJSGeneratorObject(Node* node);
@@ -57,18 +58,26 @@ class V8_EXPORT_PRIVATE JSIntrinsicLowering final
Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type);
Reduction ReduceIsJSReceiver(Node* node);
Reduction ReduceIsSmi(Node* node);
+ Reduction ReduceTurbofanStaticAssert(Node* node);
Reduction ReduceToLength(Node* node);
Reduction ReduceToObject(Node* node);
Reduction ReduceToString(Node* node);
Reduction ReduceCall(Node* node);
+ Reduction ReduceIncBlockCounter(Node* node);
Reduction Change(Node* node, const Operator* op);
Reduction Change(Node* node, const Operator* op, Node* a, Node* b);
Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c);
Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c,
Node* d);
+
+ enum FrameStateFlag {
+ kNeedsFrameState,
+ kDoesNotNeedFrameState,
+ };
Reduction Change(Node* node, Callable const& callable,
- int stack_parameter_count);
+ int stack_parameter_count,
+ enum FrameStateFlag frame_state_flag = kNeedsFrameState);
Graph* graph() const;
JSGraph* jsgraph() const { return jsgraph_; }