diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2018-05-31 11:11:57 +0200 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-06-01 09:58:27 +0200 |
commit | 352a525eb984b8fa2d6f0f6fd68395e6a080bba4 (patch) | |
tree | a105ae93f8fd8f533cce19a429f1b6e95d6e11ca /deps/v8/src/compiler/node-matchers.h | |
parent | faf449ca0490f5371dc6cbbc94a87eb697b00fcc (diff) | |
download | node-new-352a525eb984b8fa2d6f0f6fd68395e6a080bba4.tar.gz |
deps: update V8 to 6.7.288.43
PR-URL: https://github.com/nodejs/node/pull/19989
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/compiler/node-matchers.h')
-rw-r--r-- | deps/v8/src/compiler/node-matchers.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/deps/v8/src/compiler/node-matchers.h b/deps/v8/src/compiler/node-matchers.h index d1eecfe9fd..c31f9691f2 100644 --- a/deps/v8/src/compiler/node-matchers.h +++ b/deps/v8/src/compiler/node-matchers.h @@ -54,7 +54,7 @@ struct ValueMatcher : public NodeMatcher { explicit ValueMatcher(Node* node) : NodeMatcher(node), value_(), has_value_(opcode() == kOpcode) { if (has_value_) { - value_ = OpParameter<T>(node); + value_ = OpParameter<T>(node->op()); } } @@ -77,7 +77,7 @@ inline ValueMatcher<uint32_t, IrOpcode::kInt32Constant>::ValueMatcher( value_(), has_value_(opcode() == IrOpcode::kInt32Constant) { if (has_value_) { - value_ = static_cast<uint32_t>(OpParameter<int32_t>(node)); + value_ = static_cast<uint32_t>(OpParameter<int32_t>(node->op())); } } @@ -86,10 +86,10 @@ template <> inline ValueMatcher<int64_t, IrOpcode::kInt64Constant>::ValueMatcher(Node* node) : NodeMatcher(node), value_(), has_value_(false) { if (opcode() == IrOpcode::kInt32Constant) { - value_ = OpParameter<int32_t>(node); + value_ = OpParameter<int32_t>(node->op()); has_value_ = true; } else if (opcode() == IrOpcode::kInt64Constant) { - value_ = OpParameter<int64_t>(node); + value_ = OpParameter<int64_t>(node->op()); has_value_ = true; } } @@ -100,10 +100,10 @@ inline ValueMatcher<uint64_t, IrOpcode::kInt64Constant>::ValueMatcher( Node* node) : NodeMatcher(node), value_(), has_value_(false) { if (opcode() == IrOpcode::kInt32Constant) { - value_ = static_cast<uint32_t>(OpParameter<int32_t>(node)); + value_ = static_cast<uint32_t>(OpParameter<int32_t>(node->op())); has_value_ = true; } else if (opcode() == IrOpcode::kInt64Constant) { - value_ = static_cast<uint64_t>(OpParameter<int64_t>(node)); + value_ = static_cast<uint64_t>(OpParameter<int64_t>(node->op())); has_value_ = true; } } @@ -629,11 +629,11 @@ struct BaseWithIndexAndDisplacementMatcher { if (displacement != nullptr) { switch (displacement->opcode()) { case IrOpcode::kInt32Constant: { - value = OpParameter<int32_t>(displacement); + value = OpParameter<int32_t>(displacement->op()); break; } case IrOpcode::kInt64Constant: { - value = OpParameter<int64_t>(displacement); + value = OpParameter<int64_t>(displacement->op()); break; } default: |