| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index aaeee666aa69d35f91801872fe03693533967141..3d487a7efd1162f87e0e895f412a1f6ba060f74e 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -802,6 +802,22 @@ void BytecodeGraphBuilder::VisitStaDataPropertyInLiteral() {
|
| environment()->RecordAfterState(node, Environment::kAttachFrameState);
|
| }
|
|
|
| +void BytecodeGraphBuilder::VisitCollectTypeProfile() {
|
| + PrepareEagerCheckpoint();
|
| +
|
| + Node* name =
|
| + environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
|
| + Node* value =
|
| + environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
|
| + VectorSlotPair feedback =
|
| + CreateVectorSlotPair(bytecode_iterator().GetIndexOperand(2));
|
| +
|
| + const Operator* op = javascript()->CollectTypeProfile(feedback);
|
| +
|
| + Node* node = NewNode(op, name, value);
|
| + environment()->RecordAfterState(node, Environment::kAttachFrameState);
|
| +}
|
| +
|
| void BytecodeGraphBuilder::VisitLdaContextSlot() {
|
| const Operator* op = javascript()->LoadContext(
|
| bytecode_iterator().GetUnsignedImmediateOperand(2),
|
|
|