Commit 6e0796c2 authored by adamk's avatar adamk Committed by Commit bot

[fullcodegen] Remove unused EmitPropertyKey method

R=bmeurer@chromium.org
BUG=v8:5657

Review-Url: https://codereview.chromium.org/2609863006
Cr-Commit-Position: refs/heads/master@{#42096}
parent 58afa27b
......@@ -1060,14 +1060,6 @@ void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) {
RestoreContext();
}
void FullCodeGenerator::EmitPropertyKey(LiteralProperty* property,
BailoutId bailout_id) {
VisitForStackValue(property->key());
CallRuntimeWithOperands(Runtime::kToName);
PrepareForBailoutForId(bailout_id, BailoutState::TOS_REGISTER);
PushOperand(result_register());
}
void FullCodeGenerator::EmitLoadSlot(Register destination,
FeedbackVectorSlot slot) {
DCHECK(!slot.IsInvalid());
......
......@@ -456,9 +456,6 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> {
// The receiver and the key is left on the stack by the IC.
void EmitKeyedPropertyLoad(Property* expr);
// Pushes the property key as a Name on the stack.
void EmitPropertyKey(LiteralProperty* property, BailoutId bailout_id);
// Apply the compound assignment operator. Expects the left operand on top
// of the stack and the right one in the accumulator.
void EmitBinaryOp(BinaryOperation* expr, Token::Value op);
......
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