Commit 25a75338 authored by Marja Hölttä's avatar Marja Hölttä Committed by Commit Bot

[csa|interpreter] Remove unnecessary SMI tagging.

Bug: 
Change-Id: Ic872ea78511f0ef3e8cea67b971162b71790a039
Reviewed-on: https://chromium-review.googlesource.com/781690Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49564}
parent 97becc1b
...@@ -7978,7 +7978,7 @@ Node* CodeStubAssembler::CreateWeakCellInFeedbackVector(Node* feedback_vector, ...@@ -7978,7 +7978,7 @@ Node* CodeStubAssembler::CreateWeakCellInFeedbackVector(Node* feedback_vector,
// Store the WeakCell in the feedback vector. // Store the WeakCell in the feedback vector.
StoreFeedbackVectorSlot(feedback_vector, slot, cell, UPDATE_WRITE_BARRIER, 0, StoreFeedbackVectorSlot(feedback_vector, slot, cell, UPDATE_WRITE_BARRIER, 0,
CodeStubAssembler::SMI_PARAMETERS); CodeStubAssembler::INTPTR_PARAMETERS);
return cell; return cell;
} }
......
...@@ -668,7 +668,7 @@ void InterpreterAssembler::CollectCallableFeedback(Node* target, Node* context, ...@@ -668,7 +668,7 @@ void InterpreterAssembler::CollectCallableFeedback(Node* target, Node* context,
} }
} }
BIND(&done_loop); BIND(&done_loop);
CreateWeakCellInFeedbackVector(feedback_vector, SmiTag(slot_id), target); CreateWeakCellInFeedbackVector(feedback_vector, slot_id, target);
ReportFeedbackUpdate(feedback_vector, slot_id, "Call:Initialize"); ReportFeedbackUpdate(feedback_vector, slot_id, "Call:Initialize");
Goto(&done); Goto(&done);
} }
...@@ -875,8 +875,7 @@ Node* InterpreterAssembler::Construct(Node* target, Node* context, ...@@ -875,8 +875,7 @@ Node* InterpreterAssembler::Construct(Node* target, Node* context,
BIND(&create_weak_cell); BIND(&create_weak_cell);
{ {
CreateWeakCellInFeedbackVector(feedback_vector, SmiTag(slot_id), CreateWeakCellInFeedbackVector(feedback_vector, slot_id, new_target);
new_target);
ReportFeedbackUpdate(feedback_vector, slot_id, ReportFeedbackUpdate(feedback_vector, slot_id,
"Construct:CreateWeakCell"); "Construct:CreateWeakCell");
Goto(&construct); Goto(&construct);
...@@ -994,8 +993,7 @@ Node* InterpreterAssembler::ConstructWithSpread(Node* target, Node* context, ...@@ -994,8 +993,7 @@ Node* InterpreterAssembler::ConstructWithSpread(Node* target, Node* context,
GotoIfNot(WordEqual(LoadNativeContext(context), target_native_context), GotoIfNot(WordEqual(LoadNativeContext(context), target_native_context),
&mark_megamorphic); &mark_megamorphic);
CreateWeakCellInFeedbackVector(feedback_vector, SmiTag(slot_id), CreateWeakCellInFeedbackVector(feedback_vector, slot_id, new_target);
new_target);
ReportFeedbackUpdate(feedback_vector, slot_id, ReportFeedbackUpdate(feedback_vector, slot_id,
"ConstructWithSpread:Initialize"); "ConstructWithSpread:Initialize");
Goto(&construct); Goto(&construct);
......
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