aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-typed-lowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-typed-lowering.h')
-rw-r--r--deps/v8/src/compiler/js-typed-lowering.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/deps/v8/src/compiler/js-typed-lowering.h b/deps/v8/src/compiler/js-typed-lowering.h
index e25e092453..d8164ac97d 100644
--- a/deps/v8/src/compiler/js-typed-lowering.h
+++ b/deps/v8/src/compiler/js-typed-lowering.h
@@ -31,8 +31,8 @@ enum Signedness { kSigned, kUnsigned };
class V8_EXPORT_PRIVATE JSTypedLowering final
: public NON_EXPORTED_BASE(AdvancedReducer) {
public:
- JSTypedLowering(Editor* editor, JSGraph* jsgraph,
- JSHeapBroker* js_heap_broker, Zone* zone);
+ JSTypedLowering(Editor* editor, JSGraph* jsgraph, JSHeapBroker* broker,
+ Zone* zone);
~JSTypedLowering() final = default;
const char* reducer_name() const override { return "JSTypedLowering"; }
@@ -81,12 +81,9 @@ class V8_EXPORT_PRIVATE JSTypedLowering final
Reduction ReduceNumberBinop(Node* node);
Reduction ReduceInt32Binop(Node* node);
Reduction ReduceUI32Shift(Node* node, Signedness signedness);
- Reduction ReduceSpeculativeNumberAdd(Node* node);
- Reduction ReduceSpeculativeNumberMultiply(Node* node);
- Reduction ReduceSpeculativeNumberBinop(Node* node);
- Reduction ReduceSpeculativeNumberComparison(Node* node);
Reduction ReduceObjectIsArray(Node* node);
Reduction ReduceJSParseInt(Node* node);
+ Reduction ReduceJSResolvePromise(Node* node);
// Helper for ReduceJSLoadModule and ReduceJSStoreModule.
Node* BuildGetModuleCell(Node* node);
@@ -94,17 +91,17 @@ class V8_EXPORT_PRIVATE JSTypedLowering final
Factory* factory() const;
Graph* graph() const;
JSGraph* jsgraph() const { return jsgraph_; }
- JSHeapBroker* js_heap_broker() const { return js_heap_broker_; }
+ JSHeapBroker* broker() const { return broker_; }
Isolate* isolate() const;
JSOperatorBuilder* javascript() const;
CommonOperatorBuilder* common() const;
SimplifiedOperatorBuilder* simplified() const;
JSGraph* jsgraph_;
- JSHeapBroker* js_heap_broker_;
+ JSHeapBroker* broker_;
Type empty_string_type_;
Type pointer_comparable_type_;
- TypeCache const& type_cache_;
+ TypeCache const* type_cache_;
};
} // namespace compiler