Commit 31471c5d authored by Juliana Franco's avatar Juliana Franco Committed by Commit Bot

Remove BuildTranslation call in code-generator

It is not clear why we need this BuildTranslation. The intent of
this commit is to check if any tests fail.

Bug: 
Change-Id: Ibc8a0914a1483138cfb6234e0fdf87acc0681408
Reviewed-on: https://chromium-review.googlesource.com/567922Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Juliana Patricia Vicente Franco <jupvfranco@google.com>
Cr-Commit-Position: refs/heads/master@{#46657}
parent 0640cbf3
......@@ -656,16 +656,6 @@ void CodeGenerator::RecordCallPosition(Instruction* instr) {
DeoptimizationExit(deopt_state_id, current_source_position_);
deoptimization_exits_.push_back(exit);
// If the pre-call frame state differs from the post-call one, produce the
// pre-call frame state, too.
// TODO(jarin) We might want to avoid building the pre-call frame state
// because it is only used to get locals and arguments (by the debugger and
// f.arguments), and those are the same in the pre-call and post-call
// states.
if (!descriptor->state_combine().IsOutputIgnored()) {
deopt_state_id = BuildTranslation(instr, -1, frame_state_offset,
OutputFrameStateCombine::Ignore());
}
safepoints()->RecordLazyDeoptimizationIndex(deopt_state_id);
}
}
......
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