| Index: src/interpreter/bytecode-generator.cc
|
| diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
|
| index 84cd94393e1396888b561e011158672c9c45d0f0..ae56f8ad040ebf67410eddd9e2e81796764349f9 100644
|
| --- a/src/interpreter/bytecode-generator.cc
|
| +++ b/src/interpreter/bytecode-generator.cc
|
| @@ -651,14 +651,6 @@ void BytecodeGenerator::AllocateDeferredConstants(Isolate* isolate) {
|
| array_literal->GetOrBuildConstantElements(isolate);
|
| builder()->InsertConstantPoolEntryAt(literal.second, constant_elements);
|
| }
|
| -
|
| - // TODO(leszeks): ideally there would be no path to here where feedback
|
| - // metadata is previously created, and we could create it unconditionally.
|
| - // We should investigate again once FCG has shuffled off its mortal coil.
|
| - DCHECK(info()->has_shared_info());
|
| - TypeFeedbackMetadata::EnsureAllocated(
|
| - info()->isolate(), info()->shared_info(),
|
| - info()->literal()->feedback_vector_spec());
|
| }
|
|
|
| void BytecodeGenerator::GenerateBytecode(uintptr_t stack_limit) {
|
|
|