File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 36
36
37
37
# Reset this number to 0 on major V8 upgrades.
38
38
# Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string' : '-node.10 ' ,
39
+ 'v8_embedder_string' : '-node.11 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class V8_EXPORT_PRIVATE Node final {
50
50
51
51
const Operator* op () const { return op_; }
52
52
53
- IrOpcode::Value opcode () const {
53
+ constexpr IrOpcode::Value opcode () const {
54
54
DCHECK_GE (IrOpcode::kLast , op_->opcode ());
55
55
return static_cast <IrOpcode::Value>(op_->opcode ());
56
56
}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class V8_EXPORT_PRIVATE Operator : public NON_EXPORTED_BASE(ZoneObject) {
73
73
// A small integer unique to all instances of a particular kind of operator,
74
74
// useful for quick matching for specific kinds of operators. For fast access
75
75
// the opcode is stored directly in the operator object.
76
- Opcode opcode () const { return opcode_; }
76
+ constexpr Opcode opcode () const { return opcode_; }
77
77
78
78
// Returns a constant string representing the mnemonic of the operator,
79
79
// without the static parameters. Useful for debugging.
You can’t perform that action at this time.
0 commit comments