Commit 17500017 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Don't serialize for CallNoFeedback bytecode

We don't normally generate code for that.

R=jarin@chromium.org

Bug: v8:7790
Change-Id: Icd8b61e894b721ac44fd1d79d2460def9c8c5af3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1535824
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60457}
parent fe98ad93
......@@ -453,11 +453,6 @@ void SerializerForBackgroundCompilation::VisitCallAnyReceiver(
ProcessCallVarArgs(iterator, ConvertReceiverMode::kAny);
}
void SerializerForBackgroundCompilation::VisitCallNoFeedback(
BytecodeArrayIterator* iterator) {
ProcessCallVarArgs(iterator, ConvertReceiverMode::kNullOrUndefined);
}
void SerializerForBackgroundCompilation::VisitCallProperty(
BytecodeArrayIterator* iterator) {
ProcessCallVarArgs(iterator, ConvertReceiverMode::kNullOrUndefined);
......@@ -601,10 +596,7 @@ void SerializerForBackgroundCompilation::ProcessCallVarArgs(
environment()->register_hints(iterator->GetRegisterOperand(0));
interpreter::Register first_reg = iterator->GetRegisterOperand(1);
int reg_count = static_cast<int>(iterator->GetRegisterCountOperand(2));
FeedbackSlot slot;
if (iterator->current_bytecode() != interpreter::Bytecode::kCallNoFeedback) {
slot = iterator->GetSlotOperand(3);
}
FeedbackSlot slot = iterator->GetSlotOperand(3);
HintsVector arguments(zone());
// The receiver is either given in the first register or it is implicitly
......
......@@ -84,6 +84,7 @@ namespace compiler {
V(JumpIfUndefinedConstant)
#define INGORED_BYTECODE_LIST(V) \
V(CallNoFeedback) \
V(LdaNamedPropertyNoFeedback) \
V(StaNamedPropertyNoFeedback) \
V(TestEqual) \
......@@ -104,7 +105,6 @@ namespace compiler {
#define SUPPORTED_BYTECODE_LIST(V) \
V(CallAnyReceiver) \
V(CallNoFeedback) \
V(CallProperty) \
V(CallProperty0) \
V(CallProperty1) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment