summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-type-hint-lowering.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-type-hint-lowering.cc')
-rw-r--r--deps/v8/src/compiler/js-type-hint-lowering.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/js-type-hint-lowering.cc b/deps/v8/src/compiler/js-type-hint-lowering.cc
index d97e1dcbc7..fc7fab4b54 100644
--- a/deps/v8/src/compiler/js-type-hint-lowering.cc
+++ b/deps/v8/src/compiler/js-type-hint-lowering.cc
@@ -189,6 +189,7 @@ class JSSpeculativeBinopBuilder final {
}
JSGraph* jsgraph() const { return lowering_->jsgraph(); }
+ Isolate* isolate() const { return jsgraph()->isolate(); }
Graph* graph() const { return jsgraph()->graph(); }
JSOperatorBuilder* javascript() { return jsgraph()->javascript(); }
SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
@@ -212,6 +213,8 @@ JSTypeHintLowering::JSTypeHintLowering(JSGraph* jsgraph,
Flags flags)
: jsgraph_(jsgraph), flags_(flags), feedback_vector_(feedback_vector) {}
+Isolate* JSTypeHintLowering::isolate() const { return jsgraph()->isolate(); }
+
JSTypeHintLowering::LoweringResult JSTypeHintLowering::ReduceUnaryOperation(
const Operator* op, Node* operand, Node* effect, Node* control,
FeedbackSlot slot) const {