Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 3006b08ad13ed12a0cba8cd32ea93669f6620f07..656bd8b78652f4f721617004bbcd9673afb9e176 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -2338,9 +2338,7 @@ void BytecodeGenerator::VisitYield(Yield* expr) { |
} |
builder()->Bind(&resume_with_throw); |
- builder() |
- ->LoadAccumulatorWithRegister(input) |
- .Throw(); |
+ builder()->LoadAccumulatorWithRegister(input).Throw(); |
builder()->Bind(&resume_with_next); |
builder()->LoadAccumulatorWithRegister(input); |
@@ -3279,7 +3277,7 @@ LanguageMode BytecodeGenerator::language_mode() const { |
int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { |
- return info()->shared_info()->feedback_vector()->GetIndex(slot); |
+ return TypeFeedbackVector::GetIndex(slot); |
} |
} // namespace interpreter |