diff options
Diffstat (limited to 'deps/v8/src/compiler/js-intrinsic-lowering.h')
-rw-r--r-- | deps/v8/src/compiler/js-intrinsic-lowering.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/js-intrinsic-lowering.h b/deps/v8/src/compiler/js-intrinsic-lowering.h index 35fb66147b..a0e773ddb2 100644 --- a/deps/v8/src/compiler/js-intrinsic-lowering.h +++ b/deps/v8/src/compiler/js-intrinsic-lowering.h @@ -5,6 +5,7 @@ #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_ #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ +#include "src/compiler/common-operator.h" #include "src/compiler/graph-reducer.h" #include "src/compiler/simplified-operator.h" @@ -19,12 +20,12 @@ class MachineOperatorBuilder; // Lowers certain JS-level runtime calls. -class JSIntrinsicLowering FINAL : public Reducer { +class JSIntrinsicLowering final : public Reducer { public: explicit JSIntrinsicLowering(JSGraph* jsgraph); - ~JSIntrinsicLowering() FINAL {} + ~JSIntrinsicLowering() final {} - Reduction Reduce(Node* node) FINAL; + Reduction Reduce(Node* node) final; private: Reduction ReduceConstructDouble(Node* node); @@ -44,6 +45,7 @@ class JSIntrinsicLowering FINAL : public Reducer { Reduction ReduceSeqStringGetChar(Node* node, String::Encoding encoding); Reduction ReduceSeqStringSetChar(Node* node, String::Encoding encoding); Reduction ReduceStringGetLength(Node* node); + Reduction ReduceUnLikely(Node* node, BranchHint hint); Reduction ReduceValueOf(Node* node); Reduction Change(Node* node, const Operator* op); |