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) { ...@@ -1060,14 +1060,6 @@ void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) {
RestoreContext(); 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, void FullCodeGenerator::EmitLoadSlot(Register destination,
FeedbackVectorSlot slot) { FeedbackVectorSlot slot) {
DCHECK(!slot.IsInvalid()); DCHECK(!slot.IsInvalid());
......
...@@ -456,9 +456,6 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> { ...@@ -456,9 +456,6 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> {
// The receiver and the key is left on the stack by the IC. // The receiver and the key is left on the stack by the IC.
void EmitKeyedPropertyLoad(Property* expr); 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 // Apply the compound assignment operator. Expects the left operand on top
// of the stack and the right one in the accumulator. // of the stack and the right one in the accumulator.
void EmitBinaryOp(BinaryOperation* expr, Token::Value op); 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