| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 26409d3696426906fd5dba410ab1b631e220cb76..37cb564864f6a15abffaa22450804b6caa13fedb 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -1527,11 +1527,8 @@ CompareOperationHint BytecodeGraphBuilder::GetCompareOperationHint() {
|
| }
|
|
|
| float BytecodeGraphBuilder::ComputeCallFrequency(int slot_id) const {
|
| - if (slot_id >= TypeFeedbackVector::kReservedIndexCount) {
|
| - CallICNexus nexus(feedback_vector(), feedback_vector()->ToSlot(slot_id));
|
| - return nexus.ComputeCallFrequency() * invocation_frequency_;
|
| - }
|
| - return 0.0f;
|
| + CallICNexus nexus(feedback_vector(), feedback_vector()->ToSlot(slot_id));
|
| + return nexus.ComputeCallFrequency() * invocation_frequency_;
|
| }
|
|
|
| void BytecodeGraphBuilder::VisitAdd() {
|
|
|