Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 1d91b8f07697b243acaa02848291ced456fc5bb4..9512e0e5cfb3d1f0815a2fa2259c28e31ae5d1dd 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2215,44 +2215,6 @@ void FullCodeGenerator::EmitKeyedPropertyAssignment(Assignment* expr) { |
} |
-void FullCodeGenerator::VisitProperty(Property* expr) { |
- Comment cmnt(masm_, "[ Property"); |
- SetExpressionPosition(expr); |
- |
- Expression* key = expr->key(); |
- |
- if (key->IsPropertyName()) { |
- if (!expr->IsSuperAccess()) { |
- VisitForAccumulatorValue(expr->obj()); |
- DCHECK(!rax.is(LoadDescriptor::ReceiverRegister())); |
- __ movp(LoadDescriptor::ReceiverRegister(), rax); |
- EmitNamedPropertyLoad(expr); |
- } else { |
- VisitForStackValue(expr->obj()->AsSuperPropertyReference()->this_var()); |
- VisitForStackValue( |
- expr->obj()->AsSuperPropertyReference()->home_object()); |
- EmitNamedSuperPropertyLoad(expr); |
- } |
- } else { |
- if (!expr->IsSuperAccess()) { |
- VisitForStackValue(expr->obj()); |
- VisitForAccumulatorValue(expr->key()); |
- __ Move(LoadDescriptor::NameRegister(), rax); |
- PopOperand(LoadDescriptor::ReceiverRegister()); |
- EmitKeyedPropertyLoad(expr); |
- } else { |
- VisitForStackValue(expr->obj()->AsSuperPropertyReference()->this_var()); |
- VisitForStackValue( |
- expr->obj()->AsSuperPropertyReference()->home_object()); |
- VisitForStackValue(expr->key()); |
- EmitKeyedSuperPropertyLoad(expr); |
- } |
- } |
- PrepareForBailoutForId(expr->LoadId(), TOS_REG); |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::CallIC(Handle<Code> code, |
TypeFeedbackId ast_id) { |
ic_total_count_++; |