| Index: src/compiler/node-properties.cc
|
| diff --git a/src/compiler/node-properties.cc b/src/compiler/node-properties.cc
|
| index 659fb2a0f18d70737dd9cd9d0a3d060d6275b6d6..b8dc40567e85f1022c51170afde25706b28e3bf9 100644
|
| --- a/src/compiler/node-properties.cc
|
| +++ b/src/compiler/node-properties.cc
|
| @@ -7,6 +7,7 @@
|
| #include "src/compiler/node-properties.h"
|
| #include "src/compiler/operator-properties.h"
|
| #include "src/compiler/verifier.h"
|
| +#include "src/types-inl.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -276,6 +277,12 @@ void NodeProperties::CollectControlProjections(Node* node, Node** projections,
|
|
|
|
|
| // static
|
| +Type* NodeProperties::GetTypeOrAny(Node* node) {
|
| + return IsTyped(node) ? node->type() : Type::Any();
|
| +}
|
| +
|
| +
|
| +// static
|
| bool NodeProperties::AllValueInputsAreTyped(Node* node) {
|
| int input_count = node->op()->ValueInputCount();
|
| for (int index = 0; index < input_count; ++index) {
|
|
|