| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 609ad80c42da4cd6b7aad97379f566f4be0fd64e..15677a447ee772e548f17eeea76f77a2492a5bde 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -10,6 +10,7 @@
|
| #include "src/compiler/compiler-source-position-table.h"
|
| #include "src/compiler/linkage.h"
|
| #include "src/compiler/operator-properties.h"
|
| +#include "src/compiler/simplified-operator.h"
|
| #include "src/interpreter/bytecodes.h"
|
| #include "src/objects-inl.h"
|
|
|
| @@ -1636,6 +1637,13 @@ void BytecodeGraphBuilder::VisitTestInstanceOf() {
|
| BuildCompareOp(javascript()->InstanceOf());
|
| }
|
|
|
| +void BytecodeGraphBuilder::VisitTestUndetectable() {
|
| + Node* object =
|
| + environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
|
| + Node* node = NewNode(jsgraph()->simplified()->ObjectIsUndetectable(), object);
|
| + environment()->BindAccumulator(node);
|
| +}
|
| +
|
| void BytecodeGraphBuilder::BuildCastOperator(const Operator* js_op) {
|
| PrepareEagerCheckpoint();
|
| Node* value = NewNode(js_op, environment()->LookupAccumulator());
|
|
|