Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 631d059b518e2d5accda460bbe2a5d35e220b64a..a2e8935bed539f8ac18c99875964b00e6bea3197 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1007,6 +1007,18 @@ void FullCodeGenerator::EmitUnwindAndReturn() { |
EmitReturnSequence(); |
} |
+void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) { |
+ SetExpressionPosition(prop); |
+ Literal* key = prop->key()->AsLiteral(); |
+ DCHECK(!key->value()->IsSmi()); |
+ DCHECK(!prop->IsSuperAccess()); |
+ |
+ __ Move(LoadDescriptor::NameRegister(), key->value()); |
+ __ Move(LoadDescriptor::SlotRegister(), |
+ SmiFromSlot(prop->PropertyFeedbackSlot())); |
+ CallLoadIC(NOT_INSIDE_TYPEOF); |
+} |
+ |
void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) { |
// Stack: receiver, home_object |
SetExpressionPosition(prop); |